|
|||||||||
| Home >> All >> org >> dinopolis >> util >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.dinopolis.util.gui
Class MenuItemActionChangedListener

java.lang.Objectorg.dinopolis.util.gui.MenuItemActionChangedListener
- All Implemented Interfaces:
- java.util.EventListener, java.beans.PropertyChangeListener
- class MenuItemActionChangedListener
- extends java.lang.Object
- implements java.beans.PropertyChangeListener
- extends java.lang.Object
The item change listener for menues to change the menues properties accordingly.
| Field Summary | |
private javax.swing.JMenuItem |
menu_item_
the corresponding menu item |
private javax.swing.Action |
selected_
the corresponding action |
| Constructor Summary | |
(package private) |
MenuItemActionChangedListener(javax.swing.JMenuItem menu_item)
Constructor taking the menu item as its argument. |
| Method Summary | |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Invoked on property change events received from the Action. |
(package private) void |
setSelected(javax.swing.Action action)
Changes the menu item's state according to the given value action. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
menu_item_
private javax.swing.JMenuItem menu_item_
- the corresponding menu item
selected_
private javax.swing.Action selected_
- the corresponding action
| Constructor Detail |
MenuItemActionChangedListener
MenuItemActionChangedListener(javax.swing.JMenuItem menu_item)
- Constructor taking the menu item as its argument.
| Method Detail |
setSelected
void setSelected(javax.swing.Action action)
- Changes the menu item's state according to the given value
action.
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Invoked on property change events received from the Action.
This will update the visualization of the menu item.
- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener
|
|||||||||
| Home >> All >> org >> dinopolis >> util >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.dinopolis.util.gui.MenuItemActionChangedListener