freemind.modes.browsemode
Class BrowseMode

java.lang.Object
  extended by freemind.modes.browsemode.BrowseMode
All Implemented Interfaces:
Mode

public class BrowseMode
extends java.lang.Object
implements Mode


Field Summary
static java.lang.String MODENAME
           
 
Constructor Summary
BrowseMode()
           
 
Method Summary
 void activate()
          Called whenever this mode is chosen in the program.
 ModeController createModeController()
          Creates a new mode controller and returns it.
 Controller getController()
           
 ModeController getDefaultModeController()
          This modeController is only used, when no map is opened.
 void init(Controller c)
           
 void restore(java.lang.String restoreable)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MODENAME

public static final java.lang.String MODENAME
See Also:
Constant Field Values
Constructor Detail

BrowseMode

public BrowseMode()
Method Detail

init

public void init(Controller c)
Specified by:
init in interface Mode

toString

public java.lang.String toString()
Specified by:
toString in interface Mode
Overrides:
toString in class java.lang.Object

activate

public void activate()
Called whenever this mode is chosen in the program. (updates Actions etc.)

Specified by:
activate in interface Mode

restore

public void restore(java.lang.String restoreable)
Specified by:
restore in interface Mode

getController

public Controller getController()
Specified by:
getController in interface Mode

getDefaultModeController

public ModeController getDefaultModeController()
Description copied from interface: Mode
This modeController is only used, when no map is opened.

Specified by:
getDefaultModeController in interface Mode

createModeController

public ModeController createModeController()
Description copied from interface: Mode
Creates a new mode controller and returns it.

Specified by:
createModeController in interface Mode