PropertyChangeListener, EventListenerpublic static class MenuUtilities.MenuPropertyListener extends Object implements PropertyChangeListener
| Constructor | Description |
|---|---|
MenuPropertyListener(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(PropertyChangeEvent evt) |
|
void |
uninstall() |
Uninstalls the property change listener from the associated menu
item.
|
public MenuPropertyListener(JMenuItem menuItem)
menuItem - Menu item.public void install()
public void uninstall()
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListener