public abstract static class ToolBar.EToolBarButton extends EMenuItem
EMenuItem.CheckBoxNULL_ARRAY, SEPARATOR| Modifier and Type | Method and Description |
|---|---|
javax.swing.AbstractButton |
genToolBarButton()
Generates tool bar button item by this this generic EToolBarButton
|
javax.swing.ImageIcon |
getIcon()
Method to return the icon associated with this button.
|
java.lang.String |
getMenuName()
Method to return the name of the menu entry associated with this button.
|
protected void |
registerItem()
Register this menu item in EMenuBar.
|
void |
setIcon(javax.swing.ImageIcon i,
java.lang.String path)
Method to set the icon associated with this button.
|
protected void |
updateButtons()
Updates GUI buttons after change of state of generic button.
|
actionPerformed, createMenuItem, getDescription, getMnemonicChar, getPath, getText, getToolTipText, isEnabled, isSelected, registerUpdatable, repeatLastCommand, run, shortcut, shortcut, toString, updateMenuItempublic java.lang.String getMenuName()
public javax.swing.ImageIcon getIcon()
public void setIcon(javax.swing.ImageIcon i,
java.lang.String path)
i - the new icon associated with this button.path - the full path to the icon file.public javax.swing.AbstractButton genToolBarButton()
protected void registerItem()
EMenuItemregisterItem in class EMenuItemprotected void updateButtons()
EMenuItemupdateButtons in class EMenuItem