| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FocusVetoListener.FocusVeto>
bibliothek.gui.dock.event.FocusVetoListener.FocusVeto
public static enum FocusVetoListener.FocusVeto
Tells how to react on a potential change of the focus.
| Enum Constant Summary | |
|---|---|
| NONENo veto, allows the focus to be transfered to a new element | |
| VETOFocus transfer is canceled, and the event leading to the transfer is consumed (meaning: the event is marked as invalid and components will not process it). | |
| VETO_NO_CONSUMEFocus transfer is canceled, but the event leading to the transfer is allowed to be processed. | |
| Method Summary | |
|---|---|
| static FocusVetoListener.FocusVeto | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static FocusVetoListener.FocusVeto[] | values()Returns an array containing the constants of this enum type, in the order they're declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final FocusVetoListener.FocusVeto NONE
public static final FocusVetoListener.FocusVeto VETO
public static final FocusVetoListener.FocusVeto VETO_NO_CONSUME
Dockable that should
 have the focus. Client code should in general use VETO.
| Method Detail | 
|---|
public static final FocusVetoListener.FocusVeto[] values()
for(FocusVetoListener.FocusVeto c : FocusVetoListener.FocusVeto.values())
        System.out.println(c);
public static FocusVetoListener.FocusVeto 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| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||