Class CheckBoxMenuItemProxy
- All Implemented Interfaces:
ItemListener, EventListener, ChildProxy<JCheckBoxMenuItem>
- Since:
- 3.1.0
- Author:
- Joel Uckelman
-
Field Summary
Fields inherited from class AbstractProxy
parent, peers, queueModifier and TypeFieldDescriptionprotected ParentProxyprotected final List<WeakReference<JCheckBoxMenuItem>> protected final ReferenceQueue<JCheckBoxMenuItem> -
Constructor Summary
ConstructorsConstructorDescriptionCheckBoxMenuItemProxy(Action action) CheckBoxMenuItemProxy(Action action, boolean state) -
Method Summary
Methods inherited from class AbstractProxy
forEachPeer, getParent, processQueue, setParentModifier and TypeMethodDescriptionprotected voidforEachPeer(VASSAL.tools.menu.Functor<JCheckBoxMenuItem> functor) protected voidvoidsetParent(ParentProxy parent)
-
Constructor Details
-
CheckBoxMenuItemProxy
public CheckBoxMenuItemProxy() -
CheckBoxMenuItemProxy
-
CheckBoxMenuItemProxy
-
-
Method Details
-
getAction
-
setAction
-
isSelected
public boolean isSelected() -
setSelected
public void setSelected(boolean state) -
createPeer
- Specified by:
createPeerin interfaceChildProxy<JCheckBoxMenuItem>- Specified by:
createPeerin classAbstractProxy<JCheckBoxMenuItem>
-
itemStateChanged
- Specified by:
itemStateChangedin interfaceItemListener
-