com.speckled.specksim
Class SpeckPosition.Configurator
java.lang.Object
com.ryanm.config.imp.AbstractConfigurator
com.speckled.specksim.SpeckPosition.Configurator
- All Implemented Interfaces:
- Configurator
- Enclosing class:
- SpeckPosition
public static class SpeckPosition.Configurator
- extends AbstractConfigurator
A useful configurator for manipulating a SpeckPosition.
- Author:
- ryanm
|
Method Summary |
protected void |
applyValue(java.lang.String name,
java.lang.Object value)
This should be overridden to actually apply the new value |
java.lang.Object |
retrieveValue(java.lang.String name)
Get the current value of the named variable |
| Methods inherited from class com.ryanm.config.imp.AbstractConfigurator |
addConfiguratorListener, addValueListener, addVariable, addVariable, buildPaths, copyValues, getDescription, getDescription, getName, getNames, getParent, getPath, getRange, getType, getValue, isGUIEnabled, pathsBuilt, removeConfiguratorListener, removeValueListener, removeVariable, setDescription, setGUIEnabled, setRange, setType, setValue, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SpeckPosition.Configurator
public SpeckPosition.Configurator(java.lang.String name,
SpeckPosition speckPosition)
- Constructs a new
SpeckPosition.Configurator that will manipulate
the values of the supplied SpeckPosition
- Parameters:
name - The name for the configuratorspeckPosition - The SpeckPosition to manipulate
SpeckPosition.Configurator
public SpeckPosition.Configurator(java.lang.String name,
java.lang.String description,
SpeckPosition speckPosition)
- Constructs a new
SpeckPosition.Configurator that will manipulate
the values of the supplied SpeckPosition
- Parameters:
name - The name for the configuratordescription - A description for the configuratorspeckPosition - The SpeckPosition to manipulate
applyValue
protected void applyValue(java.lang.String name,
java.lang.Object value)
- Description copied from class:
AbstractConfigurator
- This should be overridden to actually apply the new value
- Specified by:
applyValue in class AbstractConfigurator
- Parameters:
name - The name of the variable to changevalue - The new value of that variable
retrieveValue
public java.lang.Object retrieveValue(java.lang.String name)
- Description copied from class:
AbstractConfigurator
- Get the current value of the named variable
- Specified by:
retrieveValue in class AbstractConfigurator
- Parameters:
name - The name of the variable
- Returns:
- The value of the variable