Interface ITerminalClipboard

All Superinterfaces:
HasElement, Serializable
All Known Implementing Classes:
XTerm

public interface ITerminalClipboard extends HasElement
Add clipboard support to XTerm. This provides handling of Ctrl-C (copy) and Ctrl-V (paste) shortcuts, and optional click-to-copy and click-to-paste. The clipboard target is either the system clipboard or an internal buffer.
  • Method Details

    • setUseSystemClipboard

      default void setUseSystemClipboard(ITerminalClipboard.UseSystemClipboard value)
      Configure the clipboard to write (and optionally read from) the system clipboard
    • setPasteWithRightClick

      default void setPasteWithRightClick(boolean value)
      Handle mouse right click as a paste action
    • setPasteWithMiddleClick

      default void setPasteWithMiddleClick(boolean value)
      Handle mouse middle click as a paste action
    • setCopySelection

      default void setCopySelection(boolean value)
      Automatically copy to the clipboard the select text.
    • getUseSystemClipboard

      default ITerminalClipboard.UseSystemClipboard getUseSystemClipboard()
      Return whether copy and paste actions use the system clipboard
    • isPasteWithRightClick

      default boolean isPasteWithRightClick()
      Return whether mouse right click is handled as a paste action
    • isPasteWithMiddleClick

      default boolean isPasteWithMiddleClick()
      Return whether mouse middle click is handled as a paste action
    • isCopySelection

      default boolean isCopySelection()
      Return whether text is copied to the clipboard when selected.