public static interface Proxy.Controller extends Proxy.ControllerRO
c
- read-write.Modifier and Type | Method and 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.
|
java.util.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(java.net.URL url)
opens a new map for url in the foreground if it isn't opened already.
|
Proxy.Map |
newMapFromTemplate(java.io.File templateFile)
opens a new map based on given template.
|
void |
redo()
invokes redo once - for testing purposes mainly.
|
void |
select(java.util.Collection<Proxy.Node> toSelect)
selects multiple Nodes.
|
void |
select(Proxy.Node toSelect) |
void |
selectBranch(Proxy.Node branchRoot)
selects branchRoot and all children
|
void |
selectMultipleNodes(java.util.Collection<Proxy.Node> toSelect)
same as
select(Collection) |
void |
setStatusInfo(java.lang.String info)
The main info for the status line with key="standard", use null to remove.
|
void |
setStatusInfo(java.lang.String infoPanelKey,
javax.swing.Icon icon)
Deprecated.
since 1.2 - use
setStatusInfo(String, String, String) |
void |
setStatusInfo(java.lang.String infoPanelKey,
java.lang.String info)
Info for status line, null to remove.
|
void |
setStatusInfo(java.lang.String infoPanelKey,
java.lang.String info,
java.lang.String iconKey)
Info for status line - text and icon - null stands for "remove" (text or icon)
|
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, isInteractive
void centerOnNode(Proxy.Node center)
void edit(Proxy.Node node)
void editInPopup(Proxy.Node node)
void select(Proxy.Node toSelect)
void select(java.util.Collection<Proxy.Node> toSelect)
void selectBranch(Proxy.Node branchRoot)
void selectMultipleNodes(java.util.Collection<Proxy.Node> toSelect)
select(Collection)
void deactivateUndo()
void undo()
void redo()
void setStatusInfo(java.lang.String info)
void setStatusInfo(java.lang.String infoPanelKey, java.lang.String info)
setStatusInfo(String, String, String)
void setStatusInfo(java.lang.String infoPanelKey, java.lang.String info, java.lang.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");
FreeplaneIconFactory
void setStatusInfo(java.lang.String infoPanelKey, javax.swing.Icon icon)
setStatusInfo(String, String, String)
Proxy.Map newMap()
Proxy.Map newMap(java.net.URL url)
Proxy.Map newMapFromTemplate(java.io.File templateFile)
void setZoom(float ratio)
java.util.List<Proxy.Map> getOpenMaps()