public class RectangleConditionsImpl extends AbstractObjectConditions<org.openqa.selenium.Rectangle> implements RectangleConditions
negation, object| Constructor and Description |
|---|
RectangleConditionsImpl(org.openqa.selenium.Rectangle rectangle)
Creates a new conditions object on rectangle.
|
RectangleConditionsImpl(org.openqa.selenium.Rectangle rectangle,
boolean negation)
Creates a new conditions object on rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
dimension(int width,
int height)
Check that rectangle has the given dimension.
|
IntegerConditions |
height()
Add advanced conditions on rectangle height.
|
boolean |
height(int height)
Check that rectangle has the given height.
|
protected RectangleConditionsImpl |
newInstance(boolean negationValue)
Creates a new instance of this condition.
|
RectangleConditionsImpl |
not()
Negates this condition object.
|
boolean |
position(int x,
int y)
Check that rectangle has the given (x, y) position.
|
boolean |
positionAndDimension(int x,
int y,
int width,
int height)
Check that rectangle has the given psition and dimension.
|
IntegerConditions |
width()
Add advanced conditions on rectangle width.
|
boolean |
width(int width)
Check that rectangle has the given width.
|
IntegerConditions |
x()
Add advanced conditions on rectangle x position.
|
boolean |
x(int x)
Check that rectangle has the given x position.
|
IntegerConditions |
y()
Add advanced conditions on rectangle y position.
|
boolean |
y(int y)
Check that rectangle has the given y position.
|
getActualObject, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitverifypublic RectangleConditionsImpl(org.openqa.selenium.Rectangle rectangle)
rectangle - underlying rectanglepublic RectangleConditionsImpl(org.openqa.selenium.Rectangle rectangle,
boolean negation)
rectangle - underlying rectanglenegation - negation valueprotected RectangleConditionsImpl newInstance(boolean negationValue)
AbstractObjectConditionsnewInstance in class AbstractObjectConditions<org.openqa.selenium.Rectangle>negationValue - negation valuepublic RectangleConditionsImpl not()
Conditionsnot in interface Conditions<org.openqa.selenium.Rectangle>not in interface RectangleConditionsnot in class AbstractObjectConditions<org.openqa.selenium.Rectangle>public boolean x(int x)
RectangleConditionsx in interface RectangleConditionsx - x positionpublic IntegerConditions x()
RectangleConditionsx in interface RectangleConditionspublic boolean y(int y)
RectangleConditionsy in interface RectangleConditionsy - y positionpublic IntegerConditions y()
RectangleConditionsy in interface RectangleConditionspublic boolean position(int x,
int y)
RectangleConditionsposition in interface RectangleConditionsx - x positiony - y positionpublic boolean width(int width)
RectangleConditionswidth in interface RectangleConditionswidth - widthpublic IntegerConditions width()
RectangleConditionswidth in interface RectangleConditionspublic boolean height(int height)
RectangleConditionsheight in interface RectangleConditionsheight - heightpublic IntegerConditions height()
RectangleConditionsheight in interface RectangleConditionspublic boolean dimension(int width,
int height)
RectangleConditionsdimension in interface RectangleConditionswidth - widthheight - heightpublic boolean positionAndDimension(int x,
int y,
int width,
int height)
RectangleConditionspositionAndDimension in interface RectangleConditionsx - x positiony - y positionwidth - widthheight - heightCopyright © 2016 FluentLenium. All Rights Reserved.