Package repast.simphony.ui.parameters
Class AbstractParameterBinder
java.lang.Object
repast.simphony.ui.parameters.AbstractParameterBinder
- All Implemented Interfaces:
ParameterBinder
- Direct Known Subclasses:
BooleanParameterBinder,DefaultParameterBinder,FPRangeParameterBinder,ListParameterBinder,RangeParameterBinder,ReadOnlyParameterBinder
Abstract implementation of a ParameterBinder, implementing display name and
name.
- Author:
- Nick Collier
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the order of the created component in the display.getLabel()Gets the label for the component created by this CompCreator.getName()Gets the name of the parameter for which this is the binder.voidsetDisplayOrder(double val) Sets the order of the created component in the display.protected StringtoXML(Parameters params, String defaultValue, String suffix) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface repast.simphony.ui.parameters.ParameterBinder
getComponent, resetToDefault, toParameter, toXML
-
Field Details
-
name
-
displayName
-
params
-
order
protected double order -
typeMap
-
-
Constructor Details
-
AbstractParameterBinder
- Parameters:
name-displayName-
-
-
Method Details
-
setDisplayOrder
public void setDisplayOrder(double val) Description copied from interface:ParameterBinderSets the order of the created component in the display.- Specified by:
setDisplayOrderin interfaceParameterBinder
-
getDisplayOrder
public double getDisplayOrder()Description copied from interface:ParameterBinderGets the order of the created component in the display.- Specified by:
getDisplayOrderin interfaceParameterBinder
-
getName
Description copied from interface:ParameterBinderGets the name of the parameter for which this is the binder.- Specified by:
getNamein interfaceParameterBinder- Returns:
- the name of the parameter for which this is the binder.
-
getLabel
Gets the label for the component created by this CompCreator.- Specified by:
getLabelin interfaceParameterBinder- Returns:
- the label for the component created by this CompCreator.
-
toXML
-