Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.dinopolis.util.gui
Class MenuButtonActionChangedListener  view MenuButtonActionChangedListener download MenuButtonActionChangedListener.java

java.lang.Object
  extended byorg.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.


Field Summary
private  javax.swing.JMenuItem menu_item_
          the corresponding menu item
 
Constructor Summary
(package private) MenuButtonActionChangedListener(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.
 
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

Constructor Detail

MenuButtonActionChangedListener

MenuButtonActionChangedListener(javax.swing.JMenuItem menu_item)
Constructor taking the menu item as its argument.

Method Detail

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