com.sencha.gxt.core.client.util
Class PreciseSize

java.lang.Object
  extended by com.sencha.gxt.core.client.util.PreciseSize

public class PreciseSize
extends java.lang.Object

Instances of this class represent a rectangle's size.


Constructor Summary
PreciseSize(double width, double height)
          Creates a new size instance.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 double getHeight()
           
 double getWidth()
           
 int hashCode()
           
 void setHeight(double height)
           
 void setWidth(double width)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PreciseSize

public PreciseSize(double width,
                   double height)
Creates a new size instance.

Parameters:
width - the width
height - the height
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getWidth

public double getWidth()

setWidth

public void setWidth(double width)

getHeight

public double getHeight()

setHeight

public void setHeight(double height)


Copyright © 2012. All Rights Reserved.