|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.statcato.file.Project
public class Project
A project file that stores the LogWindow instance and DatasheetTabbedPane instance of this application.
| Field Summary | |
|---|---|
static java.lang.String |
extension
|
| Constructor Summary | |
|---|---|
Project(Statcato app)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
close()
If the project is not yet saved, prompts the user to save. |
boolean |
exists()
Returns whether this project exists (is valid). |
java.lang.String |
getName()
Returns the name of this project. |
boolean |
isModified()
Returns true if the project is modified since the last save. |
boolean |
readFile(java.lang.String path)
Read a project file from the given path. |
boolean |
writeToFile(boolean saveAs)
Writes this project to a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String extension
| Constructor Detail |
|---|
public Project(Statcato app)
app - Parent Statcato application| Method Detail |
|---|
public boolean exists()
public boolean isModified()
public boolean writeToFile(boolean saveAs)
saveAs - whether it is an save as operation
public java.lang.String getName()
public boolean readFile(java.lang.String path)
path - project file path
public boolean close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||