|
JComponentPack 1.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zfqjava.swing.UIFactory
public class UIFactory
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 |
|---|
public UIFactory(ResourceManager resourceManager,
ActionManager actionManager)
| Method Detail |
|---|
protected JMenuBar createMenuBar(String name)
JMenuBar use the specified name.
name - the name
protected JPopupMenu createPopupMenu(String name)
JPopupMenu use the specified name.
name - the name
protected JToolBar createToolBar(String name)
JToolBar use the specified name.
name - the name
protected void configureToolBar(JToolBar toolBar,
String name)
JToolBar use the specified name.
toolBar - the JToolBar to configurename - the nameprotected JMenu createMenu(String name)
JMenu use the specified
action name.
name - the action nameprotected JMenuItem createMenuItem(String name)
JMenuItem use the specified
action name.
name - the action nameprotected AbstractButton createButton(String name)
JButton use the specified
action name.
name - the action name
|
JComponentPack 1.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||