org.nuiton.widget
Class SwingWidgetFactory

java.lang.Object
  extended by org.nuiton.widget.SwingWidgetFactory

public class SwingWidgetFactory
extends Object


Constructor Summary
SwingWidgetFactory()
           
 
Method Summary
static AbstractButton createButton(ApplicationAction action)
          Creates and returns a AbstractButton
static DatePicker createDatePicker(DateFormat dateFormat)
          Deprecated. 
static AbstractButton createHyperLinkButton(ApplicationAction action)
          Deprecated. since 1.0.4, use swingx hyperlink component instead (removed in 1.1)
static JMenu createMenu(String text, char mnemonic)
           
static JMenuBar createMenuBar()
          Deprecated. since 1.0.4 with no replacement (removed in 1.1)
static AbstractButton createMenuButton(ApplicationAction action)
          Creates and returns a AbstractButton
static JMenuItem createMenuItem(ApplicationAction action)
           
static JPanel createNamedPanel(String title)
          Creates and returns a JPanel
static JPanel createPanel()
          Creates and returns a JPanel
static JSplitPane createSplitPane()
          Creates and returns a JSplitPane
static JToolBar createToolBar()
          Deprecated. since 1.0.4 with no replacement (removed in 1.1)
static void setPanelTitle(JPanel panel, String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingWidgetFactory

public SwingWidgetFactory()
Method Detail

createMenuButton

public static AbstractButton createMenuButton(ApplicationAction action)
Creates and returns a AbstractButton


createButton

public static AbstractButton createButton(ApplicationAction action)
Creates and returns a AbstractButton


createHyperLinkButton

@Deprecated
public static AbstractButton createHyperLinkButton(ApplicationAction action)
Deprecated. since 1.0.4, use swingx hyperlink component instead (removed in 1.1)

Creates and returns a AbstractButton


createSplitPane

public static JSplitPane createSplitPane()
Creates and returns a JSplitPane


createPanel

public static JPanel createPanel()
Creates and returns a JPanel


createNamedPanel

public static JPanel createNamedPanel(String title)
Creates and returns a JPanel


setPanelTitle

public static void setPanelTitle(JPanel panel,
                                 String title)

createToolBar

@Deprecated
public static JToolBar createToolBar()
Deprecated. since 1.0.4 with no replacement (removed in 1.1)

Creates and returns a JToolBar


createMenuBar

@Deprecated
public static JMenuBar createMenuBar()
Deprecated. since 1.0.4 with no replacement (removed in 1.1)

Creates and returns a JMenuBar


createMenu

public static JMenu createMenu(String text,
                               char mnemonic)

createMenuItem

public static JMenuItem createMenuItem(ApplicationAction action)

createDatePicker

@Deprecated
public static DatePicker createDatePicker(DateFormat dateFormat)
Deprecated. 



Copyright © 2004-2010 CodeLutin. All Rights Reserved.