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 TypeMethodDescriptionvoid
void
void
clear()
static Clipboard
get()
Singleton gettervoid
onCopy
(com.google.gwt.core.client.JavaScriptObject clipboardData) Standard implementation for copying elements.void
onCopyIE
(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
-