- tiled
- The components are placed end-to-end, starting either at coordinate 0 (the leftmost or topmost position) or at the coordinate representing the end of the allocated span (the rightmost or bottommost position).
- aligned
- The components are aligned as specified by each component's X or Y alignment value.
Each SizeRequirements object contains information about either the width (and X alignment) or height (and Y alignment) of a single component or a group of components:
minimum
- The smallest reasonable width/height of the component or component group, in pixels.
preferred
- The natural width/height of the component or component group, in pixels.
maximum
- The largest reasonable width/height of the component or component group, in pixels.
alignment
- The X/Y alignment of the component or component group.
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans
package. Please see {@link java.beans.XMLEncoder}.
@see Component#getMinimumSize
@see Component#getPreferredSize
@see Component#getMaximumSize
@see Component#getAlignmentX
@see Component#getAlignmentY
@author Timothy Prinzing
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|