Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mindbright.terminal
Interface TerminalClipboardHandler

All Known Implementing Classes:
  GlobalClipboard

public interface TerminalClipboardHandler

Interface describing a clipboard for the terminal emulator.

See Also:
  `TerminalWin`

Method Summary
`void` | `clearSelection()` Clear the clipboard contents.
`java.lang.String` | `getSelection()` Get the current contents of the clipboard
`void` | `setSelection(java.lang.String selection)` Set the content of the clipboard to the specified string.

Method Detail

### setSelection

    public void setSelection(java.lang.String selection)

  Set the content of the clipboard to the specified string.

  Parameters:
    `selection` - new contents of the clipboard.

### getSelection

    public java.lang.String getSelection()

  Get the current contents of the clipboard

  Returns:
    the current clipboard contents.

### clearSelection

    public void clearSelection()

  Clear the clipboard contents.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD