changeNode
public void changeNode(MindMapNode node,
String newText)
copy
public Transferable copy()
copySingle
public Transferable copySingle()
cut
public Transferable cut()
destroy
public void destroy()
Destroy everything you have created upon opening.
displayNode
public void displayNode(MindMapNode node,
ArrayList NodesUnfoldedByDisplay)
Display a node in the display (used by find and the goto action by arrow link actions).
find
public boolean find(MindMapNode node,
String what,
boolean caseSensitive)
findNext
public boolean findNext()
getAsPlainText
public String getAsPlainText(List mindMapNodes)
getAsRTF
public String getAsRTF(List mindMapNodes)
getBackgroundColor
public Color getBackgroundColor()
getFile
public File getFile()
Returns the file name of the map edited or null if not possible.
getFindFromText
public String getFindFromText()
getFindWhat
public String getFindWhat()
getLinkRegistry
public MindMapLinkRegistry getLinkRegistry()
- returns the link registry associated with this mode, or null, if no registry is present.
getPathToRoot
public Object[] getPathToRoot(TreeNode node)
getRestoreable
public String getRestoreable()
Returns a string that may be given to the modes restore()
to get this map again. The Mode must take care that
two different maps don't give the same restoreable
key.
getURL
public URL getURL()
throws MalformedURLException
Return URL of the map (whether as local file or a web location)
isReadOnly
public boolean isReadOnly()
paste
public void paste(Transferable t,
MindMapNode parent)
paste
public void paste(Transferable t,
MindMapNode target,
boolean asSibling,
boolean isLeft)
isLeft
- determines, whether or not the node is placed on the left or right. *
setBackgroundColor
public void setBackgroundColor(Color color)
setFolded
public void setFolded(MindMapNode node,
boolean folded)
splitNode
public void splitNode(MindMapNode node,
int caretPosition,
String newText)