maspack.properties
Class InheritablePropertyHandle

java.lang.Object
  extended by maspack.properties.GenericPropertyHandle
      extended by maspack.properties.InheritablePropertyHandle
All Implemented Interfaces:
InheritableProperty, Property

public class InheritablePropertyHandle
extends GenericPropertyHandle
implements InheritableProperty


Field Summary
 
Fields inherited from interface maspack.properties.Property
AutoValue, DEFAULT_DOUBLE, IllegalValue, VoidValue
 
Constructor Summary
InheritablePropertyHandle(HasProperties host, PropertyDesc desc)
           
 
Method Summary
 PropertyMode getMode()
          Returns the current mode for this property.
 void setMode(PropertyMode mode)
          Sets the mode for this property.
 
Methods inherited from class maspack.properties.GenericPropertyHandle
get, getHost, getInfo, getName, getRange, set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface maspack.properties.Property
get, getHost, getInfo, getName, getRange, set
 

Constructor Detail

InheritablePropertyHandle

public InheritablePropertyHandle(HasProperties host,
                                 PropertyDesc desc)
Method Detail

getMode

public PropertyMode getMode()
Description copied from interface: InheritableProperty
Returns the current mode for this property.

Specified by:
getMode in interface InheritableProperty
Returns:
current property mode
See Also:
InheritableProperty.setMode(maspack.properties.PropertyMode)

setMode

public void setMode(PropertyMode mode)
Description copied from interface: InheritableProperty
Sets the mode for this property. The mode should be either PropertyMode.Explicit, PropertyMode.Inherited, or PropertyMode.Inactive.

Specified by:
setMode in interface InheritableProperty
Parameters:
mode - new mode for this property.
See Also:
InheritableProperty.getMode()