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
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected DefaultProbedPropertyUICreator.Type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract JComponent
getComponent
(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()
void
printValue
(com.jgoodies.binding.PresentationModel<Object> model)
-
Field Details
-
displayName
-
name
-
getterName
-
setterName
-
type
-
-
Constructor Details
-
DefaultProbedPropertyUICreator
-
-
Method Details
-
getComponent
Description copied from interface:ProbedPropertyUICreator
Gets the JComponent used to display or interact with this property.- Specified by:
getComponent
in interfaceProbedPropertyUICreator
- Parameters:
model
- the model to bind the property to a GUI widget if required.- Returns:
-
getName
-
getDisplayName
Description copied from interface:ProbedPropertyUICreator
Gets the display name to use a label the probe panel.- Specified by:
getDisplayName
in interfaceProbedPropertyUICreator
- Returns:
- the display name to use a label in the UI.
-
printValue
-