FreeMindGroovyObjects: Difference between revisions

From FreeMind
Jump to navigationJump to search
(Page Creation)
 
(Structure and added intital definitions.)
Line 2: Line 2:


If you figure something out, document it here for the rest of us.
If you figure something out, document it here for the rest of us.
__TOC__




Line 15: Line 17:


== node ==
== node ==
=== getNodeLevel() ===
;Returns : int
;Definition : Returns the current level of the node.





Revision as of 22:36, 21 May 2008

This page is the starting point for a Groovy scripting reference. You will have to examine the FreeMind source code for operations on the interfaces. See the examples for a few operations such as setting the node text, node color and background color.

If you figure something out, document it here for the rest of us.


Objects

Available Operations

When the Groovy binding is created, two variables are set:

  • "c" is set to the MindMapController
  • "node" is set to the MindMapNode being evaluated


node

getNodeLevel()

Returns
int
Definition
Returns the current level of the node.




c