|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfreemind.modes.MapAdapter
freemind.modes.mindmapmode.MindMapMapModel
Field Summary |
Fields inherited from class freemind.modes.MapAdapter |
changesPerformedSinceLastSave, logger, readOnly |
Constructor Summary | |
MindMapMapModel(FreeMindMain frame)
|
|
MindMapMapModel(MindMapNodeModel root,
FreeMindMain frame)
|
Method Summary | |
java.awt.datatransfer.Transferable |
copy(MindMapNode node)
|
void |
destroy()
When a map is closed, this method is called. |
java.lang.String |
getAsPlainText(java.util.List mindMapNodes)
|
java.lang.String |
getAsRTF(java.util.List mindMapNodes)
|
MindMapLinkRegistry |
getLinkRegistry()
|
java.lang.String |
getRestoreable()
Returns a string that may be given to the modes restore() to get this map again. |
void |
getXml(java.io.Writer fileout)
writes the content of the map to a writer. |
void |
load(java.io.File file)
|
boolean |
save(java.io.File file)
Return the success of saving |
boolean |
saveHTML(MindMapNodeModel rootNodeOfBranch,
java.io.File file)
|
boolean |
saveRTF(java.util.List mindMapNodes,
java.io.BufferedWriter fileout)
|
boolean |
saveTXT(MindMapNodeModel rootNodeOfBranch,
java.io.File file)
|
java.lang.String |
toString()
|
java.lang.String |
tryToLock(java.io.File file)
Attempts to lock the map using a semaphore file |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MindMapMapModel(FreeMindMain frame)
public MindMapMapModel(MindMapNodeModel root, FreeMindMain frame)
Method Detail |
public MindMapLinkRegistry getLinkRegistry()
getLinkRegistry
in interface MindMap
getLinkRegistry
in class MapAdapter
public java.lang.String getRestoreable()
MindMap
getRestoreable
in interface MindMap
getRestoreable
in class MapAdapter
public java.lang.String toString()
public boolean saveHTML(MindMapNodeModel rootNodeOfBranch, java.io.File file)
public java.lang.String getAsPlainText(java.util.List mindMapNodes)
getAsPlainText
in interface MindMap
getAsPlainText
in class MapAdapter
public boolean saveTXT(MindMapNodeModel rootNodeOfBranch, java.io.File file)
public java.lang.String getAsRTF(java.util.List mindMapNodes)
getAsRTF
in interface MindMap
getAsRTF
in class MapAdapter
public boolean saveRTF(java.util.List mindMapNodes, java.io.BufferedWriter fileout)
public boolean save(java.io.File file)
save
in class MapAdapter
public void getXml(java.io.Writer fileout) throws java.io.IOException
fileout
-
java.io.IOException
public java.lang.String tryToLock(java.io.File file) throws java.lang.Exception
tryToLock
in class MapAdapter
file
-
Exception,
- when the locking failed for other reasons than that the
file is being edited.
java.lang.Exception
public void load(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException, XMLParseException
load
in class MapAdapter
java.io.FileNotFoundException
java.io.IOException
XMLParseException
public void destroy()
destroy
in interface MindMap
destroy
in class MapAdapter
public java.awt.datatransfer.Transferable copy(MindMapNode node)
copy
in interface MindMap
copy
in class MapAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |