Package repast.simphony.ui.probe
Class NumericProbedProperty
- java.lang.Object
-
- repast.simphony.ui.probe.DefaultProbedPropertyUICreator
-
- repast.simphony.ui.probe.NumericProbedProperty
-
- All Implemented Interfaces:
ProbedPropertyUICreator
public class NumericProbedProperty extends DefaultProbedPropertyUICreator
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
Constructors Constructor Description NumericProbedProperty(PropertyDescriptor desc, boolean wrap)
NumericProbedProperty(PropertyDescriptor desc, List possibleValues, boolean wrap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponent
getComponent(com.jgoodies.binding.PresentationModel<Object> model)
Gets the JComponent used to display or interact with this property.JComponent
wrapWithSparkLineButton(com.jgoodies.binding.value.AbstractValueModel model, JComponent textComponent)
-
Methods inherited from class repast.simphony.ui.probe.DefaultProbedPropertyUICreator
getDisplayName, getName, printValue
-
-
-
-
Constructor Detail
-
NumericProbedProperty
public NumericProbedProperty(PropertyDescriptor desc, boolean wrap)
-
NumericProbedProperty
public NumericProbedProperty(PropertyDescriptor desc, List possibleValues, boolean wrap)
-
-
Method Detail
-
getComponent
public JComponent getComponent(com.jgoodies.binding.PresentationModel<Object> model)
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)
-
-