|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FlapDockStation.ButtonContent>
bibliothek.gui.dock.FlapDockStation.ButtonContent
public static enum FlapDockStation.ButtonContent
What kind of information should be displayed on the buttons.
| Method Summary | |
|---|---|
boolean |
showActions(boolean theme)
Tells whether actions should be shown on the button of a FlapDockStation
or not. |
boolean |
showIcon(boolean text,
boolean theme)
Tells whether an icon should be shown. |
boolean |
showText(boolean icon,
boolean theme)
Tells whether text should be shown. |
static FlapDockStation.ButtonContent |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FlapDockStation.ButtonContent[] |
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 FlapDockStation.ButtonContent THEME_DEPENDENT
public static final FlapDockStation.ButtonContent ICON_ONLY
public static final FlapDockStation.ButtonContent TEXT_ONLY
public static final FlapDockStation.ButtonContent ICON_AND_TEXT_ONLY
public static final FlapDockStation.ButtonContent ICON_THEN_TEXT_ONLY
public static final FlapDockStation.ButtonContent TEXT_THEN_ICON_ONLY
public static final FlapDockStation.ButtonContent ICON_ACTIONS
public static final FlapDockStation.ButtonContent TEXT_ACTIONS
public static final FlapDockStation.ButtonContent ICON_AND_TEXT_ACTIONS
public static final FlapDockStation.ButtonContent ICON_THEN_TEXT_ACTIONS
public static final FlapDockStation.ButtonContent TEXT_THEN_ICON_ACTIONS
| Method Detail |
|---|
public static final FlapDockStation.ButtonContent[] values()
for(FlapDockStation.ButtonContent c : FlapDockStation.ButtonContent.values())
System.out.println(c);
public static FlapDockStation.ButtonContent valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic boolean showActions(boolean theme)
FlapDockStation
or not.
theme - what the theme would do
true if the actions should be shown
public boolean showIcon(boolean text,
boolean theme)
text - whether text is present or not.theme - what the theme would decide.
true if icons should be shown
public boolean showText(boolean icon,
boolean theme)
icon - whether an icon is present or nottheme - what the theme would decide.
true if text should be shown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||