JavaGantt 2011.1 API

eu.beesoft.gaia.swing.builder
Class MenuBuilder

java.lang.Object
  extended by eu.beesoft.gaia.util.ObjectBuilder<T>
      extended by eu.beesoft.gaia.swing.builder.SwingBuilder<T>
          extended by eu.beesoft.gaia.swing.builder.ComponentBuilder<T>
              extended by eu.beesoft.gaia.swing.builder.AbstractButtonBuilder<javax.swing.JMenuItem>
                  extended by eu.beesoft.gaia.swing.builder.MenuItemBuilder
                      extended by eu.beesoft.gaia.swing.builder.MenuBuilder

public class MenuBuilder
extends MenuItemBuilder

This builder just creates a new javax.swing.JMenu.


Constructor Summary
MenuBuilder()
           
 
Method Summary
protected  void addSwingChild(ObjectBuilder<?> builder)
          This implementation processes just instances of LayoutConstraintsBuilder to remember layout constraints for component of this builder.
protected  javax.swing.JMenu createObject()
          Creates object for this builder.
 
Methods inherited from class eu.beesoft.gaia.swing.builder.MenuItemBuilder
initAccelerator
 
Methods inherited from class eu.beesoft.gaia.swing.builder.AbstractButtonBuilder
initAction, initActionCommand, initHorizontalAlignment, initIcon, initIconTextGap, initId, initSelected, initText, initVerticalAlignment
 
Methods inherited from class eu.beesoft.gaia.swing.builder.ComponentBuilder
addChild, convertValue, createBoundData, findBoundData, getLayoutConstraints, initBackground, initBorder, initEnabled, initFont, initForeground, initLayoutConstraint, initName, initOpaque, initSize, initToolTipText, initVisible, parseColor, parseIcon, setLayoutConstraints
 
Methods inherited from class eu.beesoft.gaia.swing.builder.SwingBuilder
getBindableChildren, getBinding, getBoundData, getBoundValueFromComponent, getPropertyFromResourceBundle, getValueFromBoundObject, initBinding, isBindable, parseDimension, setBoundData, setBoundValueToComponent, setValueToBoundObject
 
Methods inherited from class eu.beesoft.gaia.util.ObjectBuilder
createObject, getFactory, getChildren, getId, getObject, getParent, getProperties, getProperty, initClass, initObjectProperties, initObjectProperty, parseBoolean, parseClass, parseConstant, parseConstructor, parseDouble, parseInstance, parseInstance, parseInt, parseInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuBuilder

public MenuBuilder()
Method Detail

createObject

protected javax.swing.JMenu createObject()
Description copied from class: ObjectBuilder
Creates object for this builder. This method is invoked only once, when properties for builder and the builder's parent (but not children) are set.

Overrides:
createObject in class MenuItemBuilder
Returns:
created object

addSwingChild

protected void addSwingChild(ObjectBuilder<?> builder)
Description copied from class: ComponentBuilder
This implementation processes just instances of LayoutConstraintsBuilder to remember layout constraints for component of this builder.

Overrides:
addSwingChild in class ComponentBuilder<javax.swing.JMenuItem>
Parameters:
builder - - the builder which object should be added to swing component

JavaGantt 2011.1 API