JavaGantt 2011.1 API

eu.beesoft.gaia.swing.builder
Class AbstractButtonBuilder<T extends javax.swing.AbstractButton>

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<T>
Type Parameters:
T - class of object created by this builder
Direct Known Subclasses:
ButtonBuilder, CheckBoxBuilder, MenuItemBuilder

public abstract class AbstractButtonBuilder<T extends javax.swing.AbstractButton>
extends ComponentBuilder<T>

Abstract superclass of all Swing component builders that produce instances of javax.swingAbstractButton. Supports these properties:


Constructor Summary
AbstractButtonBuilder()
           
 
Method Summary
protected  void initAction(java.lang.String value)
          Initializes action property.
protected  void initActionCommand(java.lang.String value)
          Initializes actionCommand property.
protected  void initHorizontalAlignment(java.lang.String value)
          Initializes horizontalAlignment property.
protected  void initIcon(java.lang.String value)
          Initializes icon property.
protected  void initIconTextGap(java.lang.String value)
          Initializes iconTextGap property.
protected  void initId(java.lang.String value)
          Overriden to initialize text property from resource bundle.
protected  void initSelected(java.lang.String value)
          Initializes selected property.
protected  void initText(java.lang.String value)
          Initializes text property.
protected  void initVerticalAlignment(java.lang.String value)
          Initializes verticalAlignment property.
 
Methods inherited from class eu.beesoft.gaia.swing.builder.ComponentBuilder
addChild, addSwingChild, 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, 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

AbstractButtonBuilder

public AbstractButtonBuilder()
Method Detail

initId

protected void initId(java.lang.String value)
Overriden to initialize text property from resource bundle.

Overrides:
initId in class ComponentBuilder<T extends javax.swing.AbstractButton>
Parameters:
value - - value from according attribute in XML to initialize id property

initText

protected void initText(java.lang.String value)
Initializes text property.

Parameters:
value - - value from according attribute in XML to initialize text property

initIcon

protected void initIcon(java.lang.String value)
Initializes icon property.

Parameters:
value - - value from according attribute in XML to initialize icon property

initIconTextGap

protected void initIconTextGap(java.lang.String value)
Initializes iconTextGap property.

Parameters:
value - - value from according attribute in XML to initialize iconTextGap property

initHorizontalAlignment

protected void initHorizontalAlignment(java.lang.String value)
Initializes horizontalAlignment property.

Parameters:
value - - value from according attribute in XML to initialize horizontalAlignment property

initVerticalAlignment

protected void initVerticalAlignment(java.lang.String value)
Initializes verticalAlignment property.

Parameters:
value - - value from according attribute in XML to initialize verticalAlignment property

initSelected

protected void initSelected(java.lang.String value)
Initializes selected property.

Parameters:
value - - value from according attribute in XML to initialize selected property

initActionCommand

protected void initActionCommand(java.lang.String value)
Initializes actionCommand property.

Parameters:
value - - value from according attribute in XML to initialize actionCommand property

initAction

protected void initAction(java.lang.String value)
Initializes action property.

Parameters:
value - - value from according attribute in XML to initialize action property

JavaGantt 2011.1 API