com.sibvisions.rad.ui.web.ext.gwt
Class Size

java.lang.Object
  extended by com.sibvisions.rad.ui.web.ext.gwt.Size
All Implemented Interfaces:
Serializable

public class Size
extends Object
implements Serializable

The Size class represents a rectangle's size.

See Also:
Serialized Form

Field Summary
 int height
          the height.
 int width
          the width.
 
Constructor Summary
Size()
          Creates a new instance of Size.
Size(int pWidth, int pHeight)
          Creates a new instance of Size.
 
Method Summary
 boolean equals(Object obj)
          
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

width

public int width
the width.


height

public int height
the height.

Constructor Detail

Size

public Size()
Creates a new instance of Size. Only for serialization.


Size

public Size(int pWidth,
            int pHeight)
Creates a new instance of Size.

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

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.