JComponentPack 1.3.0

com.zfqjava.swing
Class UIFactory

java.lang.Object
  extended by com.zfqjava.swing.UIFactory

public class UIFactory
extends Object

UIFactory provides a ui factory.


Constructor Summary
UIFactory(ResourceManager resourceManager, ActionManager actionManager)
           
 
Method Summary
protected  void configureToolBar(JToolBar toolBar, String name)
          Configures a new JToolBar use the specified name.
protected  AbstractButton createButton(String name)
          Creates a new JButton use the specified action name.
protected  JMenu createMenu(String name)
          Creates a new JMenu use the specified action name.
protected  JMenuBar createMenuBar(String name)
          Create a new JMenuBar use the specified name.
protected  JMenuItem createMenuItem(String name)
          Creates a new JMenuItem use the specified action name.
protected  JPopupMenu createPopupMenu(String name)
          Create a new JPopupMenu use the specified name.
protected  JToolBar createToolBar(String name)
          Creates a new JToolBar use the specified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIFactory

public UIFactory(ResourceManager resourceManager,
                 ActionManager actionManager)
Method Detail

createMenuBar

protected JMenuBar createMenuBar(String name)
Create a new JMenuBar use the specified name.

Parameters:
name - the name
Returns:
a new JMenuBar

createPopupMenu

protected JPopupMenu createPopupMenu(String name)
Create a new JPopupMenu use the specified name.

Parameters:
name - the name
Returns:
a new JPopupMenu

createToolBar

protected JToolBar createToolBar(String name)
Creates a new JToolBar use the specified name.

Parameters:
name - the name
Returns:
a new JToolBar

configureToolBar

protected void configureToolBar(JToolBar toolBar,
                                String name)
Configures a new JToolBar use the specified name.

Parameters:
toolBar - the JToolBar to configure
name - the name

createMenu

protected JMenu createMenu(String name)
Creates a new JMenu use the specified action name.

Parameters:
name - the action name

createMenuItem

protected JMenuItem createMenuItem(String name)
Creates a new JMenuItem use the specified action name.

Parameters:
name - the action name

createButton

protected AbstractButton createButton(String name)
Creates a new JButton use the specified action name.

Parameters:
name - the action name

JComponentPack 1.3.0

Send your Feedback
JComponentPack 1.3.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.