- <init>
Creates an instance of Dimension whose width and height are the same as for the
specified dimension.
- getHeight
- getWidth
- setSize
Sets the size of this Dimension object to the specified size. This method is
included for completene
- equals
Checks whether two dimension objects have equal values.
- clone
Creates a new object of the same class as this object.
- getSize
Gets the size of this Dimension object. This method is included for
completeness, to parallel theget
- toString
Returns a string representation of the values of thisDimension object's height
andwidth fields. Thi
- hashCode
Returns the hash code for this Dimension.
- findInGrid
- setName