|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface to implement to be condidered as savable.
| Method Summary | |
boolean |
isSaveNeeded()
Checks if the instance need to be saved. |
java.lang.Object |
save()
Saves the instance. |
java.lang.Object |
save(java.io.File file)
Saves the instance into the specified file. |
java.lang.Object |
saveAs(java.lang.String name)
Saves the instance with the specified name. |
void |
setSaveNeeded(boolean needed)
Sets if the instance need to be saved. |
| Method Detail |
public java.lang.Object save()
public java.lang.Object save(java.io.File file)
public java.lang.Object saveAs(java.lang.String name)
name - the specified name.public boolean isSaveNeeded()
true if the instance need to be saved. false otherwise.public void setSaveNeeded(boolean needed)
needed - true if the instance need to be saved. false otherwise.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||