sun.awt
public static enum CausedFocusEvent.Cause extends Enum<CausedFocusEvent.Cause>
Enum Constant and Description |
---|
ACTIVATION |
AUTOMATIC_TRAVERSE |
CLEAR_GLOBAL_FOCUS_OWNER |
MANUAL_REQUEST |
MOUSE_EVENT |
NATIVE_SYSTEM |
RETARGETED |
ROLLBACK |
TRAVERSAL |
TRAVERSAL_BACKWARD |
TRAVERSAL_DOWN |
TRAVERSAL_FORWARD |
TRAVERSAL_UP |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static CausedFocusEvent.Cause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CausedFocusEvent.Cause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CausedFocusEvent.Cause UNKNOWN
public static final CausedFocusEvent.Cause MOUSE_EVENT
public static final CausedFocusEvent.Cause TRAVERSAL
public static final CausedFocusEvent.Cause TRAVERSAL_UP
public static final CausedFocusEvent.Cause TRAVERSAL_DOWN
public static final CausedFocusEvent.Cause TRAVERSAL_FORWARD
public static final CausedFocusEvent.Cause TRAVERSAL_BACKWARD
public static final CausedFocusEvent.Cause MANUAL_REQUEST
public static final CausedFocusEvent.Cause AUTOMATIC_TRAVERSE
public static final CausedFocusEvent.Cause ROLLBACK
public static final CausedFocusEvent.Cause NATIVE_SYSTEM
public static final CausedFocusEvent.Cause ACTIVATION
public static final CausedFocusEvent.Cause CLEAR_GLOBAL_FOCUS_OWNER
public static final CausedFocusEvent.Cause RETARGETED
public static CausedFocusEvent.Cause[] values()
for (CausedFocusEvent.Cause c : CausedFocusEvent.Cause.values()) System.out.println(c);
public static CausedFocusEvent.Cause valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null