maspack.properties
Enum PropertyInfo.Edit

java.lang.Object
  extended by java.lang.Enum<PropertyInfo.Edit>
      extended by maspack.properties.PropertyInfo.Edit
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PropertyInfo.Edit>
Enclosing interface:
PropertyInfo

public static enum PropertyInfo.Edit
extends java.lang.Enum<PropertyInfo.Edit>

Describes conditions under which this property should be interactively edited.


Enum Constant Summary
Always
          Can always be interactively edited.
Never
          Should not be interactively edited.
Single
          Can be interactively edited only for a single host at a time
 
Method Summary
static PropertyInfo.Edit valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PropertyInfo.Edit[] 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

Always

public static final PropertyInfo.Edit Always
Can always be interactively edited.


Single

public static final PropertyInfo.Edit Single
Can be interactively edited only for a single host at a time


Never

public static final PropertyInfo.Edit Never
Should not be interactively edited.

Method Detail

values

public static PropertyInfo.Edit[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PropertyInfo.Edit c : PropertyInfo.Edit.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PropertyInfo.Edit valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null