Interface OverlayHandler

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface OverlayHandler
Handler called when an overlay's visibility changes.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(Event event, boolean open)
    Called when the overlay is shown or hidden.
  • Method Details

    • handle

      void handle(Event event, boolean open)
      Called when the overlay is shown or hidden.
      Parameters:
      event - the event that triggered the visibility change
      open - true if the overlay was shown, false if it was hidden