freemind.modes.browsemode
Class BrowseController

java.lang.Object
  extended byfreemind.modes.ControllerAdapter
      extended byfreemind.modes.browsemode.BrowseController
All Implemented Interfaces:
ModeController

public class BrowseController
extends ControllerAdapter


Nested Class Summary
 
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
BrowseController(Mode mode)
           
 
Method Summary
 void addNew(NodeView target, int newNodeMode, java.awt.event.KeyEvent e)
           
 void doubleClick()
           
 void edit(java.awt.event.KeyEvent e, boolean addNew, boolean editLong)
           
 javax.swing.JPopupMenu getPopupMenu()
           
 void loadURL()
           
 void loadURL(java.lang.String relative)
           
 MapAdapter newModel()
          You _must_ implement this if you use one of the following actions: OpenAction, NewMapAction.
protected  MindMapNode newNode()
           
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, anotherNodeSelected, binOptionIsTrue, close, doubleClick, getController, getFileFilter, getFrame, getLinkByFileChooser, getMap, getMapModule, getMode, getResource, getSelecteds, getText, getView, handleLoadingException, isBlocked, load, mapOpened, mouseWheelMoved, newMap, newMap, nodeChanged, 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

BrowseController

public BrowseController(Mode mode)
Method Detail

edit

public void edit(java.awt.event.KeyEvent e,
                 boolean addNew,
                 boolean editLong)
Specified by:
edit in interface ModeController
Overrides:
edit in class ControllerAdapter

addNew

public void addNew(NodeView target,
                   int newNodeMode,
                   java.awt.event.KeyEvent e)
Specified by:
addNew in interface ModeController
Overrides:
addNew in class ControllerAdapter

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

doubleClick

public void doubleClick()

newNode

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

getPopupMenu

public javax.swing.JPopupMenu getPopupMenu()

loadURL

public void loadURL(java.lang.String relative)
Overrides:
loadURL in class ControllerAdapter

loadURL

public void loadURL()
Overrides:
loadURL in class 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 class ControllerAdapter