Interface TextInputClient.CompositionCancellation

All Known Implementing Classes:
CodeView, EditField, EditorView, RichView
Enclosing interface:
TextInputClient

public static interface TextInputClient.CompositionCancellation
Optional contract for clients that can restore a canceled composition, including rich text attributes and undo state. Ports may restore text and selection for older clients; rich editors should implement this contract to restore their complete pre-composition state.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Restores the text, selection and attributes from before composition without recording an undo entry.
  • Method Details

    • cancelComposing

      void cancelComposing()
      Restores the text, selection and attributes from before composition without recording an undo entry. Does nothing when no composition is active.