|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ryanm.config.imp.AbstractConfigurator
com.ryanm.glvisualiser.GLMaterialConfigurator
public class GLMaterialConfigurator
A handy configurator for a GLMaterial
| Field Summary |
|---|
| Fields inherited from interface com.ryanm.config.Configurator |
|---|
ACTION_TYPE, BOOLEAN_TYPE, COLOUR_TYPE, FILE_TYPE, FLOAT_TYPE, INT_TYPE, STRING_LIST_TYPE, STRING_TYPE, VECTOR_TYPE |
| Constructor Summary | |
|---|---|
GLMaterialConfigurator(GLMaterial material,
java.lang.String name)
Construct a configurator that can manipulate the supplied GLMaterial |
|
| 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 |
| Constructor Detail |
|---|
public GLMaterialConfigurator(GLMaterial material,
java.lang.String name)
material - The material to controlname - The name to give the configurator, or null to get
"Material"| Method Detail |
|---|
protected void applyValue(java.lang.String name,
java.lang.Object value)
AbstractConfigurator
applyValue in class AbstractConfiguratorname - The name of the variable to changevalue - The new value of that variablepublic java.lang.Object retrieveValue(java.lang.String name)
AbstractConfigurator
retrieveValue in class AbstractConfiguratorname - The name of the variable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||