freemind.modes.mindmapmode

Class MindMapController

Implemented Interfaces:
ModeController

public class MindMapController
extends ControllerAdapter

Nested Class Summary

protected class
MindMapController.ChangeArrowsInArrowLinkAction
protected class
MindMapController.ColorArrowLinkAction
protected class
MindMapController.ExportBranchToHTMLAction
protected class
MindMapController.ExportToHTMLAction
protected class
MindMapController.RemoveArrowLinkAction

Nested classes/interfaces inherited from class freemind.modes.ControllerAdapter

ControllerAdapter.CopyAction, ControllerAdapter.CopySingleAction, ControllerAdapter.CutAction, ControllerAdapter.EditAction, ControllerAdapter.EditCopyAction, ControllerAdapter.EditLongAction, ControllerAdapter.FileOpener, ControllerAdapter.FindAction, ControllerAdapter.FindNextAction, ControllerAdapter.FollowLinkAction, ControllerAdapter.GotoLinkNodeAction, ControllerAdapter.NewChildAction, ControllerAdapter.NewChildWithoutFocusAction, ControllerAdapter.NewMapAction, ControllerAdapter.NewPreviousSiblingAction, ControllerAdapter.NewSiblingAction, ControllerAdapter.NodeDownAction, ControllerAdapter.NodeUpAction, ControllerAdapter.OpenAction, ControllerAdapter.PasteAction, ControllerAdapter.RemoveAction, ControllerAdapter.SaveAction, ControllerAdapter.SaveAsAction, ControllerAdapter.SetImageByFileChooserAction, ControllerAdapter.SetLinkByFileChooserAction, ControllerAdapter.SetLinkByTextFieldAction, ControllerAdapter.ToggleChildrenFoldedAction, ControllerAdapter.ToggleFoldedAction

Field Summary

Fields inherited from class freemind.modes.ControllerAdapter

NEW_CHILD, NEW_CHILD_WITHOUT_FOCUS, NEW_SIBLING_BEFORE, NEW_SIBLING_BEHIND, copy, copySingle, cut, paste, popupListenerSingleton

Constructor Summary

MindMapController(Mode mode)

Method Summary

void
anotherNodeSelected(MindMapNode n)
FileFilter
getFileFilter()
JPopupMenu
getPopupForModel(java.lang.Object obj)
Link implementation: If this is a link, we want to make a popup with at least removelink available.
JPopupMenu
getPopupMenu()
MapAdapter
newModel()
protected MindMapNode
newNode()
void
nodeChanged(MindMapNode n)
protected void
setAllActions(boolean enabled)
Enabled/Disabled all actions that are dependent on whether there is a map open or not.

Methods inherited from class freemind.modes.ControllerAdapter

add, add, addNew, anotherNodeSelected, binOptionIsTrue, close, doubleClick, edit, extendSelection, getController, getFileFilter, getFrame, getLinkByFileChooser, getMap, getMapModule, getMode, getPopupForModel, getResource, getSelecteds, getText, getView, handleLoadingException, isBlocked, load, loadURL, loadURL, mapOpened, mouseWheelMoved, newMap, newMap, newModel, newNode, nodeChanged, open, plainClick, save, save, saveAs, setAllActions, setImageByFileChooser, setLinkByFileChooser, setLinkByTextField, setMode, showPopupMenu, toggleChildrenFolded, toggleFolded, updateMapModuleName

Constructor Details

MindMapController

public MindMapController(Mode mode)

Method Details

anotherNodeSelected

public void anotherNodeSelected(MindMapNode n)
Specified by:
anotherNodeSelected in interface ModeController
Overrides:
anotherNodeSelected in interface ControllerAdapter

getFileFilter

public FileFilter getFileFilter()
Overrides:
getFileFilter in interface ControllerAdapter

getPopupForModel

public JPopupMenu getPopupForModel(java.lang.Object obj)
Link implementation: If this is a link, we want to make a popup with at least removelink available.
Specified by:
getPopupForModel in interface ModeController
Overrides:
getPopupForModel in interface ControllerAdapter

getPopupMenu

public JPopupMenu getPopupMenu()
Specified by:
getPopupMenu in interface ModeController

newModel

public MapAdapter newModel()
Overrides:
newModel in interface ControllerAdapter

newNode

protected MindMapNode newNode()
Overrides:
newNode in interface ControllerAdapter

nodeChanged

public void nodeChanged(MindMapNode n)
Specified by:
nodeChanged in interface ModeController
Overrides:
nodeChanged in interface ControllerAdapter

setAllActions

protected void setAllActions(boolean enabled)
Enabled/Disabled all actions that are dependent on whether there is a map open or not.
Overrides:
setAllActions in interface ControllerAdapter