|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javatools.util.Clipboard
It represents a simple clipboard, that can contains one element at a time.
Constructor Summary | |
Clipboard()
Creates a new instance of Clipboard |
Method Summary | |
void |
clear()
Clears everything. |
void |
copy(Clippable clip)
Copies an item. |
void |
cut(Clippable clip)
Cuts an item. |
Clippable |
getClipObject()
Returns the clipped object. |
void |
paste(Clippable father)
Pastes an item. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Clipboard()
Method Detail |
public void cut(Clippable clip)
clip
- The item to be cut.public void copy(Clippable clip)
clip
- The item to be copied.public void paste(Clippable father)
father
- The item to paste the saved item into.public Clippable getClipObject()
public void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |