Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Field Summary
`int` | `height`
`int` | `width`

Constructor Summary
`Dimension()` Creates a new Dimension object with width and height = 0;
`Dimension(Dimension dimension_)`
`Dimension(int width_, int height_)`

Method Summary
`java.lang.Object` | `clone()`
`void` | `setSize(Dimension dimension_)`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### width

    public int width

### height

    public int height

Constructor Detail

### 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_)

Method Detail

### setSize

    public void setSize(Dimension dimension_)

### clone

    public java.lang.Object clone()

### toString

    public java.lang.String toString()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD