java.lang.Object
org.dinopolis.util.gui.MenuButtonActionChangedListener
- All Implemented Interfaces:
- java.util.EventListener, java.beans.PropertyChangeListener
- class MenuButtonActionChangedListener
- extends java.lang.Object
- implements java.beans.PropertyChangeListener
The selection change listener for menue buttons to change the
menues properties accordingly.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
menu_item_
private javax.swing.JMenuItem menu_item_
- the corresponding menu item
MenuButtonActionChangedListener
MenuButtonActionChangedListener(javax.swing.JMenuItem menu_item)
- Constructor taking the menu item as its argument.
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:
propertyChange in interface java.beans.PropertyChangeListener