charva.awt
Class Dimension
java.lang.Object
charva.awt.Dimension
- All Implemented Interfaces:
- java.lang.Cloneable
- public class Dimension
- extends java.lang.Object
- implements java.lang.Cloneable
Encapsulates the width and height of a component in a single object.
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
width
public int width
height
public int height
Dimension
public Dimension()
- Creates a new Dimension object with width and height = 0;
Dimension
public Dimension(int width_,
int height_)
Dimension
public Dimension(Dimension dimension_)
setSize
public void setSize(Dimension dimension_)
clone
public java.lang.Object clone()
toString
public java.lang.String toString()