com.frinika.clipboard
Class ClipboardAccess

java.lang.Object
  extended by com.frinika.clipboard.ClipboardAccess

public class ClipboardAccess
extends java.lang.Object

Methods for getting access to a clipboard instance Why shouldn't you call the getSystemClipboard() method directly? Because this method requires clipboardAccess priveleges, and in case you want to make an applet of Frinika, you could modify this getClipboard method to return a local clipboard rather than the system clipboard (In case you want to use an unsigned applet)

Author:
Peter Johan Salomonsen

Constructor Summary
ClipboardAccess()
           
 
Method Summary
static java.awt.datatransfer.Clipboard getClipboard()
          Returns the currently active clipboard.
static void main(java.lang.String[] args)
          A simple test of putting an object on the clipboard and getting it back again.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClipboardAccess

public ClipboardAccess()
Method Detail

getClipboard

public static java.awt.datatransfer.Clipboard getClipboard()
Returns the currently active clipboard.

Returns:

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
A simple test of putting an object on the clipboard and getting it back again.

Parameters:
args -
Throws:
java.lang.Exception