public class FileMode extends Mode
| Constructor and Description |
|---|
FileMode() |
| Modifier and Type | Method and Description |
|---|---|
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() |
toLocalizedStringpublic void init(Controller c)
public void activate()
public Controller getController()
getController in class Modepublic ModeController getDefaultModeController()
ModegetDefaultModeController in class Modepublic ModeController createModeController()
ModecreateModeController in class Mode