|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<EclipseTabDockActionLocation>
bibliothek.extension.gui.dock.theme.eclipse.EclipseTabDockActionLocation
public enum EclipseTabDockActionLocation
Can be used for an EclipseTabDockAction to fine tune the behavior.
| Enum Constant Summary | |
|---|---|
BOTH
the action is shown both on the tab and on the side |
|
HIDDEN
the action is not shown at all (it will appear in the drop down menu) |
|
SIDE
the action is shown on the side |
|
TAB
the action is shown on the tab |
|
| Method Summary | |
|---|---|
boolean |
isSide()
Tells whether this location points to the side. |
boolean |
isTab()
Tells whether this location points to a tab. |
static EclipseTabDockActionLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EclipseTabDockActionLocation[] |
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 EclipseTabDockActionLocation BOTH
public static final EclipseTabDockActionLocation HIDDEN
public static final EclipseTabDockActionLocation SIDE
public static final EclipseTabDockActionLocation TAB
| Method Detail |
|---|
public static EclipseTabDockActionLocation[] values()
for (EclipseTabDockActionLocation c : EclipseTabDockActionLocation.values()) System.out.println(c);
public static EclipseTabDockActionLocation 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 isTab()
true if this location points to a tabpublic boolean isSide()
true if this location points to the side
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||