Class Dimension

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

public class Dimension extends Object
Similar to Point - implement locally to avoid depending on GWT.
  • Field Details

    • width

      public final int width
    • height

      public final int height
  • Constructor Details

    • Dimension

      public Dimension(int width, int height)
  • Method Details

    • 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