Package org.openqa.selenium
Class Rectangle
- java.lang.Object
-
- org.openqa.selenium.Rectangle
-
public class Rectangle extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Dimension
getDimension()
int
getHeight()
Point
getPoint()
int
getWidth()
int
getX()
int
getY()
int
hashCode()
void
setHeight(int height)
Deprecated.Rectangle objects are supposed to be immutable, all setters will be removed soonvoid
setWidth(int width)
Deprecated.Rectangle objects are supposed to be immutable, all setters will be removed soonvoid
setX(int x)
Deprecated.Rectangle objects are supposed to be immutable, all setters will be removed soonvoid
setY(int y)
Deprecated.Rectangle objects are supposed to be immutable, all setters will be removed soon
-
-
-
Method Detail
-
getX
public int getX()
-
getY
public int getY()
-
setX
@Deprecated public void setX(int x)
Deprecated.Rectangle objects are supposed to be immutable, all setters will be removed soon
-
setY
@Deprecated public void setY(int y)
Deprecated.Rectangle objects are supposed to be immutable, all setters will be removed soon
-
getHeight
public int getHeight()
-
setHeight
@Deprecated public void setHeight(int height)
Deprecated.Rectangle objects are supposed to be immutable, all setters will be removed soon
-
getWidth
public int getWidth()
-
setWidth
@Deprecated public void setWidth(int width)
Deprecated.Rectangle objects are supposed to be immutable, all setters will be removed soon
-
getPoint
public Point getPoint()
-
getDimension
public Dimension getDimension()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-