freemind.modes.filemode

Class FileMode

Implemented Interfaces:
Mode

public class FileMode
extends java.lang.Object
implements Mode

Constructor Summary

FileMode()

Method Summary

void
activate()
Called whenever this mode is chosen in the program.
Controller
getController()
JToolBar
getLeftToolBar()
ModeController
getModeController()
JMenu
getModeEditMenu()
JMenu
getModeFileMenu()
JToolBar
getModeToolBar()
void
init(Controller c)
void
restore(String restoreable)
String
toString()

Constructor Details

FileMode

public FileMode()

Method Details

activate

public void activate()
Called whenever this mode is chosen in the program. (updates Actions etc.)
Specified by:
activate in interface Mode

getController

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

getLeftToolBar

public JToolBar getLeftToolBar()
Specified by:
getLeftToolBar in interface Mode

getModeController

public ModeController getModeController()
Specified by:
getModeController in interface Mode

getModeEditMenu

public JMenu getModeEditMenu()
Specified by:
getModeEditMenu in interface Mode

getModeFileMenu

public JMenu getModeFileMenu()
Specified by:
getModeFileMenu in interface Mode

getModeToolBar

public JToolBar getModeToolBar()
Specified by:
getModeToolBar in interface Mode

init

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

restore

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

toString

public String toString()
Specified by:
toString in interface Mode