|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.electric.tool.user.menus.EMenuItem
com.sun.electric.tool.user.ui.ToolBar.EToolBarButton
public abstract static class ToolBar.EToolBarButton
Generic tool bar button.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.electric.tool.user.menus.EMenuItem |
|---|
EMenuItem.CheckBox |
| Field Summary |
|---|
| Fields inherited from class com.sun.electric.tool.user.menus.EMenuItem |
|---|
NULL_ARRAY, SEPARATOR |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sun.electric.tool.user.menus.EMenuItem |
|---|
actionPerformed, createMenuItem, getDescription, getMnemonicChar, getPath, getText, getToolTipText, isEnabled, isSelected, registerUpdatable, repeatLastCommand, run, shortcut, shortcut, toString, updateMenuItem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public 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()
EMenuItem
registerItem in class EMenuItemprotected void updateButtons()
EMenuItem
updateButtons in class EMenuItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||