Interface RichTextEditorPane

All Superinterfaces:
RichTextPane
All Known Implementing Classes:
TextEditorPane, TextEditorPane

public interface RichTextEditorPane extends RichTextPane
Toolkit-agnostic API for editable rich-text panes.
  • Method Details

    • isEnterKeyInsertsNewline

      boolean isEnterKeyInsertsNewline()
      Returns whether pressing the ENTER key inserts a newline.
      Returns:
      true if ENTER inserts a newline
    • setEnterKeyInsertsNewline

      void setEnterKeyInsertsNewline(boolean value)
      Configures ENTER key behavior.
      Parameters:
      value - true if ENTER should insert a newline, false to leave ENTER handling to outer controls