@Deprecated
public class EqualFlowLayout
extends java.awt.FlowLayout
| Constructor | 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 | Description |
|---|---|---|
void |
layoutContainer(java.awt.Container target) |
Deprecated.
Lays out the container.
|
java.awt.Dimension |
minimumLayoutSize(java.awt.Container target) |
Deprecated.
Returns the minimum dimensions needed to layout the components
contained in the specified target container.
|
java.awt.Dimension |
preferredLayoutSize(java.awt.Container target) |
Deprecated.
Returns the preferred dimensions for this layout given the components
in the specified target container.
|
public 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 java.awt.Dimension preferredLayoutSize(java.awt.Container target)
preferredLayoutSize in class java.awt.FlowLayouttarget - the component which needs to be laid outContainer,
minimumLayoutSize(java.awt.Container),
Container.getPreferredSize()public java.awt.Dimension minimumLayoutSize(java.awt.Container target)
minimumLayoutSize in class java.awt.FlowLayouttarget - the component which needs to be laid outpreferredLayoutSize(java.awt.Container),
Container,
Container.doLayout()public void layoutContainer(java.awt.Container target)
FlowLayout object.layoutContainer in class java.awt.FlowLayouttarget - the specified component being laid out.Container,
Container.doLayout()Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.