swingwt.awt
Class Dimension
java.lang.Object
swingwt.awt.geom.Dimension2D
swingwt.awt.Dimension
- All Implemented Interfaces:
- java.lang.Cloneable
- public class Dimension
- extends Dimension2D
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
width
public int width
height
public int height
Dimension
public Dimension()
Dimension
public Dimension(Dimension d)
Dimension
public Dimension(int width,
int height)
getWidth
public double getWidth()
- Specified by:
getWidth
in class Dimension2D
getHeight
public double getHeight()
- Specified by:
getHeight
in class Dimension2D
setSize
public void setSize(double width,
double height)
- Specified by:
setSize
in class Dimension2D
getSize
public Dimension getSize()
setSize
public void setSize(Dimension d)
setSize
public void setSize(int width,
int height)
equals
public boolean equals(java.lang.Object obj)
toString
public java.lang.String toString()