Interface RectangleConditions

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
      RectangleConditions 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.
      • Methods inherited from interface org.fluentlenium.core.conditions.Conditions

        verify
    • Method Detail

      • not

        RectangleConditions not()
        Description copied from interface: Conditions
        Negates this condition object.
        Specified by:
        not in interface Conditions<org.openqa.selenium.Rectangle>
        Returns:
        a negated condition object
      • x

        boolean x​(int x)
        Check that rectangle has the given x position.
        Parameters:
        x - x position
        Returns:
        true if rectangle has the given x position, false otherwise
      • x

        IntegerConditions x()
        Add advanced conditions on rectangle x position.
        Returns:
        advanced conditions builder on rectangle x position
      • y

        boolean y​(int y)
        Check that rectangle has the given y position.
        Parameters:
        y - y position
        Returns:
        true if rectangle has the given y position, false otherwise
      • y

        IntegerConditions y()
        Add advanced conditions on rectangle y position.
        Returns:
        advanced conditions builder on rectangle y position
      • position

        boolean position​(int x,
                         int y)
        Check that rectangle has the given (x, y) position.
        Parameters:
        x - x position
        y - y position
        Returns:
        true if rectangle has the given (x, y) position, false otherwise
      • width

        boolean width​(int width)
        Check that rectangle has the given width.
        Parameters:
        width - width
        Returns:
        true if rectangle has the given width, false otherwise
      • width

        IntegerConditions width()
        Add advanced conditions on rectangle width.
        Returns:
        advanced conditions builder on rectangle width
      • height

        boolean height​(int height)
        Check that rectangle has the given height.
        Parameters:
        height - height
        Returns:
        true if rectangle has the given height, false otherwise
      • height

        IntegerConditions height()
        Add advanced conditions on rectangle height.
        Returns:
        advanced conditions builder on rectangle height
      • dimension

        boolean dimension​(int width,
                          int height)
        Check that rectangle has the given dimension.
        Parameters:
        width - width
        height - height
        Returns:
        true if rectangle has the given dimension, false otherwise
      • positionAndDimension

        boolean positionAndDimension​(int x,
                                     int y,
                                     int width,
                                     int height)
        Check that rectangle has the given psition and dimension.
        Parameters:
        x - x position
        y - y position
        width - width
        height - height
        Returns:
        true if rectangle has the given dimension, false otherwise