|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Observable | +--mvp.Model | +--rolodex.RolodexTool
Class RolodexTool is the top-level model class for the simple rolodex system described in the CSC 205 formal specification primer, q.v. The rolodex tool allows users to maintain a database of personal information cards. Cards contaion a person name, id, and other information. The rolodex tool provides operations to add, delete, change, and find cards. It also has standard file operations for new, open, save, save as, and print, as well as standard edit operations for undo, redo, repeat, cut, copy, paste, delete, and select all.
Field Summary | |
protected EditStub |
e
Basic editing module |
protected File |
f
File handling module |
protected Rolodex |
r
The rolodex class, including its operations |
Fields inherited from class mvp.Model |
view |
Constructor Summary | |
RolodexTool(RolodexMenuUI ui)
Construct this with the given companion view. |
Method Summary | |
EditStub |
getEdit()
Return the Edit model. |
File |
getFile()
Return the File model. |
Rolodex |
getRolodex()
Return the Rolodex model. |
void |
newRolodex()
Create a new empty Rolodex. |
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 |
Field Detail |
protected File f
protected EditStub e
protected Rolodex r
Constructor Detail |
public RolodexTool(RolodexMenuUI ui)
Method Detail |
public File getFile()
public EditStub getEdit()
public Rolodex getRolodex()
public void newRolodex()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |