freemind.modes.browsemode
Class BrowseMapModel
java.lang.Object
freemind.modes.MapAdapter
freemind.modes.browsemode.BrowseMapModel
- All Implemented Interfaces:
- MindMap, javax.swing.tree.TreeModel
- public class BrowseMapModel
- extends MapAdapter
Methods inherited from class freemind.modes.MapAdapter |
addTreeModelListener, copy, copy, copy, copySingle, cut, destroy, getAsPlainText, getAsRTF, getBackgroundColor, getChild, getChildCount, getFrame, getIndexOfChild, getNumberOfChangesSinceLastSave, getPathToRoot, getRestoreable, getRoot, getText, insertNodeInto, insertNodeInto, insertNodeInto, insertNodeIntoNoEvent, insertNodeIntoNoEvent, isLeaf, isReadOnly, nodeChanged, nodeChangedMapInternal, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, removeNodeFromParent, removeNodeFromParent, removeTreeModelListener, setBackgroundColor, setFile, setRoot, setSaved, tryToLock, valueForPathChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BrowseMapModel
public BrowseMapModel(FreeMindMain frame)
BrowseMapModel
public BrowseMapModel(BrowseNodeModel root,
FreeMindMain frame)
getLinkRegistry
public MindMapLinkRegistry getLinkRegistry()
- Specified by:
getLinkRegistry
in interface MindMap
- Overrides:
getLinkRegistry
in class MapAdapter
toString
public java.lang.String toString()
getFile
public java.io.File getFile()
- Description copied from class:
MapAdapter
- Change this to always return null if your model doesn't support files.
- Specified by:
getFile
in interface MindMap
- Overrides:
getFile
in class MapAdapter
setFile
protected void setFile()
getURL
public java.net.URL getURL()
- Get the value of url.
- Specified by:
getURL
in interface MindMap
- Overrides:
getURL
in class MapAdapter
- Returns:
- Value of url.
setURL
public void setURL(java.net.URL v)
- Set the value of url.
- Parameters:
v
- Value to assign to url.
save
public boolean save(java.io.File file)
- Specified by:
save
in class MapAdapter
isSaved
public boolean isSaved()
- Overrides:
isSaved
in class MapAdapter
load
public void load(java.io.File file)
throws java.io.FileNotFoundException
- Specified by:
load
in class MapAdapter
- Throws:
java.io.FileNotFoundException
load
public void load(java.net.URL url)
throws java.lang.Exception
- Throws:
java.lang.Exception
setLinkInclinationChanged
public void setLinkInclinationChanged()
getXml
public void getXml(java.io.Writer fileout)
throws java.io.IOException
- Description copied from interface:
MindMap
- writes the content of the map to a writer.
- Parameters:
fileout
-
- Throws:
java.io.IOException