sun.awt

Class CausedFocusEvent.Cause

public static class CausedFocusEvent.Cause extends Enum<CausedFocusEvent.Cause>

Field Summary
static CausedFocusEvent.CauseACTIVATION
static CausedFocusEvent.CauseAUTOMATIC_TRAVERSE
static CausedFocusEvent.CauseCLEAR_GLOBAL_FOCUS_OWNER
static CausedFocusEvent.CauseMANUAL_REQUEST
static CausedFocusEvent.CauseMOUSE_EVENT
static CausedFocusEvent.CauseNATIVE_SYSTEM
static CausedFocusEvent.CauseRETARGETED
static CausedFocusEvent.CauseROLLBACK
static CausedFocusEvent.CauseTRAVERSAL
static CausedFocusEvent.CauseTRAVERSAL_BACKWARD
static CausedFocusEvent.CauseTRAVERSAL_DOWN
static CausedFocusEvent.CauseTRAVERSAL_FORWARD
static CausedFocusEvent.CauseTRAVERSAL_UP
static CausedFocusEvent.CauseUNKNOWN
static List<CausedFocusEvent.Cause>VALUES
An immutable list containing the values comprising this enum class in the order they're declared.
Method Summary
List<CausedFocusEvent.Cause>family()
Returns an immutable list containing the values comprising this enum class in the order they're declared.
static CausedFocusEvent.CausevalueOf(String name)
Static factory to return the enum constant pertaining to the given string name.

Field Detail

ACTIVATION

public static final CausedFocusEvent.Cause ACTIVATION

AUTOMATIC_TRAVERSE

public static final CausedFocusEvent.Cause AUTOMATIC_TRAVERSE

CLEAR_GLOBAL_FOCUS_OWNER

public static final CausedFocusEvent.Cause CLEAR_GLOBAL_FOCUS_OWNER

MANUAL_REQUEST

public static final CausedFocusEvent.Cause MANUAL_REQUEST

MOUSE_EVENT

public static final CausedFocusEvent.Cause MOUSE_EVENT

NATIVE_SYSTEM

public static final CausedFocusEvent.Cause NATIVE_SYSTEM

RETARGETED

public static final CausedFocusEvent.Cause RETARGETED

ROLLBACK

public static final CausedFocusEvent.Cause ROLLBACK

TRAVERSAL

public static final CausedFocusEvent.Cause TRAVERSAL

TRAVERSAL_BACKWARD

public static final CausedFocusEvent.Cause TRAVERSAL_BACKWARD

TRAVERSAL_DOWN

public static final CausedFocusEvent.Cause TRAVERSAL_DOWN

TRAVERSAL_FORWARD

public static final CausedFocusEvent.Cause TRAVERSAL_FORWARD

TRAVERSAL_UP

public static final CausedFocusEvent.Cause TRAVERSAL_UP

UNKNOWN

public static final CausedFocusEvent.Cause UNKNOWN

VALUES

public static final List<CausedFocusEvent.Cause> VALUES
An immutable list containing the values comprising this enum class in the order they're declared. This field may be used to iterate over the constants as follows:
for(Cause c : Cause.VALUES)
    System.out.println(c);

Method Detail

family

public final List<CausedFocusEvent.Cause> family()
Returns an immutable list containing the values comprising this enum class in the order they're declared. This instance method simply returns VALUES. Few programmers should have any need to use this method. It is provided for use by sophisticated enum-based data structures to prevent the need for reflective access to VALUES.

Returns: an immutable list containing the values comprising this enum class, in the order they're declared.

valueOf

public static final CausedFocusEvent.Cause valueOf(String name)
Static factory to return the enum constant pertaining to the given string name. The string must match exactly an identifier used to declare an enum constant in this type.

Throws: IllegalArgumentException if this enum class has no constant with the specified name.