JavaGantt 2011.1 API

eu.beesoft.gaia.swing.builder
Class ListModelBuilder

java.lang.Object
  extended by eu.beesoft.gaia.util.ObjectBuilder<T>
      extended by eu.beesoft.gaia.swing.builder.SwingBuilder<javax.swing.ListModel>
          extended by eu.beesoft.gaia.swing.builder.ListModelBuilder

public class ListModelBuilder
extends SwingBuilder<javax.swing.ListModel>

This builder just creates a new list model. First it tries to create instance of class which name is equal to id property. If this fails, it creates DefaultListModel for javax.swing.JList and DefaultComboBoxModel for javax.swing.JComboBox.


Constructor Summary
ListModelBuilder()
           
 
Method Summary
protected  javax.swing.ListModel createObject()
          Creates object for 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, setBoundValueToComponent, setValueToBoundObject
 
Methods inherited from class eu.beesoft.gaia.util.ObjectBuilder
addChild, createObject, getFactory, getChildren, getId, getObject, getParent, getProperties, getProperty, initClass, initId, 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

ListModelBuilder

public ListModelBuilder()
Method Detail

createObject

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

JavaGantt 2011.1 API