org.zaval.lw
Class LwClipboardMan

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

public class LwClipboardMan
extends java.lang.Object
implements LwManager

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. Use AWTPopupManager to have ability share clipboard data with other applications.


Constructor Summary
LwClipboardMan()
           
 
Method Summary
 void clear()
          Clears clipboard.
 void dispose()
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LwClipboardMan

public LwClipboardMan()
Method Detail

get

public java.lang.Object get()
Gets the content of the clipboard.
Returns:
a content. Returns null if the clipboard is empty.

put

public void put(java.lang.Object o)
Sets the specified content for the clipboard.
Parameters:
o - the specified content.

clear

public void clear()
Clears clipboard.

dispose

public void dispose()
Specified by:
dispose in interface LwManager


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