public static class MenuUtilities.MenuPropertyListener
extends java.lang.Object
implements java.beans.PropertyChangeListener
Constructor and Description |
---|
MenuUtilities.MenuPropertyListener(javax.swing.JMenuItem menuItem)
Creates a new listener.
|
Modifier and Type | Method and Description |
---|---|
void |
install()
Installs the property change listener on the associated menu item.
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
void |
uninstall()
Uninstalls the property change listener from the associated menu
item.
|
public MenuUtilities.MenuPropertyListener(javax.swing.JMenuItem menuItem)
menuItem
- Menu item.public void install()
public void uninstall()
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener