freemind.main
Interface FreeMindMain

All Known Implementing Classes:
FreeMind, FreeMindApplet

public interface FreeMindMain


Method Summary
 void err(java.lang.String msg)
           
 java.awt.Container getContentPane()
           
 Controller getController()
           
 java.lang.String getFreemindDirectory()
          Returns the path to the directory the freemind auto properties are in, or null, if not present.
 MenuBar getFreeMindMenuBar()
           
 java.lang.String getFreemindVersion()
           
 HookFactory getHookFactory()
           
 int getIntProperty(java.lang.String key, int defaultValue)
           
 javax.swing.JFrame getJFrame()
           
 javax.swing.JLayeredPane getLayeredPane()
           
 java.util.logging.Logger getLogger(java.lang.String forClass)
           
 java.io.File getPatternsFile()
           
 java.util.Properties getProperties()
           
 java.lang.String getProperty(java.lang.String key)
           
 java.net.URL getResource(java.lang.String name)
           
 java.util.ResourceBundle getResources()
          Returns the ResourceBundle with the current language
 java.lang.String getResourceString(java.lang.String key)
           
 javax.swing.JPanel getSouthPanel()
           
 MapView getView()
           
 java.awt.Container getViewport()
           
 int getWinHeight()
           
 int getWinState()
           
 int getWinWidth()
           
 boolean isApplet()
           
 void openDocument(java.net.URL location)
          Open url in WWW browser.
 void out(java.lang.String msg)
           
 void repaint()
          remove this!
 void saveProperties()
           
 void setProperty(java.lang.String key, java.lang.String value)
           
 void setTitle(java.lang.String title)
           
 void setView(MapView view)
           
 void setWaitingCursor(boolean waiting)
           
 

Method Detail

getJFrame

public javax.swing.JFrame getJFrame()

isApplet

public boolean isApplet()

getView

public MapView getView()

setView

public void setView(MapView view)

getController

public Controller getController()

setWaitingCursor

public void setWaitingCursor(boolean waiting)

getPatternsFile

public java.io.File getPatternsFile()

getFreeMindMenuBar

public MenuBar getFreeMindMenuBar()

getResources

public java.util.ResourceBundle getResources()
Returns the ResourceBundle with the current language


getResourceString

public java.lang.String getResourceString(java.lang.String key)

getContentPane

public java.awt.Container getContentPane()

out

public void out(java.lang.String msg)

err

public void err(java.lang.String msg)

openDocument

public void openDocument(java.net.URL location)
                  throws java.lang.Exception
Open url in WWW browser. This method hides some differences between operating systems.

Throws:
java.lang.Exception

repaint

public void repaint()
remove this!


getResource

public java.net.URL getResource(java.lang.String name)

getIntProperty

public int getIntProperty(java.lang.String key,
                          int defaultValue)

getProperties

public java.util.Properties getProperties()
Returns:
returns the list of all properties.

getProperty

public java.lang.String getProperty(java.lang.String key)

setProperty

public void setProperty(java.lang.String key,
                        java.lang.String value)

saveProperties

public void saveProperties()

getFreemindDirectory

public java.lang.String getFreemindDirectory()
Returns the path to the directory the freemind auto properties are in, or null, if not present.


getLayeredPane

public javax.swing.JLayeredPane getLayeredPane()

getViewport

public java.awt.Container getViewport()

setTitle

public void setTitle(java.lang.String title)

getWinHeight

public int getWinHeight()

getWinWidth

public int getWinWidth()

getWinState

public int getWinState()

getFreemindVersion

public java.lang.String getFreemindVersion()

getLogger

public java.util.logging.Logger getLogger(java.lang.String forClass)

getHookFactory

public HookFactory getHookFactory()
Returns:

getSouthPanel

public javax.swing.JPanel getSouthPanel()