Package repast.simphony.ui.parameters
Class ListParameterBinder
java.lang.Object
repast.simphony.ui.parameters.AbstractParameterBinder
repast.simphony.ui.parameters.ListParameterBinder
- All Implemented Interfaces:
 ParameterBinder
ParameterBinder for parameters constrained to a list of values.
- Author:
 - Nick Collier
 
- 
Field Summary
Fields inherited from class repast.simphony.ui.parameters.AbstractParameterBinder
displayName, name, order, params, typeMap - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetComponent(Parameters params) Creates a JComponent for a parameter in the parameters.voidResets the JComponent to the default value of its parameter.voidUpdates the parameter that this is a binder for with the latest value from the created component.toXML()Gets the parameter xml representation of this ParameterBinder.Methods inherited from class repast.simphony.ui.parameters.AbstractParameterBinder
getDisplayOrder, getLabel, getName, setDisplayOrder, toXML 
- 
Constructor Details
- 
ListParameterBinder
 
 - 
 - 
Method Details
- 
getComponent
Description copied from interface:ParameterBinderCreates a JComponent for a parameter in the parameters.- Returns:
 - the created JComponent.
 
 - 
resetToDefault
public void resetToDefault()Description copied from interface:ParameterBinderResets the JComponent to the default value of its parameter. - 
toParameter
public void toParameter()Description copied from interface:ParameterBinderUpdates the parameter that this is a binder for with the latest value from the created component. - 
toXML
Description copied from interface:ParameterBinderGets the parameter xml representation of this ParameterBinder.- Returns:
 - the parameter xml representation of this ParameterBinder.
 
 
 -