Package org.fluentlenium.core.domain
Class NotLazyComponents
- java.lang.Object
-
- org.fluentlenium.core.domain.NotLazyComponents
-
- All Implemented Interfaces:
LazyComponents
public class NotLazyComponents extends java.lang.Object implements LazyComponents
Implementation ofLazyComponents
for a non lazy components wrapper.
-
-
Constructor Summary
Constructors Constructor Description NotLazyComponents()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addLazyComponentsListener(LazyComponentsListener 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 listener)
Remove an existing lazy components initialization listener.
-
-
-
Method Detail
-
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
public boolean addLazyComponentsListener(LazyComponentsListener listener)
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
public boolean removeLazyComponentsListener(LazyComponentsListener listener)
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
-
-