|
Gaia 2011.2 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecteu.beesoft.gaia.util.ObjectBuilder<T>
eu.beesoft.gaia.swing.builder.SwingBuilder<T>
eu.beesoft.gaia.swing.builder.ComponentBuilder<javax.swing.JList>
eu.beesoft.gaia.swing.builder.ListBuilder
public class ListBuilder
Builder to produce instances of javax.swing.JList. It supports
these properties:
ListBoundRenderer )cellRendererbackground property in ComponentBuilder).background property in ComponentBuilder).
| Constructor Summary | |
|---|---|
ListBuilder()
|
|
| 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.JList |
createObject()
Creates object for this builder. |
protected java.lang.Object |
getBoundValueFromComponent(java.util.Set<java.lang.Object> changedObjects,
java.lang.String fullBinding)
Gets data value from the component created by this builder. |
protected void |
initCellRenderer(java.lang.String value)
|
protected void |
initItemBinding(java.lang.String value)
|
protected void |
initModel(java.lang.String value)
|
protected void |
initRenderer(java.lang.String value)
|
protected void |
initSelectionBackground(java.lang.String value)
|
protected void |
initSelectionForeground(java.lang.String value)
|
protected void |
initVisibleRowCount(java.lang.String value)
|
protected boolean |
isBindable()
Returns true if binding ! |
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.ComponentBuilder |
|---|
addChild, convertValue, createBoundData, findBoundData, getLayoutConstraints, initBackground, initBorder, initEnabled, initFont, initForeground, initId, 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 |
|---|
public ListBuilder()
| Method Detail |
|---|
protected javax.swing.JList createObject()
ObjectBuilder
createObject in class ObjectBuilder<javax.swing.JList>protected void addSwingChild(ObjectBuilder<?> builder)
ComponentBuilderLayoutConstraintsBuilder to remember layout constraints for
component of this builder.
addSwingChild in class ComponentBuilder<javax.swing.JList>builder - - the builder which object should be added to swing componentprotected void initItemBinding(java.lang.String value)
protected void initSelectionBackground(java.lang.String value)
protected void initSelectionForeground(java.lang.String value)
protected void initVisibleRowCount(java.lang.String value)
protected void initRenderer(java.lang.String value)
protected void initCellRenderer(java.lang.String value)
protected void initModel(java.lang.String value)
protected boolean isBindable()
SwingBuilder
isBindable in class SwingBuilder<javax.swing.JList>
protected void setBoundValueToComponent(java.lang.Object data,
java.lang.String fullBinding)
SwingBuilder
setBoundValueToComponent in class SwingBuilder<javax.swing.JList>data - - a value to setfullBinding - - binding to given value from root form object
protected java.lang.Object getBoundValueFromComponent(java.util.Set<java.lang.Object> changedObjects,
java.lang.String fullBinding)
SwingBuilder
getBoundValueFromComponent in class SwingBuilder<javax.swing.JList>changedObjects - - collection of changed data objects, add your data object to
this if your component's value was changed by userfullBinding - - binding to component's value from root form object
|
Gaia 2011.2 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||