freemind.view

Class MapModule


public class MapModule
extends java.lang.Object

This class is the key to one Model/View bundle which represents one map.

Constructor Summary

MapModule(MindMap model, MapView view, Mode mode)

Method Summary

Mode
getMode()
MindMap
getModel()
MapView
getView()
void
rename()
void
setModel(MindMap model)
void
setName(String name)
void
setView(MapView view)
String
toString()
Returns the String that is used to identify this map.

Constructor Details

MapModule

public MapModule(MindMap model,
                 MapView view,
                 Mode mode)

Method Details

getMode

public Mode getMode()

getModel

public MindMap getModel()

getView

public MapView getView()

rename

public void rename()

setModel

public void setModel(MindMap model)

setName

public void setName(String name)

setView

public void setView(MapView view)

toString

public String toString()
Returns the String that is used to identify this map. Important: If the String is changed, other component (ie Controller) must be notified.