com.sun.electric.tool.user
Enum User.ColorPrefType
java.lang.Object
java.lang.Enum<User.ColorPrefType>
com.sun.electric.tool.user.User.ColorPrefType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<User.ColorPrefType>
- Enclosing class:
- User
public static enum User.ColorPrefType
- extends java.lang.Enum<User.ColorPrefType>
COLOR PREFERENCES
Method Summary |
static User.ColorPrefType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static User.ColorPrefType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BACKGROUND
public static final User.ColorPrefType BACKGROUND
GRID
public static final User.ColorPrefType GRID
HIGHLIGHT
public static final User.ColorPrefType HIGHLIGHT
MOUSEOVER_HIGHLIGHT
public static final User.ColorPrefType MOUSEOVER_HIGHLIGHT
PORT_HIGHLIGHT
public static final User.ColorPrefType PORT_HIGHLIGHT
TEXT
public static final User.ColorPrefType TEXT
INSTANCE
public static final User.ColorPrefType INSTANCE
DOWNINPLACEBORDER
public static final User.ColorPrefType DOWNINPLACEBORDER
WAVE_BACKGROUND
public static final User.ColorPrefType WAVE_BACKGROUND
WAVE_FOREGROUND
public static final User.ColorPrefType WAVE_FOREGROUND
WAVE_STIMULI
public static final User.ColorPrefType WAVE_STIMULI
WAVE_OFF_STRENGTH
public static final User.ColorPrefType WAVE_OFF_STRENGTH
WAVE_NODE_STRENGTH
public static final User.ColorPrefType WAVE_NODE_STRENGTH
WAVE_GATE_STRENGTH
public static final User.ColorPrefType WAVE_GATE_STRENGTH
WAVE_POWER_STRENGTH
public static final User.ColorPrefType WAVE_POWER_STRENGTH
WAVE_CROSS_LOW
public static final User.ColorPrefType WAVE_CROSS_LOW
WAVE_CROSS_HIGH
public static final User.ColorPrefType WAVE_CROSS_HIGH
WAVE_CROSS_UNDEF
public static final User.ColorPrefType WAVE_CROSS_UNDEF
WAVE_CROSS_FLOAT
public static final User.ColorPrefType WAVE_CROSS_FLOAT
values
public static User.ColorPrefType[] 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 (User.ColorPrefType c : User.ColorPrefType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static User.ColorPrefType 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