Interface GuiDescription.FocusChangeListener

Enclosing interface:
GuiDescription
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 GuiDescription.FocusChangeListener
A listener for focus change events.
Since:
16.0.0
  • Method Details

    • onFocusChanged

      void onFocusChanged(@Nullable WWidget from, @Nullable WWidget to)
      Called when the focused widget changes.
      Parameters:
      from - the previous focused widget
      to - the new focused widget