Interface CopyPasteTextBox.CopyPasteHandler
- All Known Implementing Classes:
CopyPasteHandlerImpl
- Enclosing class:
- CopyPasteTextBox
public static interface CopyPasteTextBox.CopyPasteHandler
Handler interface for dealing with the data that is transferred in copy,
cut and paste operations.
- Author:
- Thomas Mattsson / Vaadin Ltd.
-
Method Summary
-
Method Details
-
onCut
void onCut()Called when user has performed a copy operation. -
onCopy
void onCopy()Called when user has performed a copy operation. -
onPaste
Called when the user has performed a paste operation.- Parameters:
text- the pasted text
-
getClipboardText
String getClipboardText()- Returns:
- Textual representation to be put on the systems text clipboard.
-