Proxy.ControllerROpublic static interface Proxy.Controller extends Proxy.ControllerRO
c - read-write.| Modifier and Type | Method | Description |
|---|---|---|
void |
centerOnNode(Proxy.Node center) |
|
void |
deactivateUndo() |
reset undo / redo lists and deactivate Undo for current script
|
void |
edit(Proxy.Node node) |
Starts editing node, normally in the inline editor.
|
void |
editInPopup(Proxy.Node node) |
opens the appropriate popup text editor.
|
List<Proxy.Map> |
getOpenMaps() |
a list of all opened maps.
|
Proxy.Map |
newMap() |
opens a new map with a default name in the foreground.
|
Proxy.Map |
newMap(URL url) |
opens a new map for url in the foreground if it isn't opened already.
|
Proxy.Map |
newMapFromTemplate(File templateFile) |
opens a new map based on given template.
|
void |
redo() |
invokes redo once - for testing purposes mainly.
|
void |
select(Collection<Proxy.Node> toSelect) |
selects multiple Nodes.
|
void |
select(Proxy.Node toSelect) |
|
void |
selectBranch(Proxy.Node branchRoot) |
selects branchRoot and all children
|
void |
selectMultipleNodes(Collection<Proxy.Node> toSelect) |
same as
select(Collection) |
void |
setStatusInfo(String info) |
The main info for the status line with key="standard", use null to remove.
|
void |
setStatusInfo(String infoPanelKey,
String info) |
Info for status line, null to remove.
|
void |
setStatusInfo(String infoPanelKey,
String info,
String iconKey) |
Info for status line - text and icon - null stands for "remove" (text or icon)
|
void |
setStatusInfo(String infoPanelKey,
Icon icon) |
Deprecated.
since 1.2 - use
setStatusInfo(String, String, String) |
void |
setZoom(float ratio) |
a value of 1 means 100%.
|
void |
undo() |
invokes undo once - for testing purposes mainly.
|
export, find, find, findAll, findAllDepthFirst, getExportTypeDescriptions, getFreeplaneVersion, getSelected, getSelecteds, getSortedSelection, getUserDirectory, getZoom, isInteractivevoid centerOnNode(Proxy.Node center)
void edit(Proxy.Node node)
void editInPopup(Proxy.Node node)
void select(Proxy.Node toSelect)
void select(Collection<Proxy.Node> toSelect)
void selectBranch(Proxy.Node branchRoot)
void selectMultipleNodes(Collection<Proxy.Node> toSelect)
select(Collection)void deactivateUndo()
void undo()
void redo()
void setStatusInfo(String info)
void setStatusInfo(String infoPanelKey, String info)
setStatusInfo(String, String, String)void setStatusInfo(String infoPanelKey, String info, String iconKey)
infoPanelKey - "standard" is the left most standard info panel. If a panel with
this name doesn't exist it will be created.info - Info texticonKey - key as those that are used for nodes (see Proxy.Icons.addIcon(String)).
println("all available icon keys: " + FreeplaneIconUtils.listStandardIconKeys())
c.setStatusInfo("standard", "hi there!", "button_ok");
FreeplaneIconFactoryvoid setStatusInfo(String infoPanelKey, Icon icon)
setStatusInfo(String, String, String)Proxy.Map newMap()
Proxy.Map newMap(URL url)
Proxy.Map newMapFromTemplate(File templateFile)
void setZoom(float ratio)