com.threerings.parlor.data
Class ToggleParameter
java.lang.Object
com.threerings.parlor.data.Parameter
com.threerings.parlor.data.ToggleParameter
- All Implemented Interfaces:
- Streamable
public class ToggleParameter
- extends Parameter
Models a parameter that allows the toggling of a single value.
|
Field Summary |
boolean |
start
The starting state for this parameter. |
start
public boolean start
- The starting state for this parameter.
ToggleParameter
public ToggleParameter()
getLabel
public String getLabel()
- Description copied from class:
Parameter
- Returns the translation key for this parameter's label.
- Specified by:
getLabel in class Parameter
getDefaultValue
public Object getDefaultValue()
- Description copied from class:
Parameter
- Returns the default value of this parameter.
- Specified by:
getDefaultValue in class Parameter