freemind.modes.filemode
Class FileMapModel

java.lang.Object
  extended byfreemind.modes.MapAdapter
      extended byfreemind.modes.filemode.FileMapModel
All Implemented Interfaces:
MindMap, javax.swing.tree.TreeModel

public class FileMapModel
extends MapAdapter


Field Summary
 
Fields inherited from class freemind.modes.MapAdapter
readOnly, saved
 
Constructor Summary
FileMapModel(java.io.File root, FreeMindMain frame)
           
FileMapModel(FreeMindMain frame)
           
 
Method Summary
 void changeNode(MindMapNode node, java.lang.String newText)
           
 boolean isSaved()
           
 void load(java.io.File file)
           
 boolean save(java.io.File file)
           
 java.lang.String toString()
           
 
Methods inherited from class freemind.modes.MapAdapter
addTreeModelListener, applyPattern, copy, copy, copySingle, cut, cut, destroy, find, findNext, getAsPlainText, getAsRTF, getBackgroundColor, getChild, getChildCount, getFile, getFindFromText, getFindWhat, getFrame, getIndexOfChild, getLink, getPathToRoot, getRestoreable, getRoot, getText, getURL, insertNodeInto, insertNodeInto, insertNodeIntoNoEvent, insertNodeIntoNoEvent, isLeaf, isReadOnly, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, paste, paste, paste, reload, removeNodeFromParent, removeNodeFromParent, removeTreeModelListener, setBackgroundColor, setFile, setFolded, setLink, setRoot, setSaved, splitNode, tryToLock, valueForPathChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileMapModel

public FileMapModel(FreeMindMain frame)

FileMapModel

public FileMapModel(java.io.File root,
                    FreeMindMain frame)
Method Detail

save

public boolean save(java.io.File file)
Specified by:
save in class MapAdapter

load

public void load(java.io.File file)
Specified by:
load in class MapAdapter

isSaved

public boolean isSaved()
Overrides:
isSaved in class MapAdapter

toString

public java.lang.String toString()

changeNode

public void changeNode(MindMapNode node,
                       java.lang.String newText)
Specified by:
changeNode in interface MindMap
Overrides:
changeNode in class MapAdapter