Class CopyPasteHandlerImpl
java.lang.Object
com.vaadin.addon.spreadsheet.client.CopyPasteHandlerImpl
- All Implemented Interfaces:
CopyPasteTextBox.CopyPasteHandler
The class that binds the
CopyPasteTextBox and
SpreadsheetWidget together; copy operations are put into this class,
because we have the necessary info available. paste is delegated to
server-side.- Author:
- Thomas Mattsson / Vaadin Ltd.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CopyPasteHandlerImpl
-
-
Method Details
-
onPaste
Description copied from interface:CopyPasteTextBox.CopyPasteHandlerCalled when the user has performed a paste operation.- Specified by:
onPastein interfaceCopyPasteTextBox.CopyPasteHandler- Parameters:
text- the pasted text
-
onCut
public void onCut()Description copied from interface:CopyPasteTextBox.CopyPasteHandlerCalled when user has performed a copy operation.- Specified by:
onCutin interfaceCopyPasteTextBox.CopyPasteHandler
-
onCopy
public void onCopy()Description copied from interface:CopyPasteTextBox.CopyPasteHandlerCalled when user has performed a copy operation.- Specified by:
onCopyin interfaceCopyPasteTextBox.CopyPasteHandler
-
getClipboardText
- Specified by:
getClipboardTextin interfaceCopyPasteTextBox.CopyPasteHandler- Returns:
- Textual representation to be put on the systems text clipboard.
-