|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.ui.layout.FlowLayoutVertical
net.sf.magicproject.ui.layout.FlowLayoutVertical2
public class FlowLayoutVertical2
A flow layout arranges components in a directional flow, much like lines of
text in a paragraph. The flow direction is determined by the container's
componentOrientation property and may be one of two values:
ComponentOrientation.LEFT_TO_RIGHT
ComponentOrientation.RIGHT_TO_LEFT
A flow layout lets each component assume its natural (preferred) size.
| Constructor Summary | |
|---|---|
FlowLayoutVertical2()
Constructs a new FlowLayout with a centered alignment and a
default 5-unit horizontal and vertical gap. |
|
FlowLayoutVertical2(int preferredHeight)
Constructs a new FlowLayout with a centered alignment and a
default 5-unit horizontal and vertical gap. |
|
FlowLayoutVertical2(int hgap,
int vgap,
int preferredHeight)
Creates a new flow layout manager with the indicated horizontal and vertical gaps. |
|
| Method Summary | |
|---|---|
void |
layoutContainer(java.awt.Container target)
Lays out the container. |
| Methods inherited from class net.sf.magicproject.ui.layout.FlowLayoutVertical |
|---|
addLayoutComponent, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.awt.LayoutManager |
|---|
addLayoutComponent, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent |
| Constructor Detail |
|---|
public FlowLayoutVertical2()
FlowLayout with a centered alignment and a
default 5-unit horizontal and vertical gap.
public FlowLayoutVertical2(int preferredHeight)
FlowLayout with a centered alignment and a
default 5-unit horizontal and vertical gap.
preferredHeight - the preferred height of this layout.
public FlowLayoutVertical2(int hgap,
int vgap,
int preferredHeight)
hgap - the horizontal gap between components and between the components
and the borders of the Containervgap - the vertical gap between components and between the components and
the borders of the ContainerpreferredHeight - the preferred height of this layout.| Method Detail |
|---|
public void layoutContainer(java.awt.Container target)
FlowLayout object.
layoutContainer in interface java.awt.LayoutManagerlayoutContainer in class FlowLayoutVerticaltarget - the specified component being laid outContainer,
Container.doLayout()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||