de.randgestalten.toolbar
Class AbstractToolbarBuilder.DefaultComponentFactory
java.lang.Object
de.randgestalten.toolbar.AbstractToolbarBuilder.DefaultComponentFactory
- All Implemented Interfaces:
- AbstractToolbarBuilder.ComponentFactory
- Enclosing class:
- AbstractToolbarBuilder<V extends AbstractToolbarBuilder,T extends JComponent>
protected static class AbstractToolbarBuilder.DefaultComponentFactory
- extends Object
- implements AbstractToolbarBuilder.ComponentFactory
Default implementation. Uses JToolBar.Seperator, JButton and a JPanel with BoxLayout
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractToolbarBuilder.DefaultComponentFactory
protected AbstractToolbarBuilder.DefaultComponentFactory()
createButton
public AbstractButton createButton(Action action)
- Specified by:
createButton in interface AbstractToolbarBuilder.ComponentFactory
createSeperator
public JComponent createSeperator()
- Specified by:
createSeperator in interface AbstractToolbarBuilder.ComponentFactory
createSeperator
public JComponent createSeperator(Dimension dimension)
- Specified by:
createSeperator in interface AbstractToolbarBuilder.ComponentFactory
createGroupContainer
public JComponent createGroupContainer(int orientation)
- Specified by:
createGroupContainer in interface AbstractToolbarBuilder.ComponentFactory