eu.beesoft.gaia.swing.builder
Class TreeBuilder
java.lang.Object
eu.beesoft.gaia.util.ObjectBuilder<T>
eu.beesoft.gaia.swing.builder.SwingBuilder<T>
eu.beesoft.gaia.swing.builder.ComponentBuilder<javax.swing.JTree>
eu.beesoft.gaia.swing.builder.TreeBuilder
public class TreeBuilder
- extends ComponentBuilder<javax.swing.JTree>
Builder to produce instances of javax.swing.JTree
. It supports
these properties:
- cellEditor - enabled value is a name of the class of the tree cell
editor
- editable - enabled value is true or false
- expandsSelectedPaths - enabled value is true or false
- largeModel - enabled value is true or false
- model - enabled value is a name of the class of the TreeModel
- rootVisible - enabled value is true or false
- rowHeight - enabled value is an integer
- scrollsOnExpand - enabled value is an integer
- showsRootHandles - enabled value is true or false
- toggleClickCount - enabled value is true or false
- visibleRowCount - enabled value is an integer
Methods inherited from class eu.beesoft.gaia.swing.builder.ComponentBuilder |
addChild, addSwingChild, 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, getBoundValueFromComponent, getPropertyFromResourceBundle, getValueFromBoundObject, initBinding, isBindable, parseDimension, setBoundData, setBoundValueToComponent, 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 |
TreeBuilder
public TreeBuilder()
createObject
protected javax.swing.JTree 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.JTree>
- Returns:
- created object
initCellEditor
protected void initCellEditor(java.lang.String value)
initCellRenderer
protected void initCellRenderer(java.lang.String value)
initDragEnabled
protected void initDragEnabled(java.lang.String value)
initEditable
protected void initEditable(java.lang.String value)
initExpandsSelectedPaths
protected void initExpandsSelectedPaths(java.lang.String value)
setInvokesStopCellEditing
protected void setInvokesStopCellEditing(java.lang.String value)
initLargeModel
protected void initLargeModel(java.lang.String value)
initModel
protected void initModel(java.lang.String value)
initRootVisible
protected void initRootVisible(java.lang.String value)
initRowHeight
protected void initRowHeight(java.lang.String value)
initScrollsOnExpand
protected void initScrollsOnExpand(java.lang.String value)
initShowsRootHandles
protected void initShowsRootHandles(java.lang.String value)
initToggleClickCount
protected void initToggleClickCount(java.lang.String value)
initVisibleRowCount
protected void initVisibleRowCount(java.lang.String value)