|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.stack.menu.CombinedMenuContent.Item
public static class CombinedMenuContent.Item
Describes one item of a menu.
| Constructor Summary | |
|---|---|
CombinedMenuContent.Item(Dockable dockable,
String text,
String tooltip,
Icon icon,
boolean enabled)
Creates a new CombinedMenuContent.Item. |
|
| Method Summary | |
|---|---|
Dockable |
getDockable()
Gets the element which is represented by this item. |
Icon |
getIcon()
Gets the icon of this item. |
String |
getText()
Gets the text to be shown to the user. |
String |
getToolTip()
Gets the description of this item. |
boolean |
isEnabled()
Tells whether this item can be selected. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CombinedMenuContent.Item(Dockable dockable,
String text,
String tooltip,
Icon icon,
boolean enabled)
CombinedMenuContent.Item.
dockable - the items valuetext - the items texttooltip - the items descriptionicon - the items iconenabled - whether this item is selectable| Method Detail |
|---|
public Dockable getDockable()
nullpublic String getText()
nullpublic String getToolTip()
nullpublic Icon getIcon()
nullpublic boolean isEnabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||