Package io.fluentlenium.core.domain
Class NotLazyComponents
java.lang.Object
io.fluentlenium.core.domain.NotLazyComponents
- All Implemented Interfaces:
LazyComponents
Implementation of
LazyComponents
for a non lazy components wrapper.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addLazyComponentsListener
(LazyComponentsListener listener) Add a lazy components initialization listener.boolean
isLazy()
Get the lazyness of this object.boolean
Check if the underlying lazy components are initialized.boolean
Remove an existing lazy components initialization listener.
-
Constructor Details
-
NotLazyComponents
public NotLazyComponents()
-
-
Method Details
-
isLazy
public boolean isLazy()Description copied from interface:LazyComponents
Get the lazyness of this object.- Specified by:
isLazy
in interfaceLazyComponents
- Returns:
- true if it's lazy, false otherwise.
-
isLazyInitialized
public boolean isLazyInitialized()Description copied from interface:LazyComponents
Check if the underlying lazy components are initialized.- Specified by:
isLazyInitialized
in interfaceLazyComponents
- Returns:
- true if lazy components are initialized, false otherwise.
-
addLazyComponentsListener
Description copied from interface:LazyComponents
Add a lazy components initialization listener.- Specified by:
addLazyComponentsListener
in interfaceLazyComponents
- Parameters:
listener
- lazy components listener- Returns:
- true if the listener was added, false otherwise
-
removeLazyComponentsListener
Description copied from interface:LazyComponents
Remove an existing lazy components initialization listener.- Specified by:
removeLazyComponentsListener
in interfaceLazyComponents
- Parameters:
listener
- lazy components listener- Returns:
- true if the listener was added, false otherwise
-