public class ComponentFactory
extends java.lang.Object
构造器和说明 |
---|
ComponentFactory() |
限定符和类型 | 方法和说明 |
---|---|
static SmButton |
createButtonApply()
生产一个应用按钮
|
static SmButton |
createButtonCancel()
生产一个取消按钮
|
static SmButton |
createButtonClose()
生产一个关闭按钮
|
static SmButton |
createButtonOK()
生产一个确定按钮
|
static javax.swing.JPanel |
createButtonPanel(javax.swing.JComponent... rightComponents)
生产一个水平排列按钮的Panel
|
static javax.swing.JPanel |
createButtonPanel(javax.swing.JComponent[] leftComponents, javax.swing.JComponent... rightComponents)
生产一个水平排列按钮的Panel
|
static com.supermap.desktop.core.ui.controls.GridBagConstraintsHelper |
createButtonPanelConstraints() |
static SmButton |
createButtonSelectAll()
生产一个全选按钮(无图标)
|
static SmButton |
createButtonSelectInverse()
生产一个反选按钮(无图标)
|
static SmTextFieldLegit |
createIntegerTextField(int defaultValue, int minValue, int maxValue)
生产一个整型限制的输入控件
|
static SmTextFieldLegit |
createNumericTextField(double defaultValue, double minValue, double maxValue)
生产一个浮点限制的输入控件
|
static SmTextFieldLegit |
createNumericTextField(double defaultValue, ISmTextFieldLegit smTextFieldLegit)
生产一个自定义限制规则的输入控件
|
static SmButton |
createToolBarButtonAddData()
生产一个ToolBar添加按钮
|
static SmButton |
createToolBarButtonAddFolder()
生产一个ToolBar添加按钮
|
static SmButton |
createToolBarButtonDelete()
生产一个ToolBar删除按钮
|
static SmButton |
createToolBarButtonExcute()
生产一个ToolBar反选按钮
|
static SmButton |
createToolBarButtonExport()
生产一个ToolBar导出按钮
|
static SmButton |
createToolBarButtonImport()
生产一个ToolBar导入按钮
|
static SmButton |
createToolBarButtonMoveBottom()
生产一个ToolBar 向下按钮
|
static SmButton |
createToolBarButtonMoveEnd()
生产一个ToolBar 置底按钮
|
static SmButton |
createToolBarButtonMoveUp()
生产一个ToolBar 向上按钮
|
static SmButton |
createToolBarButtonRemove() |
static SmButton |
createToolBarButtonSelectAll()
生产一个ToolBar全选按钮
|
static SmButton |
createToolBarButtonSelectInverse()
生产一个ToolBar反选按钮
|
static SmButton |
createToolBarButtonTopping()
生产一个ToolBar 置顶按钮
|
static SmButton |
createToolBarButtonUnifiedSetting()
生产一个ToolBar统一设置按钮
|
public static SmButton createButtonOK()
public static SmButton createButtonApply()
public static SmButton createButtonCancel()
public static SmButton createButtonClose()
public static SmButton createButtonSelectAll()
public static SmButton createButtonSelectInverse()
public static SmButton createToolBarButtonAddData()
public static SmButton createToolBarButtonAddFolder()
public static SmButton createToolBarButtonSelectAll()
public static SmButton createToolBarButtonSelectInverse()
public static SmButton createToolBarButtonExcute()
public static SmButton createToolBarButtonRemove()
public static SmButton createToolBarButtonDelete()
public static SmButton createToolBarButtonExport()
public static SmButton createToolBarButtonImport()
public static SmButton createToolBarButtonUnifiedSetting()
public static SmButton createToolBarButtonTopping()
public static SmButton createToolBarButtonMoveUp()
public static SmButton createToolBarButtonMoveBottom()
public static SmButton createToolBarButtonMoveEnd()
public static SmTextFieldLegit createIntegerTextField(int defaultValue, int minValue, int maxValue)
defaultValue
- 默认值minValue
- 最小值maxValue
- 最大值public static SmTextFieldLegit createNumericTextField(double defaultValue, double minValue, double maxValue)
defaultValue
- 默认值minValue
- 最小值maxValue
- 最大值public static SmTextFieldLegit createNumericTextField(double defaultValue, ISmTextFieldLegit smTextFieldLegit)
defaultValue
- 默认值smTextFieldLegit
- 输入合法性规则public static javax.swing.JPanel createButtonPanel(javax.swing.JComponent... rightComponents)
rightComponents
- 按鈕集合public static com.supermap.desktop.core.ui.controls.GridBagConstraintsHelper createButtonPanelConstraints()
public static javax.swing.JPanel createButtonPanel(javax.swing.JComponent[] leftComponents, javax.swing.JComponent... rightComponents)
leftComponents
- 靠左排列的控件rightComponents
- 靠右排列的控件