|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.FlowLayout
leon.view.win.swing.component.VFlowLayout
public class VFlowLayout
VFlowLayout is similair to FlowLayout except it lays out components vertically.
Extends FlowLayout because it mimics much of the behavior of the FlowLayout class, except vertically. An additional feature is that you can specify a fill to edge flag, which causes the VFlowLayout manager to resize all components to expand to the column width.
Warning: This causes problems when the main panel has less space that it needs and it seems to prohibit multi-column output.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static int |
BOTTOM
The bottom alignment. |
static int |
MIDDLE
The middle alignment. |
static int |
TOP
The top alignment. |
Fields inherited from class java.awt.FlowLayout |
---|
CENTER, LEADING, LEFT, RIGHT, TRAILING |
Constructor Summary | |
---|---|
VFlowLayout()
Constructs a new VFlowLayout with a middle alignemnt, and the fill to edge flag set. |
|
VFlowLayout(boolean fill)
Constructs a new VFlowLayout with a middle alignemnt. |
|
VFlowLayout(int align)
Constructs a new VFlowLayout with a middle alignemnt. |
|
VFlowLayout(int align,
boolean fill)
Constructs a new VFlowLayout. |
|
VFlowLayout(int align,
int hgap,
int vgap,
boolean fill)
Constructs a new VFlowLayout. |
Method Summary | |
---|---|
void |
layoutContainer(java.awt.Container target)
Lays out the container. |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container target)
(non-Javadoc). |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container target)
(non-Javadoc). |
Methods inherited from class java.awt.FlowLayout |
---|
addLayoutComponent, getAlignment, getAlignOnBaseline, getHgap, getVgap, removeLayoutComponent, setAlignment, setAlignOnBaseline, setHgap, setVgap, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
public static final int TOP
public static final int MIDDLE
public static final int BOTTOM
Constructor Detail |
---|
public VFlowLayout()
public VFlowLayout(boolean fill)
fill
- the fill to edge flagpublic VFlowLayout(int align)
align
- the alignment valuepublic VFlowLayout(int align, boolean fill)
align
- the alignment valuefill
- the fill to edge flagpublic VFlowLayout(int align, int hgap, int vgap, boolean fill)
align
- the alignment valuehgap
- the horizontal gap variablevgap
- the vertical gap variablefill
- the fill to edge flagMethod Detail |
---|
public java.awt.Dimension preferredLayoutSize(java.awt.Container target)
preferredLayoutSize
in interface java.awt.LayoutManager
preferredLayoutSize
in class java.awt.FlowLayout
LayoutManager.preferredLayoutSize(java.awt.Container)
public java.awt.Dimension minimumLayoutSize(java.awt.Container target)
minimumLayoutSize
in interface java.awt.LayoutManager
minimumLayoutSize
in class java.awt.FlowLayout
LayoutManager.minimumLayoutSize(java.awt.Container)
public void layoutContainer(java.awt.Container target)
layoutContainer
in interface java.awt.LayoutManager
layoutContainer
in class java.awt.FlowLayout
target
- the container to lay out.LayoutManager.layoutContainer(java.awt.Container)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |