Package org.nuiton.jaxx.widgets.extra
Class SwingWidgetFactory
- java.lang.Object
-
- org.nuiton.jaxx.widgets.extra.SwingWidgetFactory
-
public class SwingWidgetFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description SwingWidgetFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractButton
createButton(ApplicationAction action)
Creates and returns aAbstractButton
static JMenu
createMenu(String text, char mnemonic)
static JMenuBar
createMenuBar()
Creates and returns aJMenuBar
static AbstractButton
createMenuButton(ApplicationAction action)
Creates and returns aAbstractButton
static JMenuItem
createMenuItem(ApplicationAction action)
static JPanel
createNamedPanel(String title)
Creates and returns aJPanel
static JPanel
createPanel()
Creates and returns aJPanel
static JSplitPane
createSplitPane()
Creates and returns aJSplitPane
static JToolBar
createToolBar()
Creates and returns aJToolBar
static void
setPanelTitle(JPanel panel, String title)
-
-
-
Method Detail
-
createMenuButton
public static AbstractButton createMenuButton(ApplicationAction action)
Creates and returns aAbstractButton
-
createButton
public static AbstractButton createButton(ApplicationAction action)
Creates and returns aAbstractButton
-
createSplitPane
public static JSplitPane createSplitPane()
Creates and returns aJSplitPane
-
createPanel
public static JPanel createPanel()
Creates and returns aJPanel
-
createToolBar
public static JToolBar createToolBar()
Creates and returns aJToolBar
-
createMenuBar
public static JMenuBar createMenuBar()
Creates and returns aJMenuBar
-
createMenuItem
public static JMenuItem createMenuItem(ApplicationAction action)
-
-