JHotDraw 7.1

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:
3.0 2007-04-13 We don't need to have Cut/Copy/Paste in this interface, because this functionality is already provided by javax.swing.TransferHandler.
2.0 2001-07-18
Author:
Werner Randelshofer

Method Summary
 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.


Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.