public class DefaultToolBarItem extends Object implements ToolBarItem
| Constructor and Description |
|---|
DefaultToolBarItem(IconType iconType,
String tooltip,
Command command) |
DefaultToolBarItem(String url,
String tooltip,
Command command) |
| Modifier and Type | Method and Description |
|---|---|
Command |
getCommand() |
ToolBarIcon |
getIcon() |
String |
getIdentifier()
An identifier that is unique among all the resources of the same type
(see
Resource.getResourceType()). |
String |
getTooltip() |
boolean |
isEnabled() |
void |
setEnabled(boolean isEnabled) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependencies, getResourceType, isTypepublic String getIdentifier()
ResourceResource.getResourceType()).getIdentifier in interface Resourcepublic String getTooltip()
getTooltip in interface ToolBarItempublic ToolBarIcon getIcon()
getIcon in interface ToolBarItempublic boolean isEnabled()
isEnabled in interface ToolBarItempublic void setEnabled(boolean isEnabled)
setEnabled in interface ToolBarItemisEnabled - the enabled to setpublic Command getCommand()
getCommand in interface ToolBarItemCopyright © 2012–2017 JBoss by Red Hat. All rights reserved.