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 ofLazyComponentsfor a non lazy components wrapper.
-
-
Constructor Summary
Constructors Constructor Description NotLazyComponents()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddLazyComponentsListener(LazyComponentsListener listener)Add a lazy components initialization listener.booleanisLazy()Get the lazyness of this object.booleanisLazyInitialized()Check if the underlying lazy components are initialized.booleanremoveLazyComponentsListener(LazyComponentsListener listener)Remove an existing lazy components initialization listener.
-
-
-
Method Detail
-
isLazy
public boolean isLazy()
Description copied from interface:LazyComponentsGet the lazyness of this object.- Specified by:
isLazyin interfaceLazyComponents- Returns:
- true if it's lazy, false otherwise.
-
isLazyInitialized
public boolean isLazyInitialized()
Description copied from interface:LazyComponentsCheck if the underlying lazy components are initialized.- Specified by:
isLazyInitializedin interfaceLazyComponents- Returns:
- true if lazy components are initialized, false otherwise.
-
addLazyComponentsListener
public boolean addLazyComponentsListener(LazyComponentsListener listener)
Description copied from interface:LazyComponentsAdd a lazy components initialization listener.- Specified by:
addLazyComponentsListenerin 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:LazyComponentsRemove an existing lazy components initialization listener.- Specified by:
removeLazyComponentsListenerin interfaceLazyComponents- Parameters:
listener- lazy components listener- Returns:
- true if the listener was added, false otherwise
-
-