public static class CombinedMenuContent.Item extends Object
| Constructor and Description |
|---|
Item(Dockable dockable,
String text,
String tooltip,
Icon icon,
boolean enabled)
Creates a new
CombinedMenuContent.Item. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public 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 selectablepublic Dockable getDockable()
nullpublic String getText()
nullpublic String getToolTip()
nullpublic Icon getIcon()
nullpublic boolean isEnabled()
Copyright © 2017 Docking Frames. All rights reserved.