Back to index

wims  3.65+svn20090927
Public Member Functions | Package Attributes
rene.viewer.ClipboardCopy Class Reference
Collaboration diagram for rene.viewer.ClipboardCopy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ClipboardCopy (ClipboardOwner c, Canvas cv, String s)
void run ()

Package Attributes

String S
ClipboardOwner C
Canvas Cv

Detailed Description

Definition at line 11 of file TextDisplay.java.


Constructor & Destructor Documentation

rene.viewer.ClipboardCopy.ClipboardCopy ( ClipboardOwner  c,
Canvas  cv,
String  s 
) [inline]

Definition at line 15 of file TextDisplay.java.

       {      S=s; C=c; Cv=cv;
              start();
       }

Member Function Documentation

void rene.viewer.ClipboardCopy.run ( ) [inline]

Definition at line 19 of file TextDisplay.java.

       {      Clipboard clip=Cv.getToolkit().getSystemClipboard();
              StringSelection cont=new StringSelection(S);
              clip.setContents(cont,C);
       }

Member Data Documentation

ClipboardOwner rene.viewer.ClipboardCopy.C [package]

Definition at line 13 of file TextDisplay.java.

Canvas rene.viewer.ClipboardCopy.Cv [package]

Definition at line 14 of file TextDisplay.java.

String rene.viewer.ClipboardCopy.S [package]

Definition at line 12 of file TextDisplay.java.


The documentation for this class was generated from the following file: