org.jclarion.clarion.control
Class MenuControl

java.lang.Object
  extended by org.jclarion.clarion.PropertyObject
      extended by org.jclarion.clarion.control.AbstractControl
          extended by org.jclarion.clarion.control.AbstractButtonControl
              extended by org.jclarion.clarion.control.AbstractMenuItemControl
                  extended by org.jclarion.clarion.control.MenuControl
All Implemented Interfaces:
KeyableControl, SimpleMnemonicAllowed, AbstractAWTPropertyGetter

public class MenuControl
extends AbstractMenuItemControl


Constructor Summary
MenuControl()
           
 
Method Summary
 void add(AbstractMenuItemControl ic)
           
 void addChild(AbstractControl control)
           
 void clearMetaData()
           
 void createMenuItem(javax.swing.JMenu parent)
           
protected  void debugMetaData(java.lang.StringBuilder sb)
           
 javax.swing.AbstractButton getButton()
           
 java.util.Collection<AbstractMenuItemControl> getChildren()
           
 java.awt.Component getComponent()
           
 int getCreateType()
           
 javax.swing.JMenu getMenu()
           
 
Methods inherited from class org.jclarion.clarion.control.AbstractMenuItemControl
isAcceptAllControl, validateInput
 
Methods inherited from class org.jclarion.clarion.control.AbstractButtonControl
accept, configureButton, doClickOnFocus, initButton
 
Methods inherited from class org.jclarion.clarion.control.AbstractControl
canConstruct, canNotifyLocalChange, changeFont, clearRefocusOnEventQueue, configureColor, configureDefaults, configureFont, constructSwingComponent, containsUse, doToggleMode, getAccept, getAWTProperty, getChild, getChildIndex, getColor, getControlAdjustInsets, getIcon, getKey, getLocalProperty, getMode, getNestedColor, getOwner, getParent, getParentPropertyObject, getPicture, getPreferredSize, getProperty, getToggleComponents, getUseID, getUseObject, getWindowOwner, initPicture, isAlertKey, isAWTProperty, isMouseAlert, isMouseAlertsEnabled, notifyLocalChange, post, postAndWait, removeChild, setAlrt, setAt, setBevel, setBoxed, setCenter, setColor, setConstructOnUnhide, setDecimal, setDisabled, setFocus, setFont, setHelp, setHidden, setImmediate, setKey, setLeft, setMouseAlertsEnabled, setMsg, setOwner, setParent, setPicture, setPositionAndState, setProperty, setRight, setSkip, setStandard, setText, setTip, setTransparent, setUseID, toggleMode, toggleMode, update, use
 
Methods inherited from class org.jclarion.clarion.PropertyObject
addListener, debugMetaData, getDebugMetaData, getDebugMetaData, getId, getInheritedProperty, getProperty, getProperty, getProperty, getPropertyOrDefault, getRawProperty, getRawProperty, getSetProperties, isProperty, isSettable, reMap, removeAllListeners, removeListener, setClonedProperty, setClonedProperty, setClonedProperty, setClonedProperty, setClonedProperty, setId, setProperty, setProperty, setProperty, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jclarion.clarion.control.KeyableControl
getKey
 

Constructor Detail

MenuControl

public MenuControl()
Method Detail

addChild

public void addChild(AbstractControl control)
Overrides:
addChild in class AbstractControl

add

public void add(AbstractMenuItemControl ic)

getChildren

public java.util.Collection<AbstractMenuItemControl> getChildren()
Overrides:
getChildren in class AbstractControl

getCreateType

public int getCreateType()
Specified by:
getCreateType in class AbstractControl

clearMetaData

public void clearMetaData()
Overrides:
clearMetaData in class AbstractButtonControl

debugMetaData

protected void debugMetaData(java.lang.StringBuilder sb)
Overrides:
debugMetaData in class AbstractButtonControl

getMenu

public javax.swing.JMenu getMenu()

createMenuItem

public void createMenuItem(javax.swing.JMenu parent)
Specified by:
createMenuItem in class AbstractMenuItemControl

getButton

public javax.swing.AbstractButton getButton()
Specified by:
getButton in class AbstractButtonControl

getComponent

public java.awt.Component getComponent()
Specified by:
getComponent in class AbstractControl


Copyright © 2010. All Rights Reserved.