Package org.fluentlenium.core.components
Interface LazyComponents<T>
-
- Type Parameters:
T
- type of component
- All Known Implementing Classes:
ComponentList
,FluentListImpl
,LazyComponentList
,NotLazyComponents
public interface LazyComponents<T>
Supports lazy initialization.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addLazyComponentsListener(LazyComponentsListener<T> listener)
Add a lazy components initialization listener.boolean
isLazy()
Get the lazyness of this object.boolean
isLazyInitialized()
Check if the underlying lazy components are initialized.boolean
removeLazyComponentsListener(LazyComponentsListener<T> listener)
Remove an existing lazy components initialization listener.
-
-
-
Method Detail
-
isLazy
boolean isLazy()
Get the lazyness of this object.- Returns:
- true if it's lazy, false otherwise.
-
isLazyInitialized
boolean isLazyInitialized()
Check if the underlying lazy components are initialized.- Returns:
- true if lazy components are initialized, false otherwise.
-
addLazyComponentsListener
boolean addLazyComponentsListener(LazyComponentsListener<T> listener)
Add a lazy components initialization listener.- Parameters:
listener
- lazy components listener- Returns:
- true if the listener was added, false otherwise
-
removeLazyComponentsListener
boolean removeLazyComponentsListener(LazyComponentsListener<T> listener)
Remove an existing lazy components initialization listener.- Parameters:
listener
- lazy components listener- Returns:
- true if the listener was added, false otherwise
-
-