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