JAligner

jaligner.ui.clipboard
Class ClipboardHandlerJNLP

java.lang.Object
  extended byjaligner.ui.clipboard.ClipboardHandlerJNLP
All Implemented Interfaces:
ClipboardHandler

public class ClipboardHandlerJNLP
extends java.lang.Object
implements ClipboardHandler

Sets and gets the contents of the system clipboard.

Author:
Ahmed Moustafa (ahmed@users.sf.net)

Constructor Summary
ClipboardHandlerJNLP()
           
 
Method Summary
 java.lang.String getContents()
          Gets the contents of the system clipboard
 void setContents(java.lang.String s)
          Sets the contents of the system clipboard
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClipboardHandlerJNLP

public ClipboardHandlerJNLP()
Method Detail

getContents

public java.lang.String getContents()
Gets the contents of the system clipboard

Specified by:
getContents in interface ClipboardHandler
Returns:
The text system clipboad contents

setContents

public void setContents(java.lang.String s)
Sets the contents of the system clipboard

Specified by:
setContents in interface ClipboardHandler
Parameters:
s - clipboard contents to set

JAligner

Ahmed Moustafa (ahmed@users.sf.net)SourceForge.net
The source code of JAligner is licensed under The GNU General Public License (GPL)