Interface LayoutSaveHandler<T>

Type Parameters:
T - type of the state context
All Known Subinterfaces:
Layouts.SaveRequestListener
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 LayoutSaveHandler<T>
A handler function to be invoked when layout save state is requested.
Since:
1.4.2
  • Method Summary

    Modifier and Type Method Description
    T handle​(LayoutSaveRequest request)
    Invoked when layout state save is requested to return context.
  • Method Details

    • handle

      T handle​(LayoutSaveRequest request)
      Invoked when layout state save is requested to return context.
      Parameters:
      request - save request, never null
      Returns:
      context to be saved with layout state