Package VASSAL.tools.menu
Class MenuProxy
-
Field Summary
Fields inherited from class VASSAL.tools.menu.AbstractParent
children
Fields inherited from class VASSAL.tools.menu.AbstractProxy
parent, peers, queue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetText()
insertSeparator
(int pos) boolean
void
setHideIfBlank
(boolean hideIfBlank) void
setMnemonic
(char mnemonic) void
Methods inherited from class VASSAL.tools.menu.AbstractParent
add, getChild, getChildCount, getChildren, getIndex, insert, proxyIndexToRealIndex, remove, remove
Methods inherited from class VASSAL.tools.menu.AbstractProxy
forEachPeer, getParent, processQueue, setParent
-
Constructor Details
-
MenuProxy
public MenuProxy() -
MenuProxy
public MenuProxy(boolean hideIfBlank) -
MenuProxy
-
-
Method Details
-
isHideIfBlank
public boolean isHideIfBlank() -
setHideIfBlank
public void setHideIfBlank(boolean hideIfBlank) -
addSeparator
-
insertSeparator
-
getText
-
setText
-
createPeer
- Specified by:
createPeer
in interfaceChildProxy<JMenu>
- Specified by:
createPeer
in classAbstractProxy<JMenu>
-
setMnemonic
public void setMnemonic(char mnemonic)
-