@Deprecated public class EqualFlowLayout extends FlowLayout
| Constructor and Description |
|---|
EqualFlowLayout()
Deprecated.
Constructs a new Flow Layout with a centered alignment and a
default 5-unit horizontal and vertical gap.
|
EqualFlowLayout(int align)
Deprecated.
Constructs a new Flow Layout with the specified alignment and a
default 5-unit horizontal and vertical gap.
|
EqualFlowLayout(int align,
int hgap,
int vgap)
Deprecated.
Creates a new flow layout manager with the indicated alignment
and the indicated horizontal and vertical gaps.
|
| Modifier and Type | Method and Description |
|---|---|
void |
layoutContainer(Container target)
Deprecated.
Lays out the container.
|
Dimension |
minimumLayoutSize(Container target)
Deprecated.
Returns the minimum dimensions needed to layout the components
contained in the specified target container.
|
Dimension |
preferredLayoutSize(Container target)
Deprecated.
Returns the preferred dimensions for this layout given the components
in the specified target container.
|
addLayoutComponent, getAlignment, getAlignOnBaseline, getHgap, getVgap, removeLayoutComponent, setAlignment, setAlignOnBaseline, setHgap, setVgap, toStringpublic EqualFlowLayout()
public EqualFlowLayout(int align)
FlowLayout.LEFT, FlowLayout.RIGHT,
or FlowLayout.CENTER.align - the alignment valuepublic EqualFlowLayout(int align,
int hgap,
int vgap)
The value of the alignment argument must be one of
FlowLayout.LEFT, FlowLayout.RIGHT,
or FlowLayout.CENTER.
align - the alignment value.hgap - the horizontal gap between components.vgap - the vertical gap between components.public Dimension preferredLayoutSize(Container target)
preferredLayoutSize in interface LayoutManagerpreferredLayoutSize in class FlowLayouttarget - the component which needs to be laid outContainer,
minimumLayoutSize(java.awt.Container),
Container.getPreferredSize()public Dimension minimumLayoutSize(Container target)
minimumLayoutSize in interface LayoutManagerminimumLayoutSize in class FlowLayouttarget - the component which needs to be laid outpreferredLayoutSize(java.awt.Container),
Container,
Container.doLayout()public void layoutContainer(Container target)
FlowLayout object.layoutContainer in interface LayoutManagerlayoutContainer in class FlowLayouttarget - the specified component being laid out.Container,
Container.doLayout()Built on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.