Package repast.simphony.ui.parameters
Class RandomSeedParameterBinder
- java.lang.Object
-
- repast.simphony.ui.parameters.AbstractParameterBinder
-
- repast.simphony.ui.parameters.DefaultParameterBinder
-
- repast.simphony.ui.parameters.RandomSeedParameterBinder
-
- All Implemented Interfaces:
ParameterBinder
public class RandomSeedParameterBinder extends DefaultParameterBinder
ParameterBinder for the random seed.- Author:
- Nick Collier
-
-
Field Summary
-
Fields inherited from class repast.simphony.ui.parameters.DefaultParameterBinder
converter, field, model
-
Fields inherited from class repast.simphony.ui.parameters.AbstractParameterBinder
displayName, name, order, params, typeMap
-
-
Constructor Summary
Constructors Constructor Description RandomSeedParameterBinder(String name, String displayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
resetToDefault()
Resets the JComponent to the default value of its parameter.String
toXML()
Gets the parameter xml representation of this ParameterBinder.-
Methods inherited from class repast.simphony.ui.parameters.DefaultParameterBinder
getComponent, toParameter
-
Methods inherited from class repast.simphony.ui.parameters.AbstractParameterBinder
getDisplayOrder, getLabel, getName, setDisplayOrder, toXML
-
-
-
-
Method Detail
-
resetToDefault
public void resetToDefault()
Description copied from interface:ParameterBinder
Resets the JComponent to the default value of its parameter.- Specified by:
resetToDefault
in interfaceParameterBinder
- Overrides:
resetToDefault
in classDefaultParameterBinder
-
toXML
public String toXML()
Description copied from interface:ParameterBinder
Gets the parameter xml representation of this ParameterBinder.- Specified by:
toXML
in interfaceParameterBinder
- Overrides:
toXML
in classDefaultParameterBinder
- Returns:
- the parameter xml representation of this ParameterBinder.
-
-