Copyright 2012-02-25 Werner Randelshofer

ch.randelshofer.gui
Interface EditableComponent

All Known Implementing Classes:
MutableJTree

public interface EditableComponent

This interface must be implemented by components which support clipboard access. This interface is used by Actions.EditCutAction, Actions.EditCopyAction, Actions.EditPasteAction and Actions.EditDeleteAction to determine if the action can be performed.

Version:
2.0 2001-07-18
Author:
Werner Randelshofer

Method Summary
 void editCopy()
          Copies the selected region and place its contents into the system clipboard.
 void editCut()
          Cuts the selected region and place its contents into the system clipboard.
 void editDelete()
          Deletes the component at (or after) the caret position.
 void editPaste()
          Pastes the contents of the system clipboard at the caret position.
 

Method Detail

editCopy

void editCopy()
Copies the selected region and place its contents into the system clipboard.


editCut

void editCut()
Cuts the selected region and place its contents into the system clipboard.


editDelete

void editDelete()
Deletes the component at (or after) the caret position.


editPaste

void editPaste()
Pastes the contents of the system clipboard at the caret position.


Copyright 2012-02-25 Werner Randelshofer