java.awt.Dimension (JDK 1.0)
This class has two public instance variables that describe the width and height of something. The width and height fields are public and may be manipulated directly.
public classDimensionextends Object implements Serializable { //Public ConstructorspublicDimension(); publicDimension(Dimensiond); publicDimension(intwidth, intheight); //Public Instance Variablespublic intheight; public intwidth; //Public Instance Methods1.1 public booleanequals(Objectobj); //Overrides Object1.1 public DimensiongetSize(); 1.1 public voidsetSize(Dimensiond); 1.1 public voidsetSize(intwidth, intheight); public StringtoString(); //Overrides Object}
Passed To:
Applet.resize(), Component.resize(), Component.setSize(), Dimension(), Dimension.setSize(), Rectangle(), Rectangle.setSize()
Returned By:
Many methods