de.lessvoid.nifty.controls.textfield
Class ClipboardAWT

java.lang.Object
  extended by de.lessvoid.nifty.controls.textfield.ClipboardAWT
All Implemented Interfaces:
Clipboard, ClipboardOwner

public class ClipboardAWT
extends Object
implements Clipboard, ClipboardOwner

AWT based clipboard impl.

Author:
void

Constructor Summary
ClipboardAWT()
           
 
Method Summary
 String get()
          Get string data back from the clipboard.
 void lostOwnership(Clipboard arg0, Transferable arg1)
          not used...
 void put(String data)
          Put data into the system clipboard.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClipboardAWT

public ClipboardAWT()
Method Detail

put

public void put(String data)
Put data into the system clipboard.

Specified by:
put in interface Clipboard
Parameters:
data - the data

get

public String get()
Get string data back from the clipboard.

Specified by:
get in interface Clipboard
Returns:
string data from clipboard

lostOwnership

public void lostOwnership(Clipboard arg0,
                          Transferable arg1)
not used...

Specified by:
lostOwnership in interface ClipboardOwner


Copyright © 2011. All Rights Reserved.