Package com.nomagic.actions
Class ActionsMenuCreator.DisableLaterOnEnableListener
- java.lang.Object
-
- com.nomagic.actions.ActionsMenuCreator.DisableLaterOnEnableListener
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
- Enclosing class:
- ActionsMenuCreator
private static final class ActionsMenuCreator.DisableLaterOnEnableListener extends java.lang.Object implements java.beans.PropertyChangeListener
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ref.WeakReference<NMAction>
actionReference
private java.lang.ref.WeakReference<javax.swing.MenuElement>
menuReference
-
Constructor Summary
Constructors Modifier Constructor Description private
DisableLaterOnEnableListener(javax.swing.MenuElement menu, NMAction action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private NMAction
getAction()
void
propertyChange(java.beans.PropertyChangeEvent evt)
(package private) void
unregister()
-
-
-
Field Detail
-
menuReference
private final java.lang.ref.WeakReference<javax.swing.MenuElement> menuReference
-
actionReference
private final java.lang.ref.WeakReference<NMAction> actionReference
-
-
Constructor Detail
-
DisableLaterOnEnableListener
private DisableLaterOnEnableListener(javax.swing.MenuElement menu, NMAction action)
-
-
Method Detail
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
unregister
void unregister()
-
getAction
@CheckForNull private NMAction getAction()
-
-