: Download: FAQ: Licensing: Support: Contact ME
LwVCL Home
Introduction
Overview
Screen Shots
On-line Demos
Requirements
Further Plans
Docs
Tutorial
How-to (PDF)
API
FAQ
Download
Latest version

Home > J2SE > API

Overview  Package   Class  Tree  Deprecated  Index  Help 

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 a simple clipboard manager for the library. The clipboard shares data only for the library components, it means it is impossible to get the clipboard data from another (non-LwVCL) application. Use AWTClipboardManager to have the ability to share clipboard data with other applications.


Constructor Summary
LwClipboardMan()
           
 
Method Summary
 void dispose()
          Disposes the manager.
 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.

dispose

public void dispose()
Description copied from interface: LwManager
Disposes the manager. The method is supposed to be used for disposing different manager related structures to free system resources. The method is invoked by LwVCL core when the manager ends its "live".
Specified by:
dispose in interface LwManager


: up