freemind.view
Class MapModule

java.lang.Object
  extended by freemind.view.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, ModeController modeController)
           
 
Method Summary
 java.lang.String getDisplayName()
           
 Mode getMode()
           
 ModeController getModeController()
           
 MindMap getModel()
           
 java.lang.String getName()
           
 MapView getView()
           
 void rename()
           
 void setDisplayName(java.lang.String pDisplayName)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
          Returns the String that is used to identify this map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapModule

public MapModule(MindMap model,
                 MapView view,
                 Mode mode,
                 ModeController modeController)
Method Detail

toString

public java.lang.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.

Overrides:
toString in class java.lang.Object

rename

public void rename()

getModel

public MindMap getModel()

getView

public MapView getView()

getMode

public Mode getMode()

setName

public void setName(java.lang.String name)

getModeController

public ModeController getModeController()

getName

public java.lang.String getName()

getDisplayName

public java.lang.String getDisplayName()

setDisplayName

public void setDisplayName(java.lang.String pDisplayName)