|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines the basic requirements for a file in a JGraph editor document model. A file contains an arbitrary set of children. The properties of document model elements shoudl be changed via the document model in order to update all attached listeners.
| Method Summary | |
String |
getFilename()
Returns the filename. |
boolean |
isModified()
Returns true if the file was modified since the last save. |
boolean |
isNew()
Returns true if the file has never been saved since its
creation. |
void |
setFilename(String filename)
Sets the filename. |
void |
setModified(boolean modified)
Sets the modified state. |
void |
setNew(boolean isNew)
Sets the isNew state. |
| Methods inherited from interface javax.swing.tree.MutableTreeNode |
insert, remove, remove, removeFromParent, setParent, setUserObject |
| Methods inherited from interface javax.swing.tree.TreeNode |
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
| Method Detail |
public void setModified(boolean modified)
modified - The modified state to set.public boolean isModified()
true if the file was modified since the last save.
public void setNew(boolean isNew)
isNew - The isNew state to set.public boolean isNew()
true if the file has never been saved since its
creation.
public void setFilename(String filename)
filename - The filename to set.public String getFilename()
|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||