|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.FlowLayout
org.objectweb.proactive.ic2d.gui.data.WorldPanel.MyFlowLayout
public class WorldPanel.MyFlowLayout
| Field Summary |
|---|
| Fields inherited from class java.awt.FlowLayout |
|---|
CENTER, LEADING, LEFT, RIGHT, TRAILING |
| Constructor Summary | |
|---|---|
WorldPanel.MyFlowLayout()
Constructs a new Flow Layout with a centered alignment and a default 5-unit horizontal and vertical gap. |
|
WorldPanel.MyFlowLayout(int align)
Constructs a new Flow Layout with the specified alignment and a default 5-unit horizontal and vertical gap. |
|
WorldPanel.MyFlowLayout(int align,
int hgap,
int vgap)
Creates a new flow layout manager with the indicated alignment and the indicated horizontal and vertical gaps. |
|
| Method Summary | |
|---|---|
void |
layoutContainer(java.awt.Container target)
Lays out the container. |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container target)
Returns the minimum dimensions needed to layout the components contained in the specified target container. |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container target)
Returns the preferred dimensions for this layout given the components in the specified target container. |
| Methods inherited from class java.awt.FlowLayout |
|---|
addLayoutComponent, getAlignment, getHgap, getVgap, removeLayoutComponent, setAlignment, setHgap, setVgap, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WorldPanel.MyFlowLayout()
public WorldPanel.MyFlowLayout(int align)
FlowLayout.LEFT, FlowLayout.RIGHT,
or FlowLayout.CENTER.
align - the alignment value
public WorldPanel.MyFlowLayout(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.| Method Detail |
|---|
public void layoutContainer(java.awt.Container target)
FlowLayout object.
layoutContainer in interface java.awt.LayoutManagerlayoutContainer in class java.awt.FlowLayouttarget - the specified component being laid out.Container,
Container.doLayout()public java.awt.Dimension preferredLayoutSize(java.awt.Container target)
preferredLayoutSize in interface java.awt.LayoutManagerpreferredLayoutSize in class java.awt.FlowLayouttarget - the component which needs to be laid out
Container,
minimumLayoutSize(java.awt.Container),
Container.getPreferredSize()public java.awt.Dimension minimumLayoutSize(java.awt.Container target)
minimumLayoutSize in interface java.awt.LayoutManagerminimumLayoutSize in class java.awt.FlowLayouttarget - the component which needs to be laid out
preferredLayoutSize(java.awt.Container),
Container,
Container.doLayout()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||