org.jhotdraw.app
Interface EditableComponent

All Known Implementing Classes:
DefaultDrawingView

public interface EditableComponent

This interface must be implemented by components which are editable.

FIXME - Investigate if we can replace this interface by querying the TransferHandler of a component and retrieve its cut/copy/paste actions. See http://java.sun.com/docs/books/tutorial/uiswing/dnd/intro.html#cut

Version:
$Id: EditableComponent.java 527 2009-06-07 14:28:19Z rawcoder $
Author:
Werner Randelshofer

Method Summary
 void clearSelection()
          Selects nothing.
 void delete()
          Deletes the component at (or after) the caret position.
 void duplicate()
          Duplicates the selected region.
 void selectAll()
          Selects all.
 

Method Detail

delete

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


duplicate

void duplicate()
Duplicates the selected region.


selectAll

void selectAll()
Selects all.


clearSelection

void clearSelection()
Selects nothing.