|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PropertyMode>
maspack.properties.PropertyMode
public enum PropertyMode
Enum Constant Summary | |
---|---|
Explicit
Indicates that a property value is explicitly set, and should not be inherited from matching properties in an ancestor hierarchy. |
|
Inactive
Indicates that a property value is inactive. |
|
Inherited
Indicates that a property value is to be inherited from the closest explicitly-set matching property in the ancestor hierarchy. |
|
Void
Indicates no mode value. |
Method Summary | |
---|---|
static PropertyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PropertyMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PropertyMode Explicit
public static final PropertyMode Inherited
public static final PropertyMode Inactive
Inherited
, its value is to be inherited from the closest explicitly-set
matching property in the ancestor hierarchy. However, when an inactive
value is set, it's mode is not automatically set to Explicit
and its new value it not propagated to hierarchy descendants.
public static final PropertyMode Void
Method Detail |
---|
public static PropertyMode[] values()
for (PropertyMode c : PropertyMode.values()) System.out.println(c);
public static PropertyMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |