|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface manages the saving an loading of MiiModelEntitys and converting them to/from graphics objects.
| Method Summary | |
void |
closeOpenDocument()
Closes the document this is managing. |
MiiController |
copy()
Copies this controller. |
MiiModelIOFormatManager |
getIOFormatManager()
Gets the IO manager. |
MiiModelIOManager |
getIOManager()
|
MiiModelEntity |
getOpenDocument()
Gets the document this is managing. |
MiPart |
getView()
|
MiiViewManager |
getViewManager()
Gets the view manager. |
void |
load()
Loads the view with graphics generated by the viewManager from the model generated by the ioFormatManager from the data loaded by the ioManager. |
void |
save()
Saves the view of graphics converted by the viewManager to the model to be saved by the ioFormatManager to the data stream managed by the ioManager. |
void |
saveAs(MiiModelIOFormatManager outputIOFormatManager,
MiiModelIOManager outputIOManager)
Saves the contents of the previously assigned view. |
void |
setIOFormatManager(MiiModelIOFormatManager manager)
Sets the IO manager. |
void |
setIOManager(MiiModelIOManager manager)
|
void |
setOpenDocument(MiiModelEntity doc)
Sets the document this is managing and hands off the doc to the ViewManager, if any, which populates the view it manages with a graphics representation of the doc. |
void |
setView(MiPart view)
|
void |
setViewManager(MiiViewManager manager)
Sets the view manager. |
| Method Detail |
public MiiController copy()
public void setOpenDocument(MiiModelEntity doc)
doc - the open documentpublic MiiModelEntity getOpenDocument()
public void closeOpenDocument()
public void setIOFormatManager(MiiModelIOFormatManager manager)
manager - the IO managerpublic MiiModelIOFormatManager getIOFormatManager()
public void setViewManager(MiiViewManager manager)
manager - the view managerpublic MiiViewManager getViewManager()
public void setIOManager(MiiModelIOManager manager)
public MiiModelIOManager getIOManager()
public void setView(MiPart view)
public MiPart getView()
public void load()
throws java.lang.Exception
java.lang.Exception
public void save()
throws java.lang.Exception
java.lang.Exception
public void saveAs(MiiModelIOFormatManager outputIOFormatManager,
MiiModelIOManager outputIOManager)
throws java.lang.Exception
outputIOFormatManager - format to save the contents inoutputIOManager - the stream
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||