public interface ComponentInstantiator
| Modifier and Type | Method and Description |
|---|---|
<L extends List<T>,T> |
asComponentList(Class<L> listClass,
Class<T> componentClass,
Iterable<org.openqa.selenium.WebElement> elements)
Create and register a new list of component from the given element iterable.
|
<L extends List<T>,T> |
asComponentList(Class<L> listClass,
Class<T> componentClass,
List<org.openqa.selenium.WebElement> elements)
Create and register a new list of component from the given element iterable.
|
<L extends List<T>,T> |
asComponentList(Class<L> listClass,
Class<T> componentClass,
org.openqa.selenium.WebElement... elements)
Create and register a new list of component from the given element iterable.
|
<T> ComponentList<T> |
asComponentList(Class<T> componentClass,
Iterable<org.openqa.selenium.WebElement> elements)
Create and register a new list of component from the given element iterable.
|
<T> ComponentList<T> |
asComponentList(Class<T> componentClass,
List<org.openqa.selenium.WebElement> elements)
Create and register a new list of component from the given element iterable.
|
<T> ComponentList<T> |
asComponentList(Class<T> componentClass,
org.openqa.selenium.WebElement... elements)
Create and register a new list of component from the given element iterable.
|
<T extends FluentWebElement> |
asFluentList(Class<T> componentClass,
Iterable<org.openqa.selenium.WebElement> elements)
create and register a new fluent list.
|
<T extends FluentWebElement> |
asFluentList(Class<T> componentClass,
List<org.openqa.selenium.WebElement> elements)
create and register a new fluent list.
|
<T extends FluentWebElement> |
asFluentList(Class<T> componentClass,
org.openqa.selenium.WebElement... elements)
create and register a new fluent list.
|
FluentList<FluentWebElement> |
asFluentList(Iterable<org.openqa.selenium.WebElement> elements)
create and register a new fluent list.
|
FluentList<FluentWebElement> |
asFluentList(List<org.openqa.selenium.WebElement> elements)
create and register a new fluent list.
|
FluentList<FluentWebElement> |
asFluentList(org.openqa.selenium.WebElement... elements)
create and register a new fluent list.
|
boolean |
isComponentClass(Class<?> componentClass)
Check if this class is a component class.
|
boolean |
isComponentListClass(Class<? extends List<?>> componentListClass)
Check if this class is a component list class.
|
<T> T |
newComponent(Class<T> componentClass,
org.openqa.selenium.WebElement element)
Create and register a new component from the given element.
|
<L extends List<T>,T> |
newComponentList(Class<L> listClass,
Class<T> componentClass)
Create and register an empty list of component.
|
<L extends List<T>,T> |
newComponentList(Class<L> listClass,
Class<T> componentClass,
List<T> componentsList)
Create and register a new list of component from the given component list.
|
<L extends List<T>,T> |
newComponentList(Class<L> listClass,
Class<T> componentClass,
T... componentsList)
Create and register a new list of component from the given component list.
|
<T> ComponentList<T> |
newComponentList(Class<T> componentClass)
Create and register an empty list of component.
|
<T> ComponentList<T> |
newComponentList(Class<T> componentClass,
List<T> componentsList)
Create and register a new list of component from the given component list.
|
<T> ComponentList<T> |
newComponentList(Class<T> componentClass,
T... componentsList)
Create and register a new list of component from the given component list.
|
FluentWebElement |
newFluent(org.openqa.selenium.WebElement element)
Create and register a new fluent element from the given element.
|
FluentList<FluentWebElement> |
newFluentList()
create and register an empty fluent list.
|
<T extends FluentWebElement> |
newFluentList(Class<T> componentClass)
create and register an empty fluent list.
|
<T extends FluentWebElement> |
newFluentList(Class<T> componentClass,
List<T> elements)
create and register a new fluent list.
|
<T extends FluentWebElement> |
newFluentList(Class<T> componentClass,
T... elements)
create and register a new fluent list.
|
FluentList<FluentWebElement> |
newFluentList(FluentWebElement... elements)
create and register a new fluent list.
|
FluentList<FluentWebElement> |
newFluentList(List<FluentWebElement> elements)
create and register a new fluent list.
|
FluentWebElement newFluent(org.openqa.selenium.WebElement element)
element - wrapped element<T> T newComponent(Class<T> componentClass, org.openqa.selenium.WebElement element)
T - type of the componentcomponentClass - type of the componentelement - wrapped elementFluentList<FluentWebElement> newFluentList()
FluentList<FluentWebElement> newFluentList(FluentWebElement... elements)
elements - list of elementsFluentList<FluentWebElement> newFluentList(List<FluentWebElement> elements)
elements - list of elementsFluentList<FluentWebElement> asFluentList(org.openqa.selenium.WebElement... elements)
elements - list of elementsFluentList<FluentWebElement> asFluentList(Iterable<org.openqa.selenium.WebElement> elements)
elements - list of elementsFluentList<FluentWebElement> asFluentList(List<org.openqa.selenium.WebElement> elements)
elements - list of elements<T extends FluentWebElement> FluentList<T> newFluentList(Class<T> componentClass)
T - type of the componentcomponentClass - class of the component<T extends FluentWebElement> FluentList<T> newFluentList(Class<T> componentClass, T... elements)
T - type of the componentcomponentClass - class of the componentelements - list of elements<T extends FluentWebElement> FluentList<T> newFluentList(Class<T> componentClass, List<T> elements)
T - type of the componentcomponentClass - class of the componentelements - list of elements<T extends FluentWebElement> FluentList<T> asFluentList(Class<T> componentClass, org.openqa.selenium.WebElement... elements)
T - type of the componentcomponentClass - class of the componentelements - list of elements<T extends FluentWebElement> FluentList<T> asFluentList(Class<T> componentClass, Iterable<org.openqa.selenium.WebElement> elements)
T - type of the componentcomponentClass - class of the componentelements - list of elements<T extends FluentWebElement> FluentList<T> asFluentList(Class<T> componentClass, List<org.openqa.selenium.WebElement> elements)
T - type of the componentcomponentClass - class of the componentelements - list of elements<T> ComponentList<T> newComponentList(Class<T> componentClass)
T - type of the componentcomponentClass - type of the component<T> ComponentList<T> asComponentList(Class<T> componentClass, org.openqa.selenium.WebElement... elements)
T - type of the componentcomponentClass - type of the componentelements - elements<T> ComponentList<T> asComponentList(Class<T> componentClass, Iterable<org.openqa.selenium.WebElement> elements)
T - type of the componentcomponentClass - type of the componentelements - elements<T> ComponentList<T> asComponentList(Class<T> componentClass, List<org.openqa.selenium.WebElement> elements)
T - type of the componentcomponentClass - type of the componentelements - elements<T> ComponentList<T> newComponentList(Class<T> componentClass, T... componentsList)
T - type of the componentcomponentClass - type of the componentcomponentsList - components list<T> ComponentList<T> newComponentList(Class<T> componentClass, List<T> componentsList)
T - type of the componentcomponentClass - type of the componentcomponentsList - components list<L extends List<T>,T> L newComponentList(Class<L> listClass, Class<T> componentClass)
L - type of the listT - type of the componentlistClass - type of the listcomponentClass - type of the component<L extends List<T>,T> L asComponentList(Class<L> listClass, Class<T> componentClass, org.openqa.selenium.WebElement... elements)
L - type of the listT - type of the componentlistClass - type of the listcomponentClass - type of the componentelements - elements<L extends List<T>,T> L asComponentList(Class<L> listClass, Class<T> componentClass, Iterable<org.openqa.selenium.WebElement> elements)
L - type of the listT - type of the componentlistClass - type of the listcomponentClass - type of the componentelements - elements<L extends List<T>,T> L asComponentList(Class<L> listClass, Class<T> componentClass, List<org.openqa.selenium.WebElement> elements)
L - type of the listT - type of the componentlistClass - type of the listcomponentClass - type of the componentelements - elements<L extends List<T>,T> L newComponentList(Class<L> listClass, Class<T> componentClass, T... componentsList)
L - type of the listT - type of the componentlistClass - type of the listcomponentClass - type of the componentcomponentsList - components list<L extends List<T>,T> L newComponentList(Class<L> listClass, Class<T> componentClass, List<T> componentsList)
L - type of the listT - type of the componentlistClass - type of the listcomponentClass - type of the componentcomponentsList - components listboolean isComponentClass(Class<?> componentClass)
componentClass - class to checkCopyright © 2016 FluentLenium. All Rights Reserved.