Class AbstractGuiElementCoreActionsDecorator
- java.lang.Object
-
- eu.tsystems.mms.tic.testframework.pageobjects.internal.core.AbstractGuiElementCoreActionsDecorator
-
- All Implemented Interfaces:
GuiElementCoreActions
- Direct Known Subclasses:
AbstractGuiElementCoreDecorator
public abstract class AbstractGuiElementCoreActionsDecorator extends java.lang.Object implements GuiElementCoreActions
Abstract decorator for aGuiElementCoreActions
-
-
Field Summary
Fields Modifier and Type Field Description protected GuiElementCoredecoratedCore
-
Constructor Summary
Constructors Constructor Description AbstractGuiElementCoreActionsDecorator(GuiElementCore decoratedCore)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidafterDelegation()protected voidbeforeDelegation(java.lang.String method, java.lang.Object... params)voidclear()voidclick()voidcontextClick()voiddeselect()voiddoubleClick()doubleclickvoidhighlight(java.awt.Color color)voidhover()voidscrollIntoView(org.openqa.selenium.Point offset)voidscrollToElement(int yOffset)Deprecated.voidscrollToTop()voidselect()voidsendKeys(java.lang.CharSequence... charSequences)voidsubmit()voidswipe(int offsetX, int offSetY)Swipe the element by the given offset.voidtype(java.lang.String text)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface eu.tsystems.mms.tic.testframework.pageobjects.internal.core.GuiElementCoreActions
mouseOver, rightClick, scrollIntoView, scrollToElement, select
-
-
-
-
Field Detail
-
decoratedCore
protected final GuiElementCore decoratedCore
-
-
Constructor Detail
-
AbstractGuiElementCoreActionsDecorator
public AbstractGuiElementCoreActionsDecorator(GuiElementCore decoratedCore)
-
-
Method Detail
-
beforeDelegation
protected void beforeDelegation(java.lang.String method, java.lang.Object... params)
-
afterDelegation
protected void afterDelegation()
-
scrollToElement
@Deprecated public void scrollToElement(int yOffset)
Deprecated.- Specified by:
scrollToElementin interfaceGuiElementCoreActions
-
scrollIntoView
public void scrollIntoView(org.openqa.selenium.Point offset)
- Specified by:
scrollIntoViewin interfaceGuiElementCoreActions
-
scrollToTop
public void scrollToTop()
- Specified by:
scrollToTopin interfaceGuiElementCoreActions
-
select
public void select()
- Specified by:
selectin interfaceGuiElementCoreActions
-
deselect
public void deselect()
- Specified by:
deselectin interfaceGuiElementCoreActions
-
type
public void type(java.lang.String text)
- Specified by:
typein interfaceGuiElementCoreActions
-
click
public void click()
- Specified by:
clickin interfaceGuiElementCoreActions
-
contextClick
public void contextClick()
- Specified by:
contextClickin interfaceGuiElementCoreActions
-
submit
public void submit()
- Specified by:
submitin interfaceGuiElementCoreActions
-
sendKeys
public void sendKeys(java.lang.CharSequence... charSequences)
- Specified by:
sendKeysin interfaceGuiElementCoreActions
-
clear
public void clear()
- Specified by:
clearin interfaceGuiElementCoreActions
-
hover
public void hover()
- Specified by:
hoverin interfaceGuiElementCoreActions
-
doubleClick
public void doubleClick()
Description copied from interface:GuiElementCoreActionsdoubleclick- Specified by:
doubleClickin interfaceGuiElementCoreActions
-
highlight
public void highlight(java.awt.Color color)
- Specified by:
highlightin interfaceGuiElementCoreActions
-
swipe
public void swipe(int offsetX, int offSetY)Description copied from interface:GuiElementCoreActionsSwipe the element by the given offset. (0,0) should be the top left.- Specified by:
swipein interfaceGuiElementCoreActions- Parameters:
offsetX- horizontal offset in pixel.offSetY- vertical offset in pixel.
-
-