T - type of componentpublic class ComponentList<T> extends DelegatingList<T> implements WrapsElements, LazyComponents
Component| Modifier and Type | Field and Description |
|---|---|
protected Class<T> |
componentClass |
protected FluentControl |
control |
protected ComponentInstantiator |
instantiator |
protected List<org.openqa.selenium.WebElement> |
proxy |
list| Constructor and Description |
|---|
ComponentList(Class<T> componentClass,
List<T> list,
FluentControl control,
ComponentInstantiator instantiator)
Creates a new list of components
|
| Modifier and Type | Method and Description |
|---|---|
List<org.openqa.selenium.WebElement> |
getWrappedElements()
Get the wrapped elements
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLazyComponentsListener, isLazy, isLazyInitialized, removeLazyComponentsListeneradd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streamprotected final ComponentInstantiator instantiator
protected final FluentControl control
protected List<org.openqa.selenium.WebElement> proxy
public ComponentList(Class<T> componentClass, List<T> list, FluentControl control, ComponentInstantiator instantiator)
componentClass - component classlist - underlying list of componentscontrol - control interfaceinstantiator - component instantiatorpublic List<org.openqa.selenium.WebElement> getWrappedElements()
WrapsElementsgetWrappedElements in interface WrapsElementsCopyright © 2016 FluentLenium. All Rights Reserved.