sun.awt
Enum CausedFocusEvent.Cause

java.lang.Object
  extended by java.lang.Enum<CausedFocusEvent.Cause>
      extended by sun.awt.CausedFocusEvent.Cause
All Implemented Interfaces:
Serializable, Comparable<CausedFocusEvent.Cause>
Enclosing class:
CausedFocusEvent

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


Enum Constant Summary
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
           
 
Method Summary
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.
 
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
 

Enum Constant Detail

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
Method Detail

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