|
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.LyFlowLayout
public class LyFlowLayout
This class implements a flow layout with a maximum width.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
boolean |
_automaticWrap
Indicates if this layout manages an automatic wrapping. |
int |
_maxWidth
Maximum width of the layout. |
Fields inherited from class java.awt.FlowLayout |
---|
CENTER, LEADING, LEFT, RIGHT, TRAILING |
Constructor Summary | |
---|---|
LyFlowLayout()
Construct a class behavior. |
|
LyFlowLayout(int align)
Construct a class behavior. |
|
LyFlowLayout(int align,
int hgap,
int vgap)
Construct a class behavior. |
|
LyFlowLayout(int align,
int hgap,
int vgap,
int maxWidth)
Construct a class behavior. |
|
LyFlowLayout(int align,
int hgap,
int vgap,
int maxWidth,
boolean automaticWrap)
Construct a class behavior. |
|
LyFlowLayout(int align,
int hgap,
int vgap,
int maxWidth,
boolean automaticWrap,
LyViewManager viewManager)
Construct a class behavior. |
Method Summary | |
---|---|
void |
layoutContainer(java.awt.Container target)
(non-Javadoc). |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container target)
The minimum size of the layout is the same as the preferred size. |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container target)
(non-Javadoc). |
void |
updateSize(java.awt.Container target)
Updates the size of the specified target if automatic wrapping is enabled. |
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 int _maxWidth
public boolean _automaticWrap
Constructor Detail |
---|
public LyFlowLayout()
By default, this behaviour is centered, the horizontal and vertical gaps are both set to 5 pixels, the maximum width is set to automatic and there is no automatic wrapping.
public LyFlowLayout(int align)
By default, the horizontal and vertical gaps are both set to 5 pixels, the maximum width is set to automatic and there is no automatic wrapping.
align
- the alignment policypublic LyFlowLayout(int align, int hgap, int vgap)
By default, the maximum width is set to automatic and there is no automatic wrapping.
align
- the alignment policyhgap
- the horizontal gapvgap
- the vertical gappublic LyFlowLayout(int align, int hgap, int vgap, int maxWidth)
By default, there is no automatic wrapping.
align
- the alignment policyhgap
- the horizontal gapvgap
- the vertical gapmaxWidth
- the maximum width of the layoutpublic LyFlowLayout(int align, int hgap, int vgap, int maxWidth, boolean automaticWrap)
align
- the alignment policyhgap
- the horizontal gapvgap
- the vertical gapmaxWidth
- the maximum width of the layoutautomaticWrap
- Indicates if the layout does automatic wrapping.public LyFlowLayout(int align, int hgap, int vgap, int maxWidth, boolean automaticWrap, LyViewManager viewManager)
align
- the alignment policyhgap
- the horizontal gapvgap
- the vertical gapmaxWidth
- the maximum width of the layoutautomaticWrap
- Indicates if the layout does automatic wrapping.viewManager
- the viewManager instanceMethod 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
preferredLayoutSize(Container)
,
LayoutManager.minimumLayoutSize(java.awt.Container)
public void layoutContainer(java.awt.Container target)
layoutContainer
in interface java.awt.LayoutManager
layoutContainer
in class java.awt.FlowLayout
LayoutManager.layoutContainer(java.awt.Container)
public void updateSize(java.awt.Container target)
target
- the target to update its size
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |