public final class Dimension
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Dimension |
MAX |
static Dimension |
MIN |
Constructor and Description |
---|
Dimension(int width,
int height)
Creates a new Dimension
|
public Dimension(int width, int height)
width
- The width of the dimensionheight
- The height of the dimensionpublic int getWidth()
public int getHeight()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Siehe auch Jowidgets Nutzerhandbuch