public class IlvBetterFlowLayout extends FlowLayout
Constructor and Description |
---|
IlvBetterFlowLayout()
Creates a new "better" flow layout with default alignment and gaps.
|
IlvBetterFlowLayout(int align)
Creates a new "better" flow layout with a specified alignment and default gaps.
|
IlvBetterFlowLayout(int align,
int hgap,
int vgap)
Creates a new "better" flow layout with specified alignment and gaps.
|
Modifier and Type | Method and Description |
---|---|
void |
layoutContainer(Container target)
Lays out the container.
|
Dimension |
minimumLayoutSize(Container target)
Compute the minimum size of the container.
|
Dimension |
preferredLayoutSize(Container target)
Compute the preferred size of the container.
|
addLayoutComponent, getAlignment, getAlignOnBaseline, getHgap, getVgap, removeLayoutComponent, setAlignment, setAlignOnBaseline, setHgap, setVgap, toString
public IlvBetterFlowLayout()
public IlvBetterFlowLayout(int align)
align
- The layout alignment.public IlvBetterFlowLayout(int align, int hgap, int vgap)
align
- The layout alignment.hgap
- The horizontal gap.vgap
- The vertical gap.public void layoutContainer(Container target)
IlvBetterFlowLayout
object.layoutContainer
in interface LayoutManager
layoutContainer
in class FlowLayout
target
- the specified component being laid outpublic Dimension preferredLayoutSize(Container target)
preferredLayoutSize
in interface LayoutManager
preferredLayoutSize
in class FlowLayout
target
- The container.public Dimension minimumLayoutSize(Container target)
minimumLayoutSize
in interface LayoutManager
minimumLayoutSize
in class FlowLayout
target
- The container.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.