org.zaval.lw
Class AWTClipboardMan

java.lang.Object
  |
  +--org.zaval.lw.LwClipboardMan
        |
        +--org.zaval.lw.AWTClipboardMan
All Implemented Interfaces:
LwManager

public class AWTClipboardMan
extends LwClipboardMan

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

AWTClipboardMan

public AWTClipboardMan()
Method Detail

get

public java.lang.Object get()
Description copied from class: LwClipboardMan
Gets the content of the clipboard.
Overrides:
get in class LwClipboardMan
Following copied from class: org.zaval.lw.LwClipboardMan
Returns:
a content. Returns null if the clipboard is empty.

put

public void put(java.lang.Object o)
Description copied from class: LwClipboardMan
Sets the specified content for the clipboard.
Overrides:
put in class LwClipboardMan
Following copied from class: org.zaval.lw.LwClipboardMan
Parameters:
o - the specified content.

clear

public void clear()
Description copied from class: LwClipboardMan
Clears clipboard.
Overrides:
clear in class LwClipboardMan


Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org