org.openqa.selenium
Class Dimension

java.lang.Object
  extended by org.openqa.selenium.Dimension

public class Dimension
extends Object

Similar to Point - implement locally to avoid depending on GWT.


Field Summary
 int height
           
 int width
           
 
Constructor Summary
Dimension(int width, int height)
           
 
Method Summary
 boolean equals(Object o)
           
 int getHeight()
           
 int getWidth()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

width

public final int width

height

public final int height
Constructor Detail

Dimension

public Dimension(int width,
                 int height)
Method Detail

getWidth

public int getWidth()

getHeight

public int getHeight()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.