| Modifier and Type | Field and Description |
|---|---|
| private int | height
The dimensions! |
| pack-priv static final long | |
| private int | width
The dimensions! |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int | Returns: Returns a intImplements org. |
| public void | getSize(WritableDimension
The destination dest)Implements org. |
| public int | Returns: Returns a intImplements org. |
| public int | Returns: a hash code for thisDimensionOverrides java. Dimension.
|
| public void | setHeight(int
The height to set height)Implements org. |
| public void | |
| public void | |
| public void | setWidth(int
The width to set width)Implements org. |
| public String | Returns: a string representation of thisDimension
objectOverrides java. Dimension object's height and
width fields.
|
| height | back to summary |
|---|---|
| private int height The dimensions! | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| width | back to summary |
|---|---|
| private int width The dimensions! | |
| Dimension | back to summary |
|---|---|
| public Dimension() Constructor for Dimension. | |
| Dimension | back to summary |
|---|---|
| public Dimension(int w, int h) Constructor for Dimension. | |
| Dimension | back to summary |
|---|---|
| public Dimension(ReadableDimension d) Constructor for Dimension. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Checks whether two dimension objects have equal values.
| |
| getHeight | back to summary |
|---|---|
| public int getHeight() Implements org. Gets the height.
| |
| getSize | back to summary |
|---|---|
| public void getSize(WritableDimension dest) Implements org. Doc from org. Copy this ReadableDimension into a destination Dimension
| |
| getWidth | back to summary |
|---|---|
| public int getWidth() Implements org. Gets the width.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hash code for this
| |
| setHeight | back to summary |
|---|---|
| public void setHeight(int height) Implements org. Sets the height.
| |
| setSize | back to summary |
|---|---|
| public void setSize(int w, int h) Implements org. | |
| setSize | back to summary |
|---|---|
| public void setSize(ReadableDimension d) Implements org. | |
| setWidth | back to summary |
|---|---|
| public void setWidth(int width) Implements org. Sets the width.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation of the values of this
| |