Skip to content

Commit

Permalink
Update reference.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
euu2021 authored Dec 11, 2023
1 parent db3e716 commit 26a8499
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/docs/scripting/reference.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -481,3 +481,35 @@ node.icons.remove(1)
// Removes the first "button_ok" icon at that exists in the node.

node.icons.remove("button_ok")

/*
MindMapRO
*/

// Returns the background color of the map.

node.map.getBackgroundColor()

// Returns HTML color spec like #ff0000 (red) or #222222 (darkgray).

node.map.getBackgroundColorCode()

// Returns the filenname of the map as a java.io.File object if available or null otherwise.

node.map.getFile()

// Returns the title of the map.

node.map.getName()

// Returns the node that is the root of the map.

node.map.getRoot()

// Returns a list with the user defined styles names of the map.

node.map.getUserDefinedStylesNames()

// Returns "true" if the map is saved.

node.map.isSaved()

0 comments on commit 26a8499

Please sign in to comment.