Package repast.simphony.parameter.xml
Class NumberSetterCreator
java.lang.Object
repast.simphony.parameter.xml.AbstractParameterSetterCreator
repast.simphony.parameter.xml.AbstractNumberSetterCreator
repast.simphony.parameter.xml.NumberSetterCreator
- All Implemented Interfaces:
ParameterSetterCreator
Creator for numeric stepped parameter setters.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Nested Class Summary
Nested classes/interfaces inherited from class repast.simphony.parameter.xml.AbstractNumberSetterCreator
AbstractNumberSetterCreator.TypeNested classes/interfaces inherited from class repast.simphony.parameter.xml.AbstractParameterSetterCreator
AbstractParameterSetterCreator.AttributesValueGetter, AbstractParameterSetterCreator.MapValueGetter, AbstractParameterSetterCreator.ValueGetter -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class repast.simphony.parameter.xml.AbstractNumberSetterCreator
typeFields inherited from class repast.simphony.parameter.xml.AbstractParameterSetterCreator
attributes, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(ParametersCreator creator) Adds the parameter to the specified creator based on the attributes added in init.Creates a parameter setter from the specified attributesvoidInitializes this ParameterSetterCreator with the specified attributes.voidinit(Attributes attributes) Initializes this ParameterSetterCreator with the specified attributes.
-
Field Details
-
START
- See Also:
-
END
- See Also:
-
STEP
- See Also:
-
NUMBERTYPE
- See Also:
-
-
Constructor Details
-
NumberSetterCreator
public NumberSetterCreator()
-
-
Method Details
-
init
Initializes this ParameterSetterCreator with the specified attributes. Any following calls to addParameter or createSetter will use this attributes.- Specified by:
initin interfaceParameterSetterCreator- Overrides:
initin classAbstractParameterSetterCreator- Parameters:
attributes-- Throws:
ParameterFormatException
-
init
Initializes this ParameterSetterCreator with the specified attributes. Any following calls to addParameter or createSetter will use this attributes.- Overrides:
initin classAbstractParameterSetterCreator- Parameters:
attributes-- Throws:
ParameterFormatException
-
addParameter
Adds the parameter to the specified creator based on the attributes added in init.- Parameters:
creator-
-
createSetter
Creates a parameter setter from the specified attributes- Returns:
- a parameter setter created from the specified attributes
-