freemind.view

Class MapModule

public class MapModule extends 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
ModegetMode()
MindMapgetModel()
MapViewgetView()
voidrename()
voidsetModel(MindMap model)
voidsetName(String name)
voidsetView(MapView view)
StringtoString()
Returns the String that is used to identify this map.

Constructor Detail

MapModule

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

Method Detail

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.