java.beans.PropertyChangeListener
, java.util.EventListener
public static class MenuUtilities.MenuPropertyListener
extends java.lang.Object
implements java.beans.PropertyChangeListener
Constructor | Description |
---|---|
MenuPropertyListener(javax.swing.JMenuItem menuItem) |
Creates a new listener.
|
Modifier and Type | Method | 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 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