public class IlvVerticalFlowLayout extends FlowLayout
FlowLayout
layout manager.Modifier and Type | Field and Description |
---|---|
static int |
BOTTOM
This value indicates that each column of components should be aligned on bottom
|
static int |
MIDDLE
This value indicates that each column of components should be aligned on center
|
static int |
TOP
This value indicates that each column of components should be aligned on top
|
Constructor and Description |
---|
IlvVerticalFlowLayout()
Constructs a new
IlvVerticalFlowLayout with a middle
alignment. |
IlvVerticalFlowLayout(int align)
Constructs a new
IlvVerticalFlowLayout with the specified
alignment, and horizontal and vertical gaps of 5. |
IlvVerticalFlowLayout(int align,
int hgap,
int vgap)
Constructs a new
IlvVerticalFlowLayout object. |
IlvVerticalFlowLayout(int align,
int hgap,
int vgap,
boolean bottomUp)
Constructs a new
IlvVerticalFlowLayout object. |
Modifier and Type | Method and Description |
---|---|
void |
layoutContainer(Container target)
Lays out the container.
|
Dimension |
minimumLayoutSize(Container target)
Returns the minimum size needed to lay out the target container.
|
Dimension |
preferredLayoutSize(Container target)
Returns the preferred dimensions given the components
in the target container.
|
addLayoutComponent, getAlignment, getAlignOnBaseline, getHgap, getVgap, removeLayoutComponent, setAlignment, setAlignOnBaseline, setHgap, setVgap, toString
public static final int TOP
public static final int MIDDLE
public static final int BOTTOM
public IlvVerticalFlowLayout()
IlvVerticalFlowLayout
with a middle
alignment.public IlvVerticalFlowLayout(int align)
IlvVerticalFlowLayout
with the specified
alignment, and horizontal and vertical gaps of 5.align
- The alignment value.public IlvVerticalFlowLayout(int align, int hgap, int vgap)
IlvVerticalFlowLayout
object.align
- The alignment value.hgap
- The horizontal gap variable.vgap
- The vertical gap variable.public IlvVerticalFlowLayout(int align, int hgap, int vgap, boolean bottomUp)
IlvVerticalFlowLayout
object.align
- The alignment value.hgap
- The horizontal gap variable.vgap
- The vertical gap variable.bottomUp
- Whether to lay out the components in opposite order,
from bottom to top.public Dimension preferredLayoutSize(Container target)
preferredLayoutSize
in interface LayoutManager
preferredLayoutSize
in class FlowLayout
target
- The component to lay out.public Dimension minimumLayoutSize(Container target)
minimumLayoutSize
in interface LayoutManager
minimumLayoutSize
in class FlowLayout
target
- The component to lay out.public void layoutContainer(Container target)
layoutContainer
in interface LayoutManager
layoutContainer
in class FlowLayout
target
- The container to lay out.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.