| |
|
| java.lang.Object javax.swing.tree.DefaultMutableTreeNode com.jgraph.pad.JGraphpadFile
All known Subclasses: com.jgraph.pad.JGraphpadLibrary,
JGraphpadFile | public class JGraphpadFile extends DefaultMutableTreeNode implements JGraphEditorFile(Code) | | Represents a file in the JGraphpad editor. A file may contain any number of
children which are themselfes XML encodable.
|
Field Summary | |
protected transient boolean | isNew Specifies if the file has been saved since its creation. | protected transient boolean | modified Specifies if the file has been modified since the last save. |
Constructor Summary | |
public | JGraphpadFile() Constructs a new file. | public | JGraphpadFile(String filename) Constructs a new file using the filename as the user object. |
isNew | protected transient boolean isNew(Code) | | Specifies if the file has been saved since its creation.
|
modified | protected transient boolean modified(Code) | | Specifies if the file has been modified since the last save.
|
JGraphpadFile | public JGraphpadFile()(Code) | | Constructs a new file.
|
JGraphpadFile | public JGraphpadFile(String filename)(Code) | | Constructs a new file using the filename as the user object.
Parameters: filename - The user object of the parent object. |
isModified | public boolean isModified()(Code) | | |
isNew | public boolean isNew()(Code) | | |
setModified | public void setModified(boolean modified)(Code) | | |
setNew | public void setNew(boolean isNew)(Code) | | |
|
|
|