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

void setSelection(java.lang.String selection)
Set the content of the clipboard to the specified string.

Parameters:
selection - new contents of the clipboard.

getSelection

java.lang.String getSelection()
Get the current contents of the clipboard

Returns:
the current clipboard contents.

clearSelection

void clearSelection()
Clear the clipboard contents.