Interface IMContext.OnCommit

Enclosing class:
IMContext
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 IMContext.OnCommit
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The ::commit signal is emitted when a complete input sequence
    has been entered by the user.
  • Method Details

    • onCommit

      void onCommit(@Nonnull Str str)
      The ::commit signal is emitted when a complete input sequence
      has been entered by the user.

      If the commit comes after a preediting sequence, the
      ::commit signal is emitted after ::preedit-end.

      This can be a single character immediately after a key press or
      the final result of preediting.
      Parameters:
      str - the completed character(s) entered by the user