org.springframework.richclient.factory
Class DefaultMenuFactory

java.lang.Object
  extended by org.springframework.richclient.factory.DefaultMenuFactory
All Implemented Interfaces:
MenuFactory

public class DefaultMenuFactory
extends Object
implements MenuFactory

Author:
Keith Donald

Constructor Summary
DefaultMenuFactory()
           
 
Method Summary
 JCheckBoxMenuItem createCheckBoxMenuItem()
          Create a menu item with a checkbox LaF.
 JMenu createMenu()
          Create a menu.
 JMenuBar createMenuBar()
          Create a menu bar.
 JMenuItem createMenuItem()
          Create a menu item.
 JPopupMenu createPopupMenu()
          Create a popup menu most commonly used when with the mouse.
 JRadioButtonMenuItem createRadioButtonMenuItem()
          Create a menu item with a radio button LaF.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMenuFactory

public DefaultMenuFactory()
Method Detail

createMenu

public JMenu createMenu()
Description copied from interface: MenuFactory
Create a menu.

Specified by:
createMenu in interface MenuFactory

createMenuItem

public JMenuItem createMenuItem()
Description copied from interface: MenuFactory
Create a menu item.

Specified by:
createMenuItem in interface MenuFactory

createCheckBoxMenuItem

public JCheckBoxMenuItem createCheckBoxMenuItem()
Description copied from interface: MenuFactory
Create a menu item with a checkbox LaF.

Specified by:
createCheckBoxMenuItem in interface MenuFactory

createRadioButtonMenuItem

public JRadioButtonMenuItem createRadioButtonMenuItem()
Description copied from interface: MenuFactory
Create a menu item with a radio button LaF.

Specified by:
createRadioButtonMenuItem in interface MenuFactory

createPopupMenu

public JPopupMenu createPopupMenu()
Description copied from interface: MenuFactory
Create a popup menu most commonly used when with the mouse.

Specified by:
createPopupMenu in interface MenuFactory

createMenuBar

public JMenuBar createMenuBar()
Description copied from interface: MenuFactory
Create a menu bar.

Specified by:
createMenuBar in interface MenuFactory


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.