JavaGantt 2011.1 API

eu.beesoft.gaia.swing.builder
Class DialogBuilder

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.ContainerBuilder<T>
                  extended by eu.beesoft.gaia.swing.builder.AbstractWindowBuilder<javax.swing.JDialog>
                      extended by eu.beesoft.gaia.swing.builder.DialogBuilder

public class DialogBuilder
extends AbstractWindowBuilder<javax.swing.JDialog>

Builder to produce instances of javax.swing.JDialog. It supports this property:


Constructor Summary
DialogBuilder()
           
 
Method Summary
protected  void addSwingChild(ObjectBuilder<?> builder)
          Adds an object (component) of the given builder to the container created by this builder.
protected  javax.swing.JDialog createObject()
          Creates object for this builder.
protected  void initId(java.lang.String value)
          Initializes property ID for this value.
protected  void initTitle(java.lang.String value)
           
 
Methods inherited from class eu.beesoft.gaia.swing.builder.AbstractWindowBuilder
initAlwaysOnTop, initCursor, initFocusableWindowState, initGlassPane, initLocationRelativeTo, parseCursor
 
Methods inherited from class eu.beesoft.gaia.swing.builder.ContainerBuilder
findBoundData, getBoundValueFromComponent, initLayout, isBindable, setBoundValueToComponent
 
Methods inherited from class eu.beesoft.gaia.swing.builder.ComponentBuilder
addChild, convertValue, createBoundData, 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, getPropertyFromResourceBundle, getValueFromBoundObject, initBinding, parseDimension, setBoundData, 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

DialogBuilder

public DialogBuilder()
Method Detail

createObject

protected javax.swing.JDialog 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.

Specified by:
createObject in class ObjectBuilder<javax.swing.JDialog>
Returns:
created object

initId

protected void initId(java.lang.String value)
Description copied from class: ObjectBuilder
Initializes property ID for this value. Sets property to instance variable.

Overrides:
initId in class ComponentBuilder<javax.swing.JDialog>
Parameters:
value - - id to set

initTitle

protected void initTitle(java.lang.String value)

addSwingChild

protected void addSwingChild(ObjectBuilder<?> builder)
Description copied from class: ContainerBuilder
Adds an object (component) of the given builder to the container created by this builder. It is looking for the layout constraints to properly add the component.

Overrides:
addSwingChild in class AbstractWindowBuilder<javax.swing.JDialog>
Parameters:
builder - - a builder of the component to add

JavaGantt 2011.1 API