de.randgestalten.toolbar
Class CustomizableToolbarBuilder

java.lang.Object
  extended by de.randgestalten.toolbar.AbstractToolbarBuilder<V,T>
      extended by de.randgestalten.toolbar.AbstractSegmentedToolbarBuilder<V,com.bric.swing.toolbar.CustomizedToolbar>
          extended by de.randgestalten.toolbar.AbstractCustomizedToolbarBuilder<CustomizableToolbarBuilder>
              extended by de.randgestalten.toolbar.CustomizableToolbarBuilder
All Implemented Interfaces:
SwingConstants

public class CustomizableToolbarBuilder
extends AbstractCustomizedToolbarBuilder<CustomizableToolbarBuilder>

Default implementation for customizable toolbar builder.

Author:
Thasso Griebel (thasso.griebel@gmail.com)

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
protected CustomizableToolbarBuilder(CustomizableToolbarBuilder parent, JComponent container)
           
  CustomizableToolbarBuilder(String toolbarName)
           
 
Method Summary
protected  CustomizableToolbarBuilder createGroup(JComponent container)
          Create a new buidler group
 
Methods inherited from class de.randgestalten.toolbar.AbstractCustomizedToolbarBuilder
addFlexibleGap, addGap, addImpl, addSeperator, addSeperator, getToolbar, hide
 
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, 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

CustomizableToolbarBuilder

public CustomizableToolbarBuilder(String toolbarName)

CustomizableToolbarBuilder

protected CustomizableToolbarBuilder(CustomizableToolbarBuilder parent,
                                     JComponent container)
Method Detail

createGroup

protected CustomizableToolbarBuilder createGroup(JComponent container)
Description copied from class: AbstractToolbarBuilder
Create a new buidler group

Specified by:
createGroup in class AbstractToolbarBuilder<CustomizableToolbarBuilder,com.bric.swing.toolbar.CustomizedToolbar>
Parameters:
container - the container
Returns:
group the group