freemind.controller
Class Controller
java.lang.Object
freemind.controller.Controller
- public class Controller
- extends java.lang.Object
Provides the methods to edit/change a Node.
Forwards all messages to MapModel(editing) or MapView(navigation).
Field Summary |
javax.swing.Action |
quit
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
quit
public javax.swing.Action quit
Controller
public Controller(FreeMindMain frame)
checkJavaVersion
public void checkJavaVersion()
getProperty
public java.lang.String getProperty(java.lang.String property)
setProperty
public void setProperty(java.lang.String property,
java.lang.String value)
getFrame
public FreeMindMain getFrame()
getResource
public java.net.URL getResource(java.lang.String resource)
getResourceString
public java.lang.String getResourceString(java.lang.String resource)
getModel
public MindMap getModel()
- Returns the current model
getView
public MapView getView()
getMode
public Mode getMode()
getZooms
public java.lang.String[] getZooms()
getMapModuleManager
public Controller.MapModuleManager getMapModuleManager()
getLastOpenedList
public LastOpenedList getLastOpenedList()
getFontThroughMap
public java.awt.Font getFontThroughMap(java.awt.Font font)
setAntialiasEdges
public void setAntialiasEdges(boolean antialiasEdges)
setAntialiasAll
public void setAntialiasAll(boolean antialiasAll)
getAntialiasEdges
public boolean getAntialiasEdges()
getAntialiasAll
public boolean getAntialiasAll()
getDefaultFont
public java.awt.Font getDefaultFont()
changeToMode
public boolean changeToMode(java.lang.String mode)
setMenubarVisible
public void setMenubarVisible(boolean visible)
setToolbarVisible
public void setToolbarVisible(boolean visible)
setLeftToolbarVisible
public void setLeftToolbarVisible(boolean visible)
getNodeKeyListener
public NodeKeyListener getNodeKeyListener()
getNodeMouseMotionListener
public NodeMouseMotionListener getNodeMouseMotionListener()
getMapMouseMotionListener
public MapMouseMotionListener getMapMouseMotionListener()
getMapMouseWheelListener
public MapMouseWheelListener getMapMouseWheelListener()
getNodeDragListener
public NodeDragListener getNodeDragListener()
getNodeDropListener
public NodeDropListener getNodeDropListener()
setFrame
public void setFrame(FreeMindMain frame)
informationMessage
public void informationMessage(java.lang.Object message)
informationMessage
public void informationMessage(java.lang.Object message,
javax.swing.JComponent component)
errorMessage
public void errorMessage(java.lang.Object message)
errorMessage
public void errorMessage(java.lang.Object message,
javax.swing.JComponent component)
obtainFocusForSelected
public void obtainFocusForSelected()
setTitle
public void setTitle()
- Set the Frame title with mode and file if exist