public class BarFactory extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected AbstractEditor |
editor |
| 构造器和说明 |
|---|
BarFactory(AbstractEditor editor) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
activateSpecialButtonGroup(boolean isActivate)
将流程定义图形按钮组置为激活或未激活 Activate Or NoActivate SpecialButton Method
|
JMenuBar |
createFormMenubar(String key)
创建主界面菜单 Create the menubar for the app.
|
Component |
createGraphToolBars()
创建图形界面工具栏组
|
protected JMenu |
createMenu(String key,
String[] itemKeys)
创建一组菜单 Create a menubar for the app.
|
JMenuBar |
createMenubar()
创建主界面菜单 Create the menubar for the app.
|
static JMenuItem |
createMenuItem(String cmd)
Create menubar item with appropriate icon.
|
JMenuItem |
createMenuItem(String cmd,
boolean putIntoTable)
创建菜单项 This is the hook through which all menubar items are created.
|
protected JPopupMenu |
createPopupMenuOfJTabbedPanel()
Creates popup menubar and adds a various actions (depending of where mouse
was pressed - which process is selected).
|
Component |
createSpecialButtonGroup()
创建流程定义图形的按钮组 Creates WorkFlow's ButtonGroup.
|
protected Component |
createSpecialButtonGroupButton(String key)
根据资源文件配置,创建流程定义图形的按钮 Create a button to go inside of the buttongroup.
|
protected Component |
createSpecialButtonGroupTool(String key)
根据资源文件配置,创建流程定义图形的按钮 Hook through which every buttongroup item is
created.
|
protected Component |
createTool(String key)
根据资源文件配置,创建工具栏的按钮 Hook through which every toolbar item is created.
|
protected Component |
createToolbar(String key,
String label)
根据资源文件配置,创建一组工具栏 Create the toolbar.
|
protected Component |
createToolbarButton(String key)
根据资源文件配置,创建工具栏的按钮 Create a button to go inside of the toolbar.
|
Component |
createToolBars()
创建主界面的工具栏组 Creates application's toolbars.
|
Component |
createToolBars(String toolBarsName) |
static void |
setAccelerator(JMenuItem mi,
String accel)
设置菜单项的组合键快捷方式
|
static void |
setMnemonic(JMenuItem mi,
String mnemonic)
设置菜单项的组合键快捷方式
|
protected AbstractEditor editor
public BarFactory(AbstractEditor editor)
public Component createGraphToolBars()
createToolBars()public Component createToolBars()
createToolBars()protected Component createToolbar(String key, String label)
key - The key in the resource file to serve as the basislabel - The label of toolbarcreateToolbar(java.lang.String, java.lang.String)protected Component createTool(String key)
protected Component createToolbarButton(String key)
key - The key in the resource file to serve as the basis of lookups.public Component createSpecialButtonGroup()
protected Component createSpecialButtonGroupTool(String key)
key - The key in the resource file to serve as the basis of lookups.createSpecialButtonGroupTool(java.lang.String)protected Component createSpecialButtonGroupButton(String key)
key - The key in the resource file to serve as the basis of lookups.public void activateSpecialButtonGroup(boolean isActivate)
isActivate - 是否激活流程定义图形按钮组public JMenuBar createMenubar()
public JMenuBar createFormMenubar(String key)
protected JMenu createMenu(String key, String[] itemKeys)
public JMenuItem createMenuItem(String cmd, boolean putIntoTable)
public static void setMnemonic(JMenuItem mi, String mnemonic)
mi - 菜单项mnemonic - 快捷方式public static void setAccelerator(JMenuItem mi, String accel)
mi - 菜单项accel - 快捷方式public static JMenuItem createMenuItem(String cmd)
protected JPopupMenu createPopupMenuOfJTabbedPanel()
Copyright © 2023 onecode. All rights reserved.