org.openorb.board.factory
Class DefaultComponentFactory

java.lang.Object
  |
  +--org.openorb.board.factory.DefaultComponentFactory
All Implemented Interfaces:
ComponentFactory

public class DefaultComponentFactory
extends java.lang.Object
implements ComponentFactory

OpenORB Management Board / Default Component Factory

Author:
Olivier Modica

Constructor Summary
DefaultComponentFactory()
           
 
Method Summary
 javax.swing.JComboBox createComboBox(java.lang.Object[] items)
          Create a ComboBox
 javax.swing.JDialog createDialog()
          Create a Dialog
 javax.swing.JButton createDialogButton()
          Create a Button
 javax.swing.JButton createDialogButton(javax.swing.Action a)
          Create a Button
 javax.swing.JFrame createFrame()
          Create a Frame
 javax.swing.JInternalFrame createInternalFrame()
          Create an InternalFrame
 javax.swing.JLabel createLabel()
          Create a Label
 javax.swing.JMenu createMenu()
          Create a Menu
 javax.swing.JMenu createMenu(javax.swing.Action a)
          Create a Menu
 javax.swing.JMenuBar createMenuBar()
          Create a MenuBar
 javax.swing.JMenuItem createMenuItem()
          Create a MenuItem
 javax.swing.JMenuItem createMenuItem(javax.swing.Action a)
          Create a MenuItem
 javax.swing.JPopupMenu createPopupMenu()
          Create a PopupMenu
 javax.swing.JComponent createStatusBar()
          Create a StatusBar
 javax.swing.JToolBar createToolBar()
          Create a ToolBar
 javax.swing.JButton createToolBarButton()
          Create a ToolBar Button
 javax.swing.JButton createToolBarButton(javax.swing.Action a)
          Create a ToolBar Button
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultComponentFactory

public DefaultComponentFactory()
Method Detail

createFrame

public javax.swing.JFrame createFrame()
Create a Frame
Specified by:
createFrame in interface ComponentFactory

createInternalFrame

public javax.swing.JInternalFrame createInternalFrame()
Create an InternalFrame
Specified by:
createInternalFrame in interface ComponentFactory

createDialog

public javax.swing.JDialog createDialog()
Create a Dialog
Specified by:
createDialog in interface ComponentFactory

createPopupMenu

public javax.swing.JPopupMenu createPopupMenu()
Create a PopupMenu
Specified by:
createPopupMenu in interface ComponentFactory

createToolBar

public javax.swing.JToolBar createToolBar()
Create a ToolBar
Specified by:
createToolBar in interface ComponentFactory

createComboBox

public javax.swing.JComboBox createComboBox(java.lang.Object[] items)
Create a ComboBox
Specified by:
createComboBox in interface ComponentFactory

createToolBarButton

public javax.swing.JButton createToolBarButton()
Create a ToolBar Button
Specified by:
createToolBarButton in interface ComponentFactory

createToolBarButton

public javax.swing.JButton createToolBarButton(javax.swing.Action a)
Create a ToolBar Button
Specified by:
createToolBarButton in interface ComponentFactory

createDialogButton

public javax.swing.JButton createDialogButton()
Create a Button
Specified by:
createDialogButton in interface ComponentFactory

createDialogButton

public javax.swing.JButton createDialogButton(javax.swing.Action a)
Create a Button
Specified by:
createDialogButton in interface ComponentFactory

createMenuBar

public javax.swing.JMenuBar createMenuBar()
Create a MenuBar
Specified by:
createMenuBar in interface ComponentFactory

createMenu

public javax.swing.JMenu createMenu()
Create a Menu
Specified by:
createMenu in interface ComponentFactory

createMenu

public javax.swing.JMenu createMenu(javax.swing.Action a)
Create a Menu
Specified by:
createMenu in interface ComponentFactory

createMenuItem

public javax.swing.JMenuItem createMenuItem()
Create a MenuItem
Specified by:
createMenuItem in interface ComponentFactory

createMenuItem

public javax.swing.JMenuItem createMenuItem(javax.swing.Action a)
Create a MenuItem
Specified by:
createMenuItem in interface ComponentFactory

createStatusBar

public javax.swing.JComponent createStatusBar()
Create a StatusBar
Specified by:
createStatusBar in interface ComponentFactory

createLabel

public javax.swing.JLabel createLabel()
Create a Label
Specified by:
createLabel in interface ComponentFactory