nsISupports
Last changed in Gecko 1.7 boolean canCopyImageContents(); |
boolean canCopyImageLocation(); |
boolean canCopyLinkLocation(); |
boolean canCopySelection(); |
boolean canCutSelection(); |
boolean canPaste(); |
void copyImageContents(); |
void copyImageLocation(); |
void copyLinkLocation(); |
void copySelection(); |
void cutSelection(); |
void paste(); |
void selectAll(); |
void selectNone(); |
Returns whether we can copy an image's contents.
boolean canCopyImageContents();
None.
true
if an image is selected, false
otherwise.
Returns whether we can copy an image location.
boolean canCopyImageLocation();
None.
true
if an image is selected, false
otherwise.
Returns whether we can copy a link location.
boolean canCopyLinkLocation();
None.
true
if a link is selected, false
otherwise.
Returns whether there is a selection and it is copyable.
boolean canCopySelection();
None.
true
if there is a selection, false
otherwise.
Returns whether there is a selection and it is not read-only.
boolean canCutSelection();
None.
true
if the current selection can be cut, false
otherwise.
Returns whether the current contents of the clipboard can be pasted and if the current selection is not read-only.
boolean canPaste();
None.
true
if there is data to paste on the clipboard and the current selection is not read-only, false
otherwise.
Copy the contents of the selected image.
void copyImageContents();
None.
Copy the location of the selected image.
void copyImageLocation();
None.
Copy the link location of the current selection (For example the |href| attribute of a selected |a| tag).
void copyLinkLocation();
None.
Copy the current selection onto the clipboard.
void copySelection();
None.
Cut the current selection onto the clipboard.
void cutSelection();
None.
Paste the contents of the clipboard into the current selection.
void paste();
None.
Select the entire contents.
void selectAll();
None.
Clear the current selection (if any). Insertion point ends up at beginning of current selection.
void selectNone();
None.