palmed.command
Class CopyPasteManager

java.lang.Object
  extended by palmed.command.CopyPasteManager

public final class CopyPasteManager
extends java.lang.Object

This class manages copy/paste operations.

Version:
$Revision$ $Date$
Author:
Mathieu Champlon

Constructor Summary
CopyPasteManager(ITextBox textBox)
          Create a copy/paste controller.
 
Method Summary
 void copy()
          Copy the current selected text.
 void cut()
          Cut the current selected text.
 void paste()
          Paste the text previously copied or cut.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyPasteManager

public CopyPasteManager(ITextBox textBox)
Create a copy/paste controller.

Parameters:
textBox - the text box
Method Detail

copy

public void copy()
          throws java.io.IOException
Copy the current selected text.

Throws:
java.io.IOException - an io exception occurs

cut

public void cut()
         throws java.io.IOException
Cut the current selected text.

Throws:
java.io.IOException - an io exception occurs

paste

public void paste()
           throws java.io.IOException
Paste the text previously copied or cut.

Throws:
java.io.IOException - an io exception occurs


Copyright © 2004-2006 PalmEd. All Rights Reserved.