|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClipboardSupport
An interface for embedding clients who wish to interact with the system-wide OS clipboard.
Method Summary | |
---|---|
boolean |
canCopySelection()
Returns whether there is a selection and it is copyable. |
boolean |
canCutSelection()
Returns whether there is a selection and it is not read-only. |
boolean |
canPasteClipboardContent()
Returns whether there is a text content in system clipboard. |
boolean |
canSelection()
Return the possibility of selection in browser component. |
void |
copySelectionToClipboard()
Copy currently selected selection from browser component to system clipboard. |
void |
copySelectionToClipboard(org.w3c.dom.Node selectedNode)
Copy currently selected selection from browser component to system clipboard. |
void |
cutSelection()
Cut the currently selected text, putting it into the OS clipboard. |
void |
cutSelection(org.w3c.dom.Node selectedNode)
Cut the currently selected text, putting it into the OS clipboard. |
void |
deleteSelection()
Removes all nodes in the current selection. |
void |
deleteSelection(org.w3c.dom.Node selectedNode)
Removes all nodes in the current selection. |
void |
pasteClipboardContent()
Paste the system clipboard content to browser component. |
void |
pasteClipboardContent(org.w3c.dom.Node selectedNode)
Paste the system clipboard content to browser component. |
void |
selectAll()
Select the all browser content. |
void |
selectAll(org.w3c.dom.Node selectingNode)
Selects the all content in editable element. |
void |
setDisplaySelection()
Sets ON display mode for the selection. |
void |
setDisplaySelection(org.w3c.dom.Node displaingNode)
Sets ON display mode for the selection. |
Method Detail |
---|
void cutSelection()
void cutSelection(org.w3c.dom.Node selectedNode)
selectedNode
- node where text is selected.boolean canCutSelection()
true
if the current selection can be cut,
false
otherwise.void copySelectionToClipboard()
void copySelectionToClipboard(org.w3c.dom.Node selectedNode)
selectedNode
- node where text is selectedboolean canCopySelection()
true
if the current selection can be copy,
false
otherwise.void pasteClipboardContent()
void pasteClipboardContent(org.w3c.dom.Node selectedNode)
selectedNode
- node where the text will de pasted.boolean canPasteClipboardContent()
true
if the current contents of this clipboard can
be provided in the browser component false
otherwise.void deleteSelection()
void deleteSelection(org.w3c.dom.Node selectedNode)
selectedNode
- node where the text will be removed.void selectAll()
void selectAll(org.w3c.dom.Node selectingNode)
selectingNode
- -
node wich contains editabled elemnetboolean canSelection()
true
if there is a selection, false
otherwise.void setDisplaySelection()
void setDisplaySelection(org.w3c.dom.Node displaingNode)
displaingNode
- node where the text will be selected.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |