Package VASSAL.tools.menu
Class CheckBoxMenuItemProxy
- All Implemented Interfaces:
ItemListener,EventListener,ChildProxy<JCheckBoxMenuItem>
public class CheckBoxMenuItemProxy extends AbstractProxy<JCheckBoxMenuItem> implements ItemListener
- Since:
- 3.1.0
- Author:
- Joel Uckelman
-
Field Summary
Fields inherited from class VASSAL.tools.menu.AbstractProxy
parent, peers, queue -
Constructor Summary
Constructors Constructor Description CheckBoxMenuItemProxy()CheckBoxMenuItemProxy(Action action)CheckBoxMenuItemProxy(Action action, boolean state) -
Method Summary
Modifier and Type Method Description JCheckBoxMenuItemcreatePeer()ActiongetAction()booleanisSelected()voiditemStateChanged(ItemEvent e)voidsetAction(Action action)voidsetSelected(boolean state)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:
createPeerin interfaceChildProxy<JCheckBoxMenuItem>- Specified by:
createPeerin classAbstractProxy<JCheckBoxMenuItem>
-
itemStateChanged
- Specified by:
itemStateChangedin interfaceItemListener
-