Package repast.simphony.ui.probe
Class NumericProbedProperty
java.lang.Object
repast.simphony.ui.probe.DefaultProbedPropertyUICreator
repast.simphony.ui.probe.NumericProbedProperty
- All Implemented Interfaces:
ProbedPropertyUICreator
ProbedProperty for numeric types.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Nested Class Summary
Nested classes/interfaces inherited from class repast.simphony.ui.probe.DefaultProbedPropertyUICreator
DefaultProbedPropertyUICreator.Type
-
Field Summary
Fields inherited from class repast.simphony.ui.probe.DefaultProbedPropertyUICreator
displayName, getterName, name, setterName, type
-
Constructor Summary
ConstructorDescriptionNumericProbedProperty
(PropertyDescriptor desc, boolean wrap) NumericProbedProperty
(PropertyDescriptor desc, List possibleValues, boolean wrap) -
Method Summary
Modifier and TypeMethodDescriptiongetComponent
(com.jgoodies.binding.PresentationModel<Object> model) Gets the JComponent used to display or interact with this property.wrapWithSparkLineButton
(com.jgoodies.binding.value.AbstractValueModel model, JComponent textComponent) Methods inherited from class repast.simphony.ui.probe.DefaultProbedPropertyUICreator
getDisplayName, getName, printValue
-
Constructor Details
-
NumericProbedProperty
-
NumericProbedProperty
-
-
Method Details
-
getComponent
Description copied from interface:ProbedPropertyUICreator
Gets the JComponent used to display or interact with this property.- Specified by:
getComponent
in interfaceProbedPropertyUICreator
- Specified by:
getComponent
in classDefaultProbedPropertyUICreator
- Parameters:
model
- the model to bind the property to a GUI widget if required.- Returns:
-
wrapWithSparkLineButton
public JComponent wrapWithSparkLineButton(com.jgoodies.binding.value.AbstractValueModel model, JComponent textComponent)
-