rolodex
Class EditStub

java.lang.Object
  |
  +--java.util.Observable
        |
        +--mvp.Model
              |
              +--rolodex.EditStub
All Implemented Interfaces:
java.io.Serializable

public class EditStub
extends mvp.Model

Class EditStub is the model class for the rolodex edit handling. This is an initial skeletal design with no preconditions, postconditions, or data represenation yet defined.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class mvp.Model
view
 
Constructor Summary
EditStub(mvp.View v)
          Construct this.
 
Method Summary
 void copy()
          Copy the currently selected text.
 void cut()
          Cut the currently selected text.
 void delete()
          Delete the currently selected text.
 void paste()
          Paste the most recxently cut or copied text.
 void undo()
          Undo the last edit operation.
 
Methods inherited from class mvp.Model
dump, exit, getView, setView
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditStub

public EditStub(mvp.View v)
Construct this.

Method Detail

undo

public void undo()
Undo the last edit operation. This function can be specialized by subclasses to undo the last operation in a specific tool context.


cut

public void cut()
Cut the currently selected text. This function can be specialized by subclasses to cut a tool-specific object


copy

public void copy()
Copy the currently selected text. This function can be specialized by subclasses to copy a tool-specific object


paste

public void paste()
Paste the most recxently cut or copied text. This function can be specialized by subclasses to past a tool-specific object


delete

public void delete()
Delete the currently selected text. This function can be specialized by subclasses to delete a tool-specific object.