|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClipboardTarget
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 |
---|
boolean canCut()
void cut()
boolean canCopy()
void copy()
boolean canPaste()
void paste()
boolean canSelectAll()
void selectAll()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |