nsIClipboardHelper

The nsIClipboardHelper interface is a helper service for common uses of nsIClipboard interface.
Inherits from: nsISupports Last changed in Gecko 1.7

Method overview

void copyString(in AString aString);
void copyStringToClipboard(in AString aString, in long aClipboardID);

Methods

copyString()

This method copies string to (default) clipboard.

void copyString(
  in AString aString
);
Parameters
aString
The string to copy to the clipboard.

copyStringToClipboard()

This method copies string to given clipboard.

void copyStringToClipboard(
  in AString aString,
  in long aClipboardID
);
Parameters
aString
The string to copy to the clipboard.
aClipboardID
The ID of the clipboard to copy to (For example kSelectionClipboard).

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, ziyunfei, trevorh, mattflaschen, akari no ryu, Arehman4
 Last updated by: Sheppy,