Dimension class encapsulates the width and height of a component (in integer precision) in a single object. The class is associated with certain properties of components. Several methods defined by the Component class and the LayoutManager interface return a Dimension object. Normally the values of width and height are non-negative integers. The constructors that allow you to create a dimension do not prevent you from setting a negative value for these properties. If the value of width or height is negative, the behavior of some methods defined by other objects is undefined.
@author Sami Shaio
@author Arthur van Hoff
@see ae.java.awt.Component
@see ae.java.awt.LayoutManager
@since 1.0
Dimension class encapsulates the width and height of a component (in integer precision) in a single object. The class is associated with certain properties of components. Several methods defined by the Component class and the LayoutManager interface return a Dimension object. Normally the values of width and height are non-negative integers. The constructors that allow you to create a dimension do not prevent you from setting a negative value for these properties. If the value of width or height is negative, the behavior of some methods defined by other objects is undefined.
@version 1.34, 02/24/06
@author Sami Shaio
@author Arthur van Hoff
@see java.awt.Component
@see java.awt.LayoutManager
@since 1.0
Dimension represents a dimension of a cube.
The following features are supported:
A Dimension typically describes a similar set of members upon which the user wants to base an analysis.
A Dimension must have at least one Hierarchy, and may have more than one, but most have exactly one Hierarchy.
@author jhyde @version $Id: Dimension.java 298 2010-01-25 07:45:08Z jhyde $ @since Aug 22, 2006Immutable if setImmutable() was called, except for an Unlimited Dimension, whose size can change. @author caron
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |