|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ComponentLookupScope>
org.fest.swing.core.ComponentLookupScope
public enum ComponentLookupScope
Understands scopes of GUI component lookup.
| Enum Constant Summary | |
|---|---|
ALL
All GUI components participate in a component lookup, regardless if they are being shown on the screen or not. |
|
DEFAULT
For most of the cases, only GUI components that are being shown on the screen participate in a component lookup. |
|
SHOWING_ONLY
Only components that are being shown on the screen can participate in a component lookup. |
|
| Method Summary | |
|---|---|
boolean |
requireShowing()
Returns whether showing components are the only ones participating in component lookups. |
static ComponentLookupScope |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ComponentLookupScope[] |
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 |
|---|
public static final ComponentLookupScope DEFAULT
JMenuItem, which participates in a component
lookup regardless if it is showing or not.
public static final ComponentLookupScope ALL
public static final ComponentLookupScope SHOWING_ONLY
| Method Detail |
|---|
public static ComponentLookupScope[] values()
for (ComponentLookupScope c : ComponentLookupScope.values()) System.out.println(c);
public static ComponentLookupScope valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean requireShowing()
true if only showing components participate in component lookups; false if
any component (showing or not showing) can participate in component lookup.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||