sun.awt
public static class CausedFocusEvent.Cause extends Enum<CausedFocusEvent.Cause>
Field Summary | |
---|---|
static CausedFocusEvent.Cause | ACTIVATION |
static CausedFocusEvent.Cause | AUTOMATIC_TRAVERSE |
static CausedFocusEvent.Cause | CLEAR_GLOBAL_FOCUS_OWNER |
static CausedFocusEvent.Cause | MANUAL_REQUEST |
static CausedFocusEvent.Cause | MOUSE_EVENT |
static CausedFocusEvent.Cause | NATIVE_SYSTEM |
static CausedFocusEvent.Cause | RETARGETED |
static CausedFocusEvent.Cause | ROLLBACK |
static CausedFocusEvent.Cause | TRAVERSAL |
static CausedFocusEvent.Cause | TRAVERSAL_BACKWARD |
static CausedFocusEvent.Cause | TRAVERSAL_DOWN |
static CausedFocusEvent.Cause | TRAVERSAL_FORWARD |
static CausedFocusEvent.Cause | TRAVERSAL_UP |
static CausedFocusEvent.Cause | UNKNOWN |
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.Cause | valueOf(String name) Static factory to return the enum constant pertaining to the given string name. |
for(Cause c : Cause.VALUES) System.out.println(c);
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.
Throws: IllegalArgumentException if this enum class has no constant with the specified name.