public abstract class FRSplitLayout extends java.lang.Object implements FRLayoutManager, java.awt.LayoutManager2, java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
protected java.awt.Component |
aside |
static java.lang.String |
ASIDE |
protected java.awt.Component |
center |
static java.lang.String |
CENTER |
protected int |
hgap |
protected double |
ratio |
protected int |
vgap |
构造器和说明 |
---|
FRSplitLayout() |
FRSplitLayout(double ratio) |
FRSplitLayout(double ratio,
int hgap,
int vgap) |
限定符和类型 | 方法和说明 |
---|---|
void |
addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints) |
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp) |
protected abstract java.awt.Dimension |
calculateAppropriateSize(java.awt.Container target,
java.awt.Dimension asideDim,
java.awt.Dimension centerDim) |
java.lang.Object |
getConstraints(java.awt.Component comp) |
int |
getHgap() |
float |
getLayoutAlignmentX(java.awt.Container target) |
float |
getLayoutAlignmentY(java.awt.Container target) |
java.awt.Component |
getLayoutComponent(java.lang.Object constraints) |
double |
getRatio() |
int |
getVgap() |
void |
invalidateLayout(java.awt.Container target) |
boolean |
isResizable() |
java.awt.Dimension |
maximumLayoutSize(java.awt.Container target) |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container target) |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container target) |
void |
removeLayoutComponent(java.awt.Component comp) |
void |
setHgap(int hgap) |
void |
setRatio(double ratio) |
void |
setVgap(int vgap) |
public static final java.lang.String CENTER
public static final java.lang.String ASIDE
protected double ratio
protected int hgap
protected int vgap
protected java.awt.Component center
protected java.awt.Component aside
public FRSplitLayout()
public FRSplitLayout(double ratio)
public FRSplitLayout(double ratio, int hgap, int vgap)
public double getRatio()
public void setRatio(double ratio)
public int getHgap()
public void setHgap(int hgap)
public int getVgap()
public void setVgap(int vgap)
public java.lang.Object getConstraints(java.awt.Component comp)
public void addLayoutComponent(java.awt.Component comp, java.lang.Object constraints)
addLayoutComponent
在接口中 java.awt.LayoutManager2
public void addLayoutComponent(java.lang.String name, java.awt.Component comp)
addLayoutComponent
在接口中 java.awt.LayoutManager
public void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent
在接口中 java.awt.LayoutManager
public java.awt.Component getLayoutComponent(java.lang.Object constraints)
public boolean isResizable()
isResizable
在接口中 FRLayoutManager
public java.awt.Dimension preferredLayoutSize(java.awt.Container target)
preferredLayoutSize
在接口中 java.awt.LayoutManager
public java.awt.Dimension minimumLayoutSize(java.awt.Container target)
minimumLayoutSize
在接口中 java.awt.LayoutManager
public java.awt.Dimension maximumLayoutSize(java.awt.Container target)
maximumLayoutSize
在接口中 java.awt.LayoutManager2
protected abstract java.awt.Dimension calculateAppropriateSize(java.awt.Container target, java.awt.Dimension asideDim, java.awt.Dimension centerDim)
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