public class RectangleListConditionsImpl extends BaseObjectListConditions<org.openqa.selenium.Rectangle,RectangleConditions> implements RectangleConditions
conditions, conditionsGetter, objectGetter| Constructor and Description |
|---|
RectangleListConditionsImpl(Conditions<FluentWebElement> conditions)
Creates a new list of rectangles conditions, using rectangle of the conditions element
|
RectangleListConditionsImpl(Conditions<FluentWebElement> conditions,
com.google.common.base.Function<FluentWebElement,org.openqa.selenium.Rectangle> objectGetter,
com.google.common.base.Function<FluentWebElement,RectangleConditions> conditionsGetter)
Creates a new list of rectangles conditions
|
| 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.
|
RectangleListConditionsImpl |
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 RectangleListConditionsImpl(Conditions<FluentWebElement> conditions, com.google.common.base.Function<FluentWebElement,org.openqa.selenium.Rectangle> objectGetter, com.google.common.base.Function<FluentWebElement,RectangleConditions> conditionsGetter)
conditions - rectangles conditionsobjectGetter - getter of the underlying rectangleconditionsGetter - getter of the underlying rectangle conditionspublic RectangleListConditionsImpl(Conditions<FluentWebElement> conditions)
conditions - rectangles conditionspublic RectangleListConditionsImpl not()
Conditionsnot in interface Conditions<org.openqa.selenium.Rectangle>not in interface RectangleConditionspublic boolean x(int x)
RectangleConditionsx in interface RectangleConditionsx - x positionpublic boolean y(int y)
RectangleConditionsy in interface RectangleConditionsy - y positionpublic IntegerConditions x()
RectangleConditionsx in interface RectangleConditionspublic 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.