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 Details

    • 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