public class FRGridLayout extends java.awt.GridLayout implements java.awt.LayoutManager2, FRLayoutManager
构造器和说明 |
---|
FRGridLayout() |
FRGridLayout(int rows,
int cols) |
FRGridLayout(int rows,
int cols,
int hgap,
int vgap) |
限定符和类型 | 方法和说明 |
---|---|
void |
addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
将组件添加到指定的位置上
|
float |
getLayoutAlignmentX(java.awt.Container target) |
float |
getLayoutAlignmentY(java.awt.Container target) |
java.awt.Point |
getPoint(java.awt.Component comp) |
void |
invalidateLayout(java.awt.Container target) |
boolean |
isResizable() |
void |
layoutContainer(java.awt.Container parent) |
static void |
main(java.lang.String[] args) |
java.awt.Dimension |
maximumLayoutSize(java.awt.Container target) |
void |
removeLayoutComponent(java.awt.Component comp) |
addLayoutComponent, getColumns, getHgap, getRows, getVgap, minimumLayoutSize, preferredLayoutSize, setColumns, setHgap, setRows, setVgap, toString
public FRGridLayout()
public FRGridLayout(int rows, int cols)
public FRGridLayout(int rows, int cols, int hgap, int vgap)
public void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent
在接口中 java.awt.LayoutManager
removeLayoutComponent
在类中 java.awt.GridLayout
public void addLayoutComponent(java.awt.Component comp, java.lang.Object constraints)
addLayoutComponent
在接口中 java.awt.LayoutManager2
comp
- constraints
- new FRGridLayout.Grid(2, 3);public java.awt.Point getPoint(java.awt.Component comp)
public float getLayoutAlignmentX(java.awt.Container target)
getLayoutAlignmentX
在接口中 java.awt.LayoutManager2
public float getLayoutAlignmentY(java.awt.Container target)
getLayoutAlignmentY
在接口中 java.awt.LayoutManager2
public void invalidateLayout(java.awt.Container target)
invalidateLayout
在接口中 java.awt.LayoutManager2
public void layoutContainer(java.awt.Container parent)
layoutContainer
在接口中 java.awt.LayoutManager
layoutContainer
在类中 java.awt.GridLayout
public boolean isResizable()
isResizable
在接口中 FRLayoutManager
public static void main(java.lang.String[] args)
public java.awt.Dimension maximumLayoutSize(java.awt.Container target)
maximumLayoutSize
在接口中 java.awt.LayoutManager2