sun.awt
Enum CausedFocusEvent.Cause
java.lang.Object
java.lang.Enum<CausedFocusEvent.Cause>
sun.awt.CausedFocusEvent.Cause
- All Implemented Interfaces:
- Serializable, Comparable<CausedFocusEvent.Cause>
- Enclosing class:
- CausedFocusEvent
public static enum CausedFocusEvent.Cause
- extends Enum<CausedFocusEvent.Cause>
UNKNOWN
public static final CausedFocusEvent.Cause UNKNOWN
MOUSE_EVENT
public static final CausedFocusEvent.Cause MOUSE_EVENT
TRAVERSAL
public static final CausedFocusEvent.Cause TRAVERSAL
TRAVERSAL_UP
public static final CausedFocusEvent.Cause TRAVERSAL_UP
TRAVERSAL_DOWN
public static final CausedFocusEvent.Cause TRAVERSAL_DOWN
TRAVERSAL_FORWARD
public static final CausedFocusEvent.Cause TRAVERSAL_FORWARD
TRAVERSAL_BACKWARD
public static final CausedFocusEvent.Cause TRAVERSAL_BACKWARD
MANUAL_REQUEST
public static final CausedFocusEvent.Cause MANUAL_REQUEST
AUTOMATIC_TRAVERSE
public static final CausedFocusEvent.Cause AUTOMATIC_TRAVERSE
ROLLBACK
public static final CausedFocusEvent.Cause ROLLBACK
NATIVE_SYSTEM
public static final CausedFocusEvent.Cause NATIVE_SYSTEM
ACTIVATION
public static final CausedFocusEvent.Cause ACTIVATION
CLEAR_GLOBAL_FOCUS_OWNER
public static final CausedFocusEvent.Cause CLEAR_GLOBAL_FOCUS_OWNER
RETARGETED
public static final CausedFocusEvent.Cause RETARGETED
values
public static CausedFocusEvent.Cause[] 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 (CausedFocusEvent.Cause c : CausedFocusEvent.Cause.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CausedFocusEvent.Cause 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