freemind.modes.mindmapmode
Class MindMapController

java.lang.Object
  extended byfreemind.modes.ControllerAdapter
      extended byfreemind.modes.mindmapmode.MindMapController
All Implemented Interfaces:
ModeController

public class MindMapController
extends ControllerAdapter


Nested Class Summary
protected  class MindMapController.ExportBranchToHTMLAction
           
protected  class MindMapController.ExportToHTMLAction
           
 
Nested classes 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.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
copy, copySingle, cut, NEW_CHILD, NEW_CHILD_WITHOUT_FOCUS, NEW_SIBLING_BEFORE, NEW_SIBLING_BEHIND, paste
 
Constructor Summary
MindMapController(Mode mode)
           
 
Method Summary
 void anotherNodeSelected(MindMapNode n)
           
 javax.swing.filechooser.FileFilter getFileFilter()
          You may want to implement this...
 javax.swing.JPopupMenu getPopupMenu()
           
 MapAdapter newModel()
          You _must_ implement this if you use one of the following actions: OpenAction, NewMapAction.
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, binOptionIsTrue, close, doubleClick, edit, getController, getFrame, getLinkByFileChooser, getMap, getMapModule, getMode, getResource, getSelecteds, getText, getView, handleLoadingException, isBlocked, load, loadURL, loadURL, mapOpened, mouseWheelMoved, newMap, newMap, open, plainClick, save, save, saveAs, select, setImageByFileChooser, setLinkByFileChooser, setLinkByTextField, setMode, showPopupMenu, toggleChildrenFolded, toggleFolded, updateMapModuleName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MindMapController

public MindMapController(Mode mode)
Method Detail

newModel

public MapAdapter newModel()
Description copied from class: ControllerAdapter
You _must_ implement this if you use one of the following actions: OpenAction, NewMapAction.

Overrides:
newModel in class ControllerAdapter

getFileFilter

public javax.swing.filechooser.FileFilter getFileFilter()
Description copied from class: ControllerAdapter
You may want to implement this... It returns the FileFilter that is used by the open() and save() JFileChoosers.

Overrides:
getFileFilter in class ControllerAdapter

nodeChanged

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

anotherNodeSelected

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

newNode

protected MindMapNode newNode()
Specified by:
newNode in class ControllerAdapter

getPopupMenu

public javax.swing.JPopupMenu getPopupMenu()

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 class ControllerAdapter