JIDE 3.5.15

com.jidesoft.action
Class CommandBarFactory

java.lang.Object
  extended by com.jidesoft.action.CommandBarFactory

public class CommandBarFactory
extends Object

This class is used by JIDE examples to make creation of comamnd bar and components on the command bars easier. It is not intended for public usage.


Constructor Summary
CommandBarFactory()
           
 
Method Summary
static void addDemoMenus(JComponent menuBar, String[] menus)
           
protected static AbstractButton createButton(Icon icon)
           
protected static AbstractButton createButton(String text)
           
protected static AbstractButton createButton(String text, Icon icon)
           
protected static JComboBox createComboBox(String value)
           
static CommandBar createDockingFrameworkCommandBar(DockingManager dockingManager, DocumentPane documentPane)
           
static CommandBar createLookAndFeelCommandBar(Container container)
           
static JMenu createLookAndFeelMenu(Container container)
           
protected static JideMenu createMenu(Icon icon)
           
protected static JideMenu createMenu(String text, char mnemonic)
           
protected static JideMenu createMenu(String text, char mnemonic, Icon icon)
           
static CommandBar createMenuCommandBar(JMenuBar menuBar)
           
protected static JideSplitButton createSplitButton(Icon icon)
           
protected static JideSplitButton createSplitButton(String text)
           
protected static JideSplitButton createSplitButton(String text, Icon icon)
           
protected static JideToggleSplitButton createToggleSplitButton(String text, Icon icon)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandBarFactory

public CommandBarFactory()
Method Detail

createMenuCommandBar

public static CommandBar createMenuCommandBar(JMenuBar menuBar)

createButton

protected static AbstractButton createButton(Icon icon)

createButton

protected static AbstractButton createButton(String text)

createButton

protected static AbstractButton createButton(String text,
                                             Icon icon)

createSplitButton

protected static JideSplitButton createSplitButton(Icon icon)

createSplitButton

protected static JideSplitButton createSplitButton(String text)

createSplitButton

protected static JideSplitButton createSplitButton(String text,
                                                   Icon icon)

createToggleSplitButton

protected static JideToggleSplitButton createToggleSplitButton(String text,
                                                               Icon icon)

createMenu

protected static JideMenu createMenu(Icon icon)

createMenu

protected static JideMenu createMenu(String text,
                                     char mnemonic)

createMenu

protected static JideMenu createMenu(String text,
                                     char mnemonic,
                                     Icon icon)

createComboBox

protected static JComboBox createComboBox(String value)

addDemoMenus

public static void addDemoMenus(JComponent menuBar,
                                String[] menus)

createLookAndFeelMenu

public static JMenu createLookAndFeelMenu(Container container)

createLookAndFeelCommandBar

public static CommandBar createLookAndFeelCommandBar(Container container)

createDockingFrameworkCommandBar

public static CommandBar createDockingFrameworkCommandBar(DockingManager dockingManager,
                                                          DocumentPane documentPane)

JIDE 3.5.15