Class SmartWidgetHandler
- java.lang.Object
-
- net.thucydides.core.annotations.locators.AbstractSingleItemHandler<WidgetObject>
-
- net.thucydides.core.annotations.locators.SmartWidgetHandler
-
- All Implemented Interfaces:
InvocationHandler
public class SmartWidgetHandler extends AbstractSingleItemHandler<WidgetObject>
Handles single-itemWidgetObject
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(Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, PageObject page)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
newElementInstance()
-
Methods inherited from class net.thucydides.core.annotations.locators.AbstractSingleItemHandler
invoke
-
-
-
-
Constructor Detail
-
SmartWidgetHandler
public SmartWidgetHandler(Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, PageObject page)
-
-
Method Detail
-
newElementInstance
protected Object newElementInstance() throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException
- Specified by:
newElementInstance
in classAbstractSingleItemHandler<WidgetObject>
- Throws:
InvocationTargetException
NoSuchMethodException
InstantiationException
IllegalAccessException
-
-