| |
|
| java.lang.Object java.util.Observable org.columba.mail.gui.composer.AbstractEditorController
All known Subclasses: org.columba.mail.gui.composer.text.TextEditorController, org.columba.mail.gui.composer.html.HtmlEditorController2,
AbstractEditorController | abstract public class AbstractEditorController extends Observable implements Observer(Code) | | This class serves as a common super class for the Editor Controllers used in
Composer: TextEditorController and HtmlEditorController. As such, it defines
the common interface needed by mainly the ComposerController.
It extends Observable to allow all actions to enable/disable themselves on
text selection changes.
author: Karl Peder Olesen (karlpeder), 2003-09-06 |
AbstractEditorController | public AbstractEditorController(ComposerController ctrl)(Code) | | Default constructor. Stores a reference to the controller
Parameters: ctrl - Controller controlling this object |
copy | public void copy()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.copy |
cut | public void cut()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.cut |
delete | public void delete()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.delete |
getComponent | public JComponent getComponent()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.getComponent |
isCopyActionEnabled | public boolean isCopyActionEnabled()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.isCopyActionEnabled |
isCutActionEnabled | public boolean isCutActionEnabled()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.isCutActionEnabled |
isDeleteActionEnabled | public boolean isDeleteActionEnabled()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.isDeleteActionEnabled |
isPasteActionEnabled | public boolean isPasteActionEnabled()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.isPasteActionEnabled |
isRedoActionEnabled | public boolean isRedoActionEnabled()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.isRedoActionEnabled |
isSelectAllActionEnabled | public boolean isSelectAllActionEnabled()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.isSelectAllActionEnabled |
isUndoActionEnabled | public boolean isUndoActionEnabled()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.isUndoActionEnabled |
moveCaretPosition | public void moveCaretPosition(int position)(Code) | | |
paste | public void paste()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.paste |
redo | public void redo()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.redo |
selectAll | public void selectAll()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.selectAll |
setCaretPosition | public void setCaretPosition(int position)(Code) | | |
setViewText | abstract public void setViewText(String text)(Code) | | Sets the text of the editor view
Parameters: text - New text, which replaces the current view text |
undo | public void undo()(Code) | | See Also: org.columba.core.gui.focus.FocusOwner.undo |
|
|
|