eu.beesoft.gaia.swing.builder
Class SplitPaneBuilder
java.lang.Object
eu.beesoft.gaia.util.ObjectBuilder<T>
eu.beesoft.gaia.swing.builder.SwingBuilder<T>
eu.beesoft.gaia.swing.builder.ComponentBuilder<T>
eu.beesoft.gaia.swing.builder.ContainerBuilder<javax.swing.JSplitPane>
eu.beesoft.gaia.swing.builder.SplitPaneBuilder
public class SplitPaneBuilder
- extends ContainerBuilder<javax.swing.JSplitPane>
Builder to produce instances of javax.swing.JSplitPane
. It
supports these properties:
- dividerLocation - enabled value is an integer or double
- dividerSize - enabled value is an integer
- oneTouchExpandable - enabled values are true or false
- orientation - enabled values is constant from JSplitPane (for
example HORIZONTAL_SPLIT)
- resizeWeight - enabled value is double
Methods inherited from class eu.beesoft.gaia.swing.builder.ComponentBuilder |
addChild, convertValue, createBoundData, getLayoutConstraints, initBackground, initBorder, initEnabled, initFont, initForeground, initId, initLayoutConstraint, initName, initOpaque, initSize, initToolTipText, initVisible, parseColor, parseIcon, setLayoutConstraints |
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 |
SplitPaneBuilder
public SplitPaneBuilder()
createObject
protected javax.swing.JSplitPane 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.JSplitPane>
- Returns:
- created object
initDividerLocation
protected void initDividerLocation(java.lang.String value)
initDividerSize
protected void initDividerSize(java.lang.String value)
initOneTouchExpandable
protected void initOneTouchExpandable(java.lang.String value)
initOrientation
protected void initOrientation(java.lang.String value)
initResizeWeight
protected void initResizeWeight(java.lang.String value)
addSwingChild
protected void addSwingChild(ObjectBuilder<?> builder)
- Description copied from class:
ContainerBuilder
- Adds an object (component) of the given builder to the container created
by this builder. It is looking for the layout constraints to properly add
the component.
- Overrides:
addSwingChild
in class ContainerBuilder<javax.swing.JSplitPane>
- Parameters:
builder
- - a builder of the component to add