|
|
|
|
The
|
| Method | Description |
|---|---|
|
Adds the specified component to the layout, using the specified constraint object. |
|
Returns the maximum size of this component. |
|
Returns the alignment along the x axis. This specifies how the component would like to be aligned relative to other components. The value should be a number between 0 and 1 where 0 represents alignment along the origin, 1 is aligned the furthest away from the origin, 0.5 is centered, etc. |
|
Returns the alignment along the y axis. This specifies how the component would like to be aligned relative to other components. The value should be a number between 0 and 1 where 0 represents alignment along the origin, 1 is aligned the furthest away from the origin, 0.5 is centered, etc. |
|
Invalidates the layout, indicating that if the layout
manager has cached information it should be discarded.
|
The BorderLayout, BoxLayout, CardLayout, and
GridBagLayout layout managers all implement the
LayoutManager2 interface.
|
This page was last modified on 02 October, 2007 |