Class Clipboard
java.lang.Object
com.levigo.jadice.web.client.util.clipboard.Clipboard
An internal clipboard used by the
TextSelectionTool and the
TextSelectionTouchTool to save the selected text and give other classes (especially
commands) access to it.-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclear()static Clipboardget()Singleton gettervoidonCopy(com.google.gwt.core.client.JavaScriptObject clipboardData) Standard implementation for copying elements.voidonCopyIE(com.google.gwt.core.client.JavaScriptObject clipboardData) Internet Explorer 11 implementation for copying elements.
-
Method Details
-
get
Singleton getter- Returns:
- the singleton
-
onCopy
public void onCopy(com.google.gwt.core.client.JavaScriptObject clipboardData) Standard implementation for copying elements.- Parameters:
clipboardData- the data attached to the event from the listener set ininit(JavaScriptObject)
-
onCopyIE
public void onCopyIE(com.google.gwt.core.client.JavaScriptObject clipboardData) Internet Explorer 11 implementation for copying elements.- Parameters:
clipboardData- the data attached to the event from the listener set ininit(JavaScriptObject)
-
clear
public void clear() -
add
-
add
-
get
-