edu.ucla.util
Enum PropertyKey
Object
Enum<PropertyKey>
PropertyKey
- All Implemented Interfaces:
- Serializable, Comparable<PropertyKey>
public enum PropertyKey
- extends Enum<PropertyKey>
general properties of something editable
- Since:
- 20080228
- Author:
- keith cascio
Method Summary |
static PropertyKey |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PropertyKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
caption
public static final PropertyKey caption
info
public static final PropertyKey info
floor
public static final PropertyKey floor
ceiling
public static final PropertyKey ceiling
defaultValue
public static final PropertyKey defaultValue
legal
public static final PropertyKey legal
keystroke
public static final PropertyKey keystroke
advanced
public static final PropertyKey advanced
increment
public static final PropertyKey increment
plural
public static final PropertyKey plural
notext
public static final PropertyKey notext
domain
public static final PropertyKey domain
actionlistener
public static final PropertyKey actionlistener
clazz
public final Class<?> clazz
values
public static PropertyKey[] 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 (PropertyKey c : PropertyKey.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PropertyKey valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright 2010 UCLA Automated Reasoning Group