Package repast.simphony.ui.probe
Class DefaultProbedPropertyUICreator
java.lang.Object
repast.simphony.ui.probe.DefaultProbedPropertyUICreator
- All Implemented Interfaces:
ProbedPropertyUICreator
- Direct Known Subclasses:
BooleanProbedProperty,NumericProbedProperty,StringProbedProperty
public abstract class DefaultProbedPropertyUICreator
extends Object
implements ProbedPropertyUICreator
Represents a property of a probed object whether is read / read only etc.
Also produces a JComponent to display and edit the property.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected DefaultProbedPropertyUICreator.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract JComponentgetComponent(com.jgoodies.binding.PresentationModel<Object> model) Gets the JComponent used to display or interact with this property.Gets the display name to use a label the probe panel.getName()voidprintValue(com.jgoodies.binding.PresentationModel<Object> model)
-
Field Details
-
displayName
-
name
-
getterName
-
setterName
-
type
-
-
Constructor Details
-
DefaultProbedPropertyUICreator
-
-
Method Details
-
getComponent
Description copied from interface:ProbedPropertyUICreatorGets the JComponent used to display or interact with this property.- Specified by:
getComponentin interfaceProbedPropertyUICreator- Parameters:
model- the model to bind the property to a GUI widget if required.- Returns:
-
getName
-
getDisplayName
Description copied from interface:ProbedPropertyUICreatorGets the display name to use a label the probe panel.- Specified by:
getDisplayNamein interfaceProbedPropertyUICreator- Returns:
- the display name to use a label in the UI.
-
printValue
-