|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.utils.menu.MenuUtilities.MenuPropertyListener
public static class MenuUtilities.MenuPropertyListener
Listener to track changes in the menu items. Once any property has been changed, the popup layout metrics on the menu item and its parent popup menu are cleared.
Constructor Summary | |
---|---|
MenuUtilities.MenuPropertyListener(javax.swing.JMenuItem menuItem)
Creates a new listener. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MenuUtilities.MenuPropertyListener(javax.swing.JMenuItem menuItem)
menuItem
- Menu item.Method Detail |
---|
public void install()
public void uninstall()
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |