public enum EclipseTabDockActionLocation extends Enum<EclipseTabDockActionLocation>
EclipseTabDockAction to fine tune the behavior.| Enum Constant and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final EclipseTabDockActionLocation BOTH
public static final EclipseTabDockActionLocation HIDDEN
public static final EclipseTabDockActionLocation SIDE
public static final EclipseTabDockActionLocation TAB
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 nameNullPointerException - if the argument is nullpublic boolean isTab()
true if this location points to a tabpublic boolean isSide()
true if this location points to the sideCopyright © 2017 Docking Frames. All rights reserved.