Package VASSAL.tools.menu
Class CheckBoxMenuItemProxy
- All Implemented Interfaces:
ItemListener
,EventListener
,ChildProxy<JCheckBoxMenuItem>
- Since:
- 3.1.0
- Author:
- Joel Uckelman
-
Field Summary
Fields inherited from class VASSAL.tools.menu.AbstractProxy
parent, peers, queue
-
Constructor Summary
ConstructorDescriptionCheckBoxMenuItemProxy
(Action action) CheckBoxMenuItemProxy
(Action action, boolean state) -
Method Summary
Methods inherited from class VASSAL.tools.menu.AbstractProxy
forEachPeer, getParent, processQueue, setParent
-
Constructor Details
-
CheckBoxMenuItemProxy
public CheckBoxMenuItemProxy() -
CheckBoxMenuItemProxy
-
CheckBoxMenuItemProxy
-
-
Method Details
-
getAction
-
setAction
-
isSelected
public boolean isSelected() -
setSelected
public void setSelected(boolean state) -
createPeer
- Specified by:
createPeer
in interfaceChildProxy<JCheckBoxMenuItem>
- Specified by:
createPeer
in classAbstractProxy<JCheckBoxMenuItem>
-
itemStateChanged
- Specified by:
itemStateChanged
in interfaceItemListener
-