|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcharva.awt.VerticalFlowLayout
public class VerticalFlowLayout
A concrete implementation of LayoutManager that lays out its components top-to-bottom.
Field Summary | |
---|---|
static int |
BOTTOM
|
static int |
MIDDLE
|
static int |
TOP
|
Constructor Summary | |
---|---|
VerticalFlowLayout()
Default constructor. |
|
VerticalFlowLayout(int align_,
int hgap_,
int vgap_)
Use this constructor when you want to set the alignment and the horizontal and vertical gaps. |
Method Summary | |
---|---|
void |
doLayout(Container container_)
Lay out the components according to the specified alignment, hgap and vgap. |
int |
getAlignment()
Gets the alignment for this layout. |
Dimension |
minimumSize(Container container_)
Calculate the minimum-size rectangle that can enclose all the components in the given container. |
void |
setAlignment(int align_)
Sets the alignment for this layout. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TOP
public static final int MIDDLE
public static final int BOTTOM
Constructor Detail |
---|
public VerticalFlowLayout()
public VerticalFlowLayout(int align_, int hgap_, int vgap_)
Method Detail |
---|
public void setAlignment(int align_)
public int getAlignment()
public Dimension minimumSize(Container container_)
minimumSize
in interface LayoutManager
public void doLayout(Container container_)
doLayout
in interface LayoutManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |