Class WidgetListItemHandler
java.lang.Object
net.thucydides.core.annotations.locators.AbstractListItemHandler<WidgetObject>
net.thucydides.core.annotations.locators.WidgetListItemHandler
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
public class WidgetListItemHandler extends AbstractListItemHandler<WidgetObject>
Handles a resolved
WidgetObject from a List.- Author:
- Joe Nasca
-
Field Summary
Fields inherited from class net.thucydides.core.annotations.locators.AbstractListItemHandler
element, implementerClass, implicitTimeoutInMilliseconds, locator, page, waitForTimeoutInMilliseconds -
Constructor Summary
Constructors Constructor Description WidgetListItemHandler(java.lang.Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, org.openqa.selenium.WebElement element, PageObject page, long implicitTimeoutInMilliseconds, long waitForTimeoutInMilliseconds) -
Method Summary
Modifier and Type Method Description protected java.lang.ObjectnewElementInstance()Methods inherited from class net.thucydides.core.annotations.locators.AbstractListItemHandler
invokeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WidgetListItemHandler
public WidgetListItemHandler(java.lang.Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, org.openqa.selenium.WebElement element, PageObject page, long implicitTimeoutInMilliseconds, long waitForTimeoutInMilliseconds)
-
-
Method Details
-
newElementInstance
protected java.lang.Object newElementInstance() throws java.lang.NoSuchMethodException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException- Specified by:
newElementInstancein classAbstractListItemHandler<WidgetObject>- Throws:
java.lang.NoSuchMethodExceptionjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetException
-