|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object charva.awt.FlowLayout
A concrete implementation of LayoutManager that lays out its components left-to-right.
Field Summary | |
static int |
CENTER
|
static int |
LEFT
|
static int |
RIGHT
|
Constructor Summary | |
FlowLayout()
Default constructor. |
|
FlowLayout(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 LEFT
public static final int CENTER
public static final int RIGHT
Constructor Detail |
public FlowLayout()
public FlowLayout(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 |