|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.FlowLayout
|
+--org.comedia.layout.CVerticalFlowLayout
Implements layout with vertical arranging visual components.
| Field Summary | |
static int |
BOTTOM
The aligment at the bottom of container. |
static int |
MIDDLE
The aligment at the center of container. |
static int |
TOP
The aligment at the top of container. |
| Fields inherited from class java.awt.FlowLayout |
CENTER, LEADING, LEFT, RIGHT, TRAILING |
| Constructor Summary | |
CVerticalFlowLayout()
Constructs this layout with default properties. |
|
CVerticalFlowLayout(boolean hfill,
boolean vfill)
Constructs this layout and assignes class properties. |
|
CVerticalFlowLayout(int align)
Constructs this layout and assignes class properties. |
|
CVerticalFlowLayout(int align,
boolean hfill,
boolean vfill)
Constructs this layout and assignes class properties. |
|
CVerticalFlowLayout(int align,
int hgap,
int vgap,
boolean hfill,
boolean vfill)
Constructs this layout and assignes class properties. |
|
| Method Summary | |
int |
getHgap()
Gets the horizontal gap between components. |
boolean |
getHorizontalFill()
Gets a current horizontal fill value. |
boolean |
getVerticalFill()
Gets a current vertical fill value. |
int |
getVgap()
Gets the vertical gap between components. |
void |
layoutContainer(java.awt.Container container)
Lays out the container. |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container container)
Counts the minimum size needed to layout the target container. |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container target)
Returns the preferred dimensions given the components in the target container. |
void |
setHgap(int hgap)
Sets the horizontal gap between components. |
void |
setHorizontalFill(boolean hfill)
Sets a new horizontal fill. |
void |
setVerticalFill(boolean vfill)
Sets a new vertical fill. |
void |
setVgap(int vgap)
Sets the vertical gap between components. |
| Methods inherited from class java.awt.FlowLayout |
addLayoutComponent, getAlignment, removeLayoutComponent, setAlignment, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int TOP
public static final int MIDDLE
public static final int BOTTOM
| Constructor Detail |
public CVerticalFlowLayout()
public CVerticalFlowLayout(boolean hfill,
boolean vfill)
fill - the fill to edge flag.public CVerticalFlowLayout(int align)
align - the alignment value.
public CVerticalFlowLayout(int align,
boolean hfill,
boolean vfill)
align - the alignment value.fill - the fill to edge flag.
public CVerticalFlowLayout(int align,
int hgap,
int vgap,
boolean hfill,
boolean vfill)
align - the alignment value.hgap - the horizontal gap variable.vgap - the vertical gap variable.fill - the fill to edge flag.| Method Detail |
public int getHgap()
getHgap in class java.awt.FlowLayoutpublic void setHgap(int hgap)
setHgap in class java.awt.FlowLayouthgap - a new horizontal gap value.public int getVgap()
getVgap in class java.awt.FlowLayoutpublic void setVgap(int vgap)
setVgap in class java.awt.FlowLayoutvgap - a new vertical gap value.public java.awt.Dimension preferredLayoutSize(java.awt.Container target)
preferredLayoutSize in class java.awt.FlowLayouttarget - the component to lay outpublic java.awt.Dimension minimumLayoutSize(java.awt.Container container)
minimumLayoutSize in class java.awt.FlowLayoutcontainer - a container of visual components to be aligned.public void setVerticalFill(boolean vfill)
vfill - a new vertical fill value.public boolean getVerticalFill()
public void setHorizontalFill(boolean hfill)
hfill - a new horizontal fill value.public boolean getHorizontalFill()
public void layoutContainer(java.awt.Container container)
layoutContainer in class java.awt.FlowLayoutcontainer - the container to lay out.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||