|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--mars.venus.Editor
Manage the file being edited. Currently only manages one file at a time, but can be expanded.
| Constructor Summary | |
Editor(VenusUI ui)
Create editor. |
|
| Method Summary | |
boolean |
editsSavedOrAbandoned()
Called by several of the Action objects when there is potential loss of editing changes. |
java.lang.String |
getNextDefaultFilename()
Generates a default file name |
boolean |
save()
Pops up a dialog box to do "Save" operation. |
boolean |
saveAs()
Pops up a dialog box to do "Save As" operation. |
void |
setFrameTitle()
Places name of file currently being edited into the title bar of the editing window. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Editor(VenusUI ui)
ui - the GUI that owns this editor| Method Detail |
public java.lang.String getNextDefaultFilename()
public void setFrameTitle()
public boolean save()
public boolean saveAs()
public boolean editsSavedOrAbandoned()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||