public class Locations extends Object implements Iterable<org.openqa.selenium.Point>
Constructor and Description |
---|
Locations(org.openqa.selenium.Point topLeft,
org.openqa.selenium.Point topRight,
org.openqa.selenium.Point bottomLeft,
org.openqa.selenium.Point bottomRight) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.openqa.selenium.Point |
getBottomLeft() |
org.openqa.selenium.Point |
getBottomRight() |
int |
getHeight() |
org.openqa.selenium.Point |
getTopLeft() |
org.openqa.selenium.Point |
getTopRight() |
int |
getWidth() |
int |
hashCode() |
Iterator<org.openqa.selenium.Point> |
iterator() |
Locations |
moveAllBy(int x,
int y)
Returns new instance with moved borders.
|
Locations |
resizeFromBottomRight(int byXPixels,
int byYPixels)
Returns new instance with resized borders form bottom right corner.
|
String |
toString() |
public Locations(org.openqa.selenium.Point topLeft, org.openqa.selenium.Point topRight, org.openqa.selenium.Point bottomLeft, org.openqa.selenium.Point bottomRight)
public org.openqa.selenium.Point getBottomLeft()
public org.openqa.selenium.Point getBottomRight()
public int getHeight()
public org.openqa.selenium.Point getTopLeft()
public org.openqa.selenium.Point getTopRight()
public int getWidth()
public Iterator<org.openqa.selenium.Point> iterator()
public Locations moveAllBy(int x, int y)
public Locations resizeFromBottomRight(int byXPixels, int byYPixels)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.