public class ClipboardUiServiceImpl extends java.lang.Object implements ClipboardUiService
Constructor and Description |
---|
ClipboardUiServiceImpl(HookHandlerService hookHandler) |
Modifier and Type | Method and Description |
---|---|
void |
copyToSystemClipboard(java.lang.String txt) |
void |
copyToSystemClipBoardFf(java.lang.String text) |
void |
copyToSystemClipBoardIe(java.lang.String text) |
void |
detachCopyHandler(Widget target) |
void |
detachPasteHandler(Widget target) |
ClipboardItem |
getClipboardItem() |
java.lang.String |
readFromSystemClipboard() |
java.lang.String |
readFromSystemClipBoardFf() |
java.lang.String |
readFromSystemClipBoardIe() |
void |
registerCopyHandler(Widget target,
ClipboardCopyProcessor itemProvider) |
void |
registerPasteHandler(Widget target,
ClipboardPasteProcessor pasteProcessor) |
void |
setClipboardItem(ClipboardItem clipboardItem) |
public ClipboardUiServiceImpl(HookHandlerService hookHandler)
public void setClipboardItem(ClipboardItem clipboardItem)
setClipboardItem
in interface ClipboardUiService
public ClipboardItem getClipboardItem()
getClipboardItem
in interface ClipboardUiService
public void registerCopyHandler(Widget target, ClipboardCopyProcessor itemProvider)
registerCopyHandler
in interface ClipboardUiService
public void registerPasteHandler(Widget target, ClipboardPasteProcessor pasteProcessor)
registerPasteHandler
in interface ClipboardUiService
public void detachCopyHandler(Widget target)
detachCopyHandler
in interface ClipboardUiService
public void detachPasteHandler(Widget target)
detachPasteHandler
in interface ClipboardUiService
public java.lang.String readFromSystemClipboard()
readFromSystemClipboard
in interface ClipboardUiService
public void copyToSystemClipboard(java.lang.String txt)
copyToSystemClipboard
in interface ClipboardUiService
public void copyToSystemClipBoardFf(java.lang.String text)
public void copyToSystemClipBoardIe(java.lang.String text)
public java.lang.String readFromSystemClipBoardFf()
public java.lang.String readFromSystemClipBoardIe()