public abstract class AbstractOptionCombinedWithPosition<T extends AbstractOptionCombinedWithPosition<T>> extends ActionOptions<AbstractOptionCombinedWithPosition<T>>
| Constructor and Description |
|---|
AbstractOptionCombinedWithPosition() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
build()
Creates a map based on the provided options.
|
protected void |
verify()
This method is automatically called before building
options map to verify the consistency of the instance.
|
T |
withElement(ElementOption element)
Most of touch action may use position which is relative to some element.
|
T |
withPosition(PointOption positionOption)
Some actions may require coordinates.
|
public T withPosition(PointOption positionOption)
withElement(ElementOption) invocation.positionOption - required coordinates. *public T withElement(ElementOption element)
withPosition(PointOption) invocation.element - required position which is relative to some elementprotected void verify()
ActionOptionsverify in class ActionOptions<AbstractOptionCombinedWithPosition<T extends AbstractOptionCombinedWithPosition<T>>>public java.util.Map<java.lang.String,java.lang.Object> build()
ActionOptionsbuild in class ActionOptions<AbstractOptionCombinedWithPosition<T extends AbstractOptionCombinedWithPosition<T>>>