Skip navigation links
oracle.javatools.ui.ghost
Enum UIConstants.Look
java.lang.Object
java.lang.Enum<UIConstants.Look>
oracle.javatools.ui.ghost.UIConstants.Look
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<UIConstants.Look>
- Enclosing class:
- UIConstants
-
public static enum UIConstants.Look
- extends java.lang.Enum<UIConstants.Look>
Enumeration for the different kinds of ghost looks. DARK - dark background and light foreground. LIGHT - light background and dark foreground.
Method Summary |
static UIConstants.Look |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static UIConstants.Look[] |
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 |
DARK
public static final UIConstants.Look DARK
LIGHT
public static final UIConstants.Look LIGHT
values
public static UIConstants.Look[] 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 (UIConstants.Look c : UIConstants.Look.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static UIConstants.Look 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
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.