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
|
Method Summary |
java.io.File |
getFile()
Change this to always return null if your model doesn't support files. |
java.net.URL |
getURL()
Get the value of url. |
boolean |
isSaved()
|
void |
load(java.io.File file)
|
void |
load(java.net.URL url)
|
boolean |
save(java.io.File file)
|
protected void |
setFile()
|
void |
setURL(java.net.URL v)
Set the value of url. |
java.lang.String |
toString()
|
| Methods inherited from class freemind.modes.MapAdapter |
addTreeModelListener, applyPattern, changeNode, copy, copy, copySingle, cut, cut, destroy, find, findNext, getAsPlainText, getAsRTF, getBackgroundColor, getChild, getChildCount, getFindFromText, getFindWhat, getFrame, getIndexOfChild, getLink, getPathToRoot, getRestoreable, getRoot, getText, 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 |
BrowseMapModel
public BrowseMapModel(FreeMindMain frame)
BrowseMapModel
public BrowseMapModel(BrowseNodeModel root,
FreeMindMain frame)
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