edu.northwestern.at.utils.swing
Class AbstractTextEditor

java.lang.Object
  extended by edu.northwestern.at.utils.swing.AbstractTextEditor

public abstract class AbstractTextEditor
extends java.lang.Object

Base class for actions common to text editors.

We use this instead of an interface in order to keep the action methods protected. All of the action methods here are empty stubs.


Constructor Summary
AbstractTextEditor()
           
 
Method Summary
protected  void doCopy(java.awt.event.ActionEvent e)
          Cut/copy/paste/select.
protected  void doCut(java.awt.event.ActionEvent e)
           
protected  void doExit(java.awt.event.ActionEvent e)
           
protected  void doFind(java.awt.event.ActionEvent e)
          Search/replace.
protected  void doNew(java.awt.event.ActionEvent e)
          Files.
protected  void doOpen(java.awt.event.ActionEvent e)
           
protected  void doPageSetup(java.awt.event.ActionEvent e)
          Printing.
protected  void doPaste(java.awt.event.ActionEvent e)
           
protected  void doPrint(java.awt.event.ActionEvent e)
           
protected  void doPrintPreview(java.awt.event.ActionEvent e)
           
protected  void doReplace(java.awt.event.ActionEvent e)
           
protected  void doSave(java.awt.event.ActionEvent e)
           
protected  void doSaveAs(java.awt.event.ActionEvent e)
           
protected  void doSelectAll(java.awt.event.ActionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTextEditor

public AbstractTextEditor()
Method Detail

doNew

protected void doNew(java.awt.event.ActionEvent e)
Files.


doOpen

protected void doOpen(java.awt.event.ActionEvent e)

doSave

protected void doSave(java.awt.event.ActionEvent e)

doSaveAs

protected void doSaveAs(java.awt.event.ActionEvent e)

doExit

protected void doExit(java.awt.event.ActionEvent e)

doPageSetup

protected void doPageSetup(java.awt.event.ActionEvent e)
Printing.


doPrintPreview

protected void doPrintPreview(java.awt.event.ActionEvent e)

doPrint

protected void doPrint(java.awt.event.ActionEvent e)

doCopy

protected void doCopy(java.awt.event.ActionEvent e)
Cut/copy/paste/select.


doCut

protected void doCut(java.awt.event.ActionEvent e)

doPaste

protected void doPaste(java.awt.event.ActionEvent e)

doSelectAll

protected void doSelectAll(java.awt.event.ActionEvent e)

doFind

protected void doFind(java.awt.event.ActionEvent e)
Search/replace.


doReplace

protected void doReplace(java.awt.event.ActionEvent e)