JavaGantt 2011.1 API

eu.beesoft.gaia.swing.builder
Class TableColumnBuilder

java.lang.Object
  extended by eu.beesoft.gaia.util.ObjectBuilder<T>
      extended by eu.beesoft.gaia.swing.builder.SwingBuilder<javax.swing.table.TableColumn>
          extended by eu.beesoft.gaia.swing.builder.TableColumnBuilder

public class TableColumnBuilder
extends SwingBuilder<javax.swing.table.TableColumn>

Builder to produce instances of javax.swing.table.TableColumn. It supports these properties:


Constructor Summary
TableColumnBuilder()
           
 
Method Summary
protected  javax.swing.table.TableColumn createObject()
          Creates object for this builder.
 java.lang.Object getBoundColumnValue()
           
protected  void initCellRenderer(java.lang.String value)
           
protected  void initHeaderValue(java.lang.String value)
           
protected  void initId(java.lang.String value)
          Initializes property ID for this value.
protected  void initMaxWidth(java.lang.String value)
           
protected  void initMinWidth(java.lang.String value)
           
protected  void initPreferredWidth(java.lang.String value)
           
protected  void initResizable(java.lang.String value)
           
protected  void setBoundValueToComponent(java.lang.Object data, java.lang.String fullBinding)
          Sets given data value to the component created by this builder.
 
Methods inherited from class eu.beesoft.gaia.swing.builder.SwingBuilder
convertValue, createBoundData, findBoundData, getBindableChildren, getBinding, getBoundData, getBoundValueFromComponent, getPropertyFromResourceBundle, getValueFromBoundObject, initBinding, isBindable, parseDimension, setBoundData, setValueToBoundObject
 
Methods inherited from class eu.beesoft.gaia.util.ObjectBuilder
addChild, 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

TableColumnBuilder

public TableColumnBuilder()
Method Detail

createObject

protected javax.swing.table.TableColumn 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.table.TableColumn>
Returns:
created object

initCellRenderer

protected void initCellRenderer(java.lang.String value)

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 ObjectBuilder<javax.swing.table.TableColumn>
Parameters:
value - - id to set

initHeaderValue

protected void initHeaderValue(java.lang.String value)

initMaxWidth

protected void initMaxWidth(java.lang.String value)

initMinWidth

protected void initMinWidth(java.lang.String value)

initPreferredWidth

protected void initPreferredWidth(java.lang.String value)

initResizable

protected void initResizable(java.lang.String value)

setBoundValueToComponent

protected void setBoundValueToComponent(java.lang.Object data,
                                        java.lang.String fullBinding)
Description copied from class: SwingBuilder
Sets given data value to the component created by this builder. Override this method for specific component. This implementation simply throws RuntimeException to notify programmer about a necessity to override this method.

Overrides:
setBoundValueToComponent in class SwingBuilder<javax.swing.table.TableColumn>
Parameters:
data - - a value to set
fullBinding - - binding to given value from root form object

getBoundColumnValue

public java.lang.Object getBoundColumnValue()

JavaGantt 2011.1 API