|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.randgestalten.toolbar.AbstractToolbarBuilder<V,T>
de.randgestalten.toolbar.AbstractSegmentedToolbarBuilder<V,com.bric.swing.toolbar.CustomizedToolbar>
de.randgestalten.toolbar.AbstractCustomizedToolbarBuilder<V>
public abstract class AbstractCustomizedToolbarBuilder<V extends AbstractCustomizedToolbarBuilder>
Use this builder top create customized toolbars.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class de.randgestalten.toolbar.AbstractToolbarBuilder |
|---|
AbstractToolbarBuilder.ComponentFactory, AbstractToolbarBuilder.DefaultComponentFactory |
| Field Summary |
|---|
| Fields inherited from class de.randgestalten.toolbar.AbstractToolbarBuilder |
|---|
builder, componentFactory, componentProperties, focusPainting, orientation, parent, toolbar, uiclass |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Constructor Summary | |
|---|---|
|
AbstractCustomizedToolbarBuilder(String toolbarName)
Create a new CustomizedToolbarBuilder with a given name. |
protected |
AbstractCustomizedToolbarBuilder(V parent,
JComponent container)
|
| Method Summary | |
|---|---|
V |
addFlexibleGap()
Add a flexible gap |
V |
addGap()
Add a gap |
protected void |
addImpl(JComponent component)
Internal method that adds component to the toolbar container |
V |
addSeperator()
Adds a default separator to the toolbar |
V |
addSeperator(Dimension dimension)
The size is ignored in this implementation and a default seperator is added. |
com.bric.swing.toolbar.CustomizedToolbar |
getToolbar()
|
V |
hide()
Hide the last component added to the toolabr. |
| Methods inherited from class de.randgestalten.toolbar.AbstractSegmentedToolbarBuilder |
|---|
applyPosition, initBuilder, withSegmentation |
| Methods inherited from class de.randgestalten.toolbar.AbstractToolbarBuilder |
|---|
add, add, add, add, add, close, createGroup, createGroup, createGroupContainer, createGroupContainer, getBuilder, installUI, prepareComponent, withComponentFactory, withFocusPainting, withProperty, withUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCustomizedToolbarBuilder(String toolbarName)
toolbarName - the toolbars name used to store the layout
protected AbstractCustomizedToolbarBuilder(V parent,
JComponent container)
| Method Detail |
|---|
public V addSeperator()
AbstractToolbarBuilder
addSeperator in class AbstractToolbarBuilder<V extends AbstractCustomizedToolbarBuilder,com.bric.swing.toolbar.CustomizedToolbar>public V addSeperator(Dimension dimension)
addSeperator in class AbstractToolbarBuilder<V extends AbstractCustomizedToolbarBuilder,com.bric.swing.toolbar.CustomizedToolbar>dimension - the prefered size of the toolbar
public V addGap()
public V addFlexibleGap()
public V hide()
protected void addImpl(JComponent component)
AbstractToolbarBuilder
addImpl in class AbstractSegmentedToolbarBuilder<V extends AbstractCustomizedToolbarBuilder,com.bric.swing.toolbar.CustomizedToolbar>public com.bric.swing.toolbar.CustomizedToolbar getToolbar()
getToolbar in class AbstractToolbarBuilder<V extends AbstractCustomizedToolbarBuilder,com.bric.swing.toolbar.CustomizedToolbar>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||