|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.zaval.lw.LwClipboardMan | +--org.zaval.lw.AWTClipboardMan
This class implements simple clipboard manager for the library. The clipboard shares data only for components of the light weight library, it means that the clipboard data cannot be used by other (non-LwVCL) applications. But it is very easy to implement own manager for example basing on java.awt.datatransfer.Clipboard and use it for the library.
Constructor Summary | |
AWTClipboardMan()
|
Method Summary | |
void |
clear()
Clears clipboard. |
java.lang.Object |
get()
Gets the content of the clipboard. |
void |
put(java.lang.Object o)
Sets the specified content for the clipboard. |
Methods inherited from class org.zaval.lw.LwClipboardMan |
dispose |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AWTClipboardMan()
Method Detail |
public java.lang.Object get()
LwClipboardMan
get
in class LwClipboardMan
org.zaval.lw.LwClipboardMan
null
if the clipboard is empty.public void put(java.lang.Object o)
LwClipboardMan
put
in class LwClipboardMan
org.zaval.lw.LwClipboardMan
o
- the specified content.public void clear()
LwClipboardMan
clear
in class LwClipboardMan
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |