|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ClipboardTarget is a simple interface that describes possible targets for the standard clipboard operations. This is primarily meant for custom text components. Note that all focusable implementations of ClipboardTarget should register its focus events with the ClipboardTargetManager. In addition, the ClipboardTarget should notify the ClipboardTargetManager of any changes in its canX() methods.
ClipboardTargetManager| Method Summary | |
boolean |
canCopy()
Returns wheter or not the copy operation can be performed on this ClipboardTarget. |
boolean |
canCut()
Returns wheter or not the cut operation can be performed on this ClipboardTarget. |
boolean |
canPaste()
Returns wheter or not the paste operation can be performed on this ClipboardTarget. |
boolean |
canSelectAll()
Returns wheter or not the selectAll operation can be performed on this ClipboardTarget. |
void |
copy()
Copies the selection to the clipboard. |
void |
cut()
Copies the selection to the clipboard and remove it from the object. |
void |
paste()
Inserts the contents of the clipbaord into the object. |
void |
selectAll()
Selects everything in the object. |
| Method Detail |
public boolean canCut()
public void cut()
public boolean canCopy()
public void copy()
public boolean canPaste()
public void paste()
public boolean canSelectAll()
public void selectAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||