org.pietschy.command
Interface ToolbarFactory

All Superinterfaces:
ButtonFactory
All Known Implementing Classes:
DefaultToolbarFactory

public interface ToolbarFactory
extends ButtonFactory

This interface defines factory methods for creating all types of buttons for use on a JToolBar. It also includes a method for creating the toolbar itself.

See Also:
ButtonFactory, MenuFactory, DefaultToolbarFactory, CommandManager.setToolbarFactory(org.pietschy.command.ToolbarFactory)

Method Summary
 javax.swing.JToolBar createToolbar()
          A factory method for toolbars.
 
Methods inherited from interface org.pietschy.command.ButtonFactory
createButton, createCheckBox, createRadioButton, createToggleButton
 

Method Detail

createToolbar

javax.swing.JToolBar createToolbar()
A factory method for toolbars.

Returns:
a new JToolBar instance.