com.threerings.config
Class Parameter.Direct
java.lang.Object
com.threerings.util.DeepObject
com.threerings.config.Parameter
com.threerings.config.Parameter.Direct
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Direct Known Subclasses:
- Parameter.Translated
- Enclosing class:
- Parameter
public static class Parameter.Direct
- extends Parameter
A parameter that directly controls a number of fields identified by paths.
|
Field Summary |
String[] |
paths
The reference paths of the properties that this parameter adjusts. |
paths
@Editable(width=40,
editor="paths")
public String[] paths
- The reference paths of the properties that this parameter adjusts. The first valid
path determines the type and default value.
Parameter.Direct
public Parameter.Direct()
validatePaths
public boolean validatePaths(String where,
ParameterizedConfig reference,
PrintStream out)
- Description copied from class:
Parameter
- Validates the parameter's paths.
- Specified by:
validatePaths in class Parameter
- Returns:
- true if the paths are valid.
Copyright © 2011. All Rights Reserved.