eu.beesoft.gaia.swing.builder
Class TabbedPaneBuilder
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<JCloseableTabbedPane>
eu.beesoft.gaia.swing.builder.TabbedPaneBuilder
public class TabbedPaneBuilder
- extends ContainerBuilder<JCloseableTabbedPane>
Builder to produce instances of JCloseableTabbedPane
. It supports
these properties:
- autoClose - enabled value is true or false
- closeable - enabled value is true or false
- tabLayoutPolicy - enabled value is an constant from JTabbedPane
(for example WRAP_TAB_LAYOUT)
- tabPlacement - enabled value is an constant from JTabbedPane (for
example TOP)
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 |
TabbedPaneBuilder
public TabbedPaneBuilder()
createObject
protected JCloseableTabbedPane 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<JCloseableTabbedPane>
- Returns:
- created object
initTabLayoutPolicy
protected void initTabLayoutPolicy(java.lang.String value)
initTabPlacement
protected void initTabPlacement(java.lang.String value)
initCloseable
protected void initCloseable(java.lang.String value)
initAutoClose
protected void initAutoClose(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<JCloseableTabbedPane>
- Parameters:
builder
- - a builder of the component to add