Interface Page


public interface Page
A page interface represents a collection of HTML elements. Implementations should be cheap to create.

Pages can be annotated with Route and registered with the PlaceManager using PlaceManager.register(Place, Supplier) and PlaceManager.register(Places).

  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Called when the elements of this page have been attached.
    default void
    Called when the elements of this page have been detached.
    elements(Place place, Parameter parameter, LoadedData data)
     
  • Method Details

    • elements

      Iterable<HTMLElement> elements(Place place, Parameter parameter, LoadedData data)
    • attach

      default void attach()
      Called when the elements of this page have been attached. The default implementation does nothing.
    • detach

      default void detach()
      Called when the elements of this page have been detached. The default implementation does nothing.