com.threerings.config
Class Parameter.Choice.Option

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.config.Parameter.Choice.Option
All Implemented Interfaces:
DynamicallyEditable, Exportable, Copyable, Cloneable
Enclosing class:
Parameter.Choice

public class Parameter.Choice.Option
extends DeepObject
implements DynamicallyEditable, Exportable

An option available for selection.


Field Summary
 String name
          The name of this option.
 
Constructor Summary
Parameter.Choice.Option()
           
 
Method Summary
 void apply(ParameterizedConfig instance)
          Applies this option to the specified instance.
 Property[] getDynamicProperties()
          Returns an array containing the dynamic properties of this object.
 void validateOuters(String where, Parameter.Choice outer)
          Validates the outer object references in this option.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

@Editable
public String name
The name of this option.

Constructor Detail

Parameter.Choice.Option

public Parameter.Choice.Option()
Method Detail

apply

public void apply(ParameterizedConfig instance)
Applies this option to the specified instance.


validateOuters

public void validateOuters(String where,
                           Parameter.Choice outer)
Validates the outer object references in this option.


getDynamicProperties

public Property[] getDynamicProperties()
Description copied from interface: DynamicallyEditable
Returns an array containing the dynamic properties of this object.

Specified by:
getDynamicProperties in interface DynamicallyEditable


Copyright © 2011. All Rights Reserved.