|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecteShopper.eShopperClipboard
This class allows for copying and pasting within eShopper.
| Constructor Summary | |
eShopperClipboard(eShopperDB db)
This is the constructor. |
|
| Method Summary | |
void |
add(eShopperNode newNode)
This adds an item to the clipboard, to later be retrieved. |
void |
cut(eShopperList list)
This takes the currently selected item from the list, and adds it to the clipboard, then removes it from the list. |
eShopperNode |
getCurrentItem()
This returns the item currently in the clipboard. |
void |
paste(eShopperList list)
This takes the item currently in the clipboard and inserts it into the selected place in the list. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public eShopperClipboard(eShopperDB db)
db - The eShopperDB that holds the shopping lists.| Method Detail |
public eShopperNode getCurrentItem()
public void add(eShopperNode newNode)
newNode - The item that should be added to the clipboard.public void cut(eShopperList list)
list - The list from which the item should be taken.public void paste(eShopperList list)
list - The list into which the clipboard item should be inserted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||