|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DirectoryClipboard
Queue of items that have been marked for copy or cut.
| Method Summary | |
|---|---|
void |
addCopy(DirectoryTreeObject sourceObject)
Add a Name (typically from a selected DirectoryTree node) to the queue. |
void |
addCut(DirectoryTreeObject sourceObject)
Add a Name (typically from a selected DirectoryTree node) to the queue. |
void |
addDirectoyClipboardListener(DirectoryClipboardListener listener)
Add a listener for changes to the clipboard. |
void |
removeClipboardItem(String id)
Remove an item from the clipboard. |
void |
removeDirectoyClipboardListener(DirectoryClipboardListener listener)
Remove a preciously registered listener. |
void |
triggerPasteAction(DirectoryTreeObject targetObject)
Trigger the next item on the queue with the given target. |
| Method Detail |
|---|
void addDirectoyClipboardListener(DirectoryClipboardListener listener)
listener - The listener to add.void removeDirectoyClipboardListener(DirectoryClipboardListener listener)
listener - void addCut(DirectoryTreeObject sourceObject)
sourceObject - The node marked for cut (move).void addCopy(DirectoryTreeObject sourceObject)
sourceObject - The node marked for copy.
void triggerPasteAction(DirectoryTreeObject targetObject)
throws BackendException
targetObject - The node that was marked as the paste target.
BackendExceptionvoid removeClipboardItem(String id)
id - The id of the item, may not be null. If the item is no longer
in the clipboard this method does nothing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||