Interface Notebook.OnSwitchPage

Enclosing class:
Notebook
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 static interface Notebook.OnSwitchPage
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onSwitchPage(Widget page, int page_num)
    Emitted when the user or a function changes the current page.
  • Method Details

    • onSwitchPage

      void onSwitchPage(@Nonnull Widget page, int page_num)
      Emitted when the user or a function changes the current page.
      Parameters:
      page - the new current page
      page_num - the index of the page