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.Type
Nested classes/interfaces inherited from class repast.simphony.parameter.xml.AbstractParameterSetterCreator
AbstractParameterSetterCreator.AttributesValueGetter, AbstractParameterSetterCreator.MapValueGetter, AbstractParameterSetterCreator.ValueGetter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class repast.simphony.parameter.xml.AbstractNumberSetterCreator
type
Fields inherited from class repast.simphony.parameter.xml.AbstractParameterSetterCreator
attributes, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(ParametersCreator creator) Adds the parameter to the specified creator based on the attributes added in init.Creates a parameter setter from the specified attributesvoid
Initializes this ParameterSetterCreator with the specified attributes.void
init
(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:
init
in interfaceParameterSetterCreator
- Overrides:
init
in 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:
init
in 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
-