public class FRGUIPaneFactory
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static int |
HEIGHT_OFFSET |
static int |
HEIGHT_PARA |
static int |
WIDTH_OFFSET_M |
static int |
WIDTH_OFFSET_N |
static float |
WIDTH_PARA_F |
static int |
WIDTH_PARA_INT |
static float |
WIDTHABS_PARA_F |
限定符和类型 | 方法和说明 |
---|---|
static int |
caculateHeight(int height)
计算高度
|
static int |
caculateWidth(int width)
计算宽度
|
static java.awt.LayoutManager |
create1ColumnGridLayout()
创建一个1列的网格布局
|
static java.awt.LayoutManager |
create2ColumnGridLayout()
创建一个2列的网格布局
|
static javax.swing.JPanel |
createBigHGapFlowInnerContainer_M_Pane()
创建一个靠左空边框布局,间隔大
|
static javax.swing.JPanel |
createBorderLayout_L_Pane()
创建边框面板L
|
static javax.swing.JPanel |
createBorderLayout_M_Pane()
创建边框面板M
|
static javax.swing.JPanel |
createBorderLayout_S_Pane()
创建边框面板S
|
static java.awt.LayoutManager |
createBorderLayout()
创建一个边框布局
|
static javax.swing.JPanel |
createBoxFlowInnerContainer_S_Pane_First0()
创建一个靠左流式布局,流式内嵌,首元素距离左边0
|
static javax.swing.JPanel |
createBoxFlowInnerContainer_S_Pane()
创建一个靠左流式布局,流式内嵌
|
static java.awt.LayoutManager |
createBoxFlowLayout()
创建一个靠右靠左的水平间隙为2的流式布局
|
static javax.swing.JPanel |
createCardLayout_S_Pane()
创建卡片式布局
|
static javax.swing.JPanel |
createCenterFlowInnerContainer_S_Pane()
创建一个居中面板
|
static java.awt.LayoutManager |
createCenterFlowLayout()
创建一个居中流式布局
|
static javax.swing.JPanel |
createCenterFlowZeroGapBorderPane()
创建一个居中0间距面板
|
static javax.swing.JPanel |
createFillColumnPane(int nColumn)
创建顶格n列网格面板
|
static javax.swing.JPanel |
createIconRadio_S_Pane(javax.swing.Icon icon,
javax.swing.JRadioButton jradiobtn)
创建图标IconRadio面板
|
static java.awt.LayoutManager |
createL_FlowLayout()
创建一个靠左流式布局,间距10,10
|
static java.awt.LayoutManager |
createLabelFlowLayout()
创建一个靠左的水平和垂直间隙均为5的流式布局
|
static javax.swing.JPanel |
createLeftFlowZeroGapBorderPane()
创建一个靠左0间距边框面板
|
static java.awt.LayoutManager |
createLeftZeroLayout()
创建一个靠左的布局
|
static java.awt.LayoutManager |
createM_BorderLayout()
创建一个边框布局,间距4,4
|
static javax.swing.JPanel |
createMediumHGapFlowInnerContainer_M_Pane_First0()
创建一个靠左空边框面板,间隔中等,firsthgap 为0
|
static javax.swing.JPanel |
createMediumHGapFlowInnerContainer_M_Pane()
创建一个靠左空边框面板,间隔中等
|
static javax.swing.JPanel |
createMediumHGapHighTopFlowInnerContainer_M_Pane()
创建一个靠左空边框面板,间隔中等
|
static javax.swing.JPanel |
createNColumnGridInnerContainer_Pane(int nColumn,
int h,
int v)
创建n列网格面板
|
static javax.swing.JPanel |
createNColumnGridInnerContainer_S_Pane(int nColumn)
创建n列网格面板
|
static java.awt.LayoutManager |
createNColumnGridLayout(int nColumn)
创建一个n列的网格布局
|
static javax.swing.JPanel |
createNormalFlowInnerContainer_M_Pane()
创建一个正常靠左空边框面板
|
static javax.swing.JPanel |
createNormalFlowInnerContainer_S_Pane()
创建一个靠左流式布局,正常流式内嵌
|
static javax.swing.JPanel |
createRightFlowInnerContainer_S_Pane()
创建一个靠右面板
|
static java.awt.LayoutManager |
createRightFlowLayout()
创建一个靠右流式布局
|
static java.awt.LayoutManager |
createRightZeroLayout()
创建一个靠右的布局
|
static javax.swing.JPanel |
createTitledBorderPane(java.lang.String string)
创建一个带标题边框面板
|
static javax.swing.JPanel |
createTitledBorderPaneCenter(java.lang.String borderTitle)
创建一个带标题边框面板并且居中显示
|
static javax.swing.JPanel |
createVerticalFlowLayout_Pane(boolean isAlignLeft,
int align,
int hgap,
int vgap)
创建垂直流布局面板
|
static javax.swing.JPanel |
createVerticalFlowLayout_S_Pane(boolean isAlignLeft)
创建垂直流布局面板
|
static javax.swing.JPanel |
createX_AXISBoxInnerContainer_L_Pane()
创建横向面板
|
static javax.swing.JPanel |
createX_AXISBoxInnerContainer_M_Pane()
创建横向内置boxlayout的面板
|
static javax.swing.JPanel |
createX_AXISBoxInnerContainer_S_Pane()
创建横向内置boxlayout的面板
|
static javax.swing.JPanel |
createY_AXISBoxInnerContainer_L_Pane()
创建纵向排列面板
|
static javax.swing.JPanel |
createY_AXISBoxInnerContainer_M_Pane()
创建纵向面板M
|
static javax.swing.JPanel |
createY_AXISBoxInnerContainer_S_Pane()
创建纵向内置boxlayout的面板
|
static javax.swing.JPanel |
createYBoxEmptyBorderPane()
创建纵向边框面板
|
public static final float WIDTH_PARA_F
public static final int WIDTH_OFFSET_N
public static final int WIDTH_OFFSET_M
public static final int WIDTH_PARA_INT
public static final float WIDTHABS_PARA_F
public static final int HEIGHT_PARA
public static final int HEIGHT_OFFSET
public static java.awt.LayoutManager createBoxFlowLayout()
public static java.awt.LayoutManager createLeftZeroLayout()
public static java.awt.LayoutManager createRightZeroLayout()
public static java.awt.LayoutManager createLabelFlowLayout()
public static java.awt.LayoutManager createL_FlowLayout()
public static java.awt.LayoutManager createCenterFlowLayout()
public static java.awt.LayoutManager createRightFlowLayout()
public static java.awt.LayoutManager createBorderLayout()
public static java.awt.LayoutManager createM_BorderLayout()
public static java.awt.LayoutManager create1ColumnGridLayout()
public static java.awt.LayoutManager create2ColumnGridLayout()
public static java.awt.LayoutManager createNColumnGridLayout(int nColumn)
nColumn
- 列数public static javax.swing.JPanel createTitledBorderPane(java.lang.String string)
string
- 边框标题public static javax.swing.JPanel createTitledBorderPaneCenter(java.lang.String borderTitle)
borderTitle
- 边框标题public static javax.swing.JPanel createBigHGapFlowInnerContainer_M_Pane()
public static javax.swing.JPanel createMediumHGapFlowInnerContainer_M_Pane()
public static javax.swing.JPanel createMediumHGapFlowInnerContainer_M_Pane_First0()
public static javax.swing.JPanel createMediumHGapHighTopFlowInnerContainer_M_Pane()
public static javax.swing.JPanel createNormalFlowInnerContainer_M_Pane()
public static javax.swing.JPanel createLeftFlowZeroGapBorderPane()
public static javax.swing.JPanel createNormalFlowInnerContainer_S_Pane()
public static javax.swing.JPanel createBoxFlowInnerContainer_S_Pane()
public static javax.swing.JPanel createBoxFlowInnerContainer_S_Pane_First0()
public static javax.swing.JPanel createRightFlowInnerContainer_S_Pane()
public static javax.swing.JPanel createCenterFlowInnerContainer_S_Pane()
public static javax.swing.JPanel createCenterFlowZeroGapBorderPane()
public static javax.swing.JPanel createY_AXISBoxInnerContainer_L_Pane()
public static javax.swing.JPanel createYBoxEmptyBorderPane()
public static javax.swing.JPanel createX_AXISBoxInnerContainer_L_Pane()
public static javax.swing.JPanel createY_AXISBoxInnerContainer_M_Pane()
public static javax.swing.JPanel createX_AXISBoxInnerContainer_M_Pane()
public static javax.swing.JPanel createY_AXISBoxInnerContainer_S_Pane()
public static javax.swing.JPanel createX_AXISBoxInnerContainer_S_Pane()
public static javax.swing.JPanel createNColumnGridInnerContainer_S_Pane(int nColumn)
nColumn
- 列数public static javax.swing.JPanel createNColumnGridInnerContainer_Pane(int nColumn, int h, int v)
nColumn
- 列数h
- 水平间距v
- 垂直间距public static javax.swing.JPanel createFillColumnPane(int nColumn)
nColumn
- 列数public static javax.swing.JPanel createVerticalFlowLayout_S_Pane(boolean isAlignLeft)
isAlignLeft
- 是否左对齐public static javax.swing.JPanel createVerticalFlowLayout_Pane(boolean isAlignLeft, int align, int hgap, int vgap)
isAlignLeft
- 是否左对齐align
- the alignment valuehgap
- the horizontal gap between componentsvgap
- the vertical gap between componentspublic static javax.swing.JPanel createBorderLayout_L_Pane()
public static javax.swing.JPanel createBorderLayout_M_Pane()
public static javax.swing.JPanel createBorderLayout_S_Pane()
public static javax.swing.JPanel createCardLayout_S_Pane()
public static javax.swing.JPanel createIconRadio_S_Pane(javax.swing.Icon icon, javax.swing.JRadioButton jradiobtn)
icon
- 图标jradiobtn
- 按钮public static int caculateWidth(int width)
width
- 宽度输入值public static int caculateHeight(int height)
height
- 高度输入值