freemind.main

Class FreeMind

Implemented Interfaces:
FreeMindMain

public class FreeMind
extends JFrame
implements FreeMindMain

Field Summary

URL
defaultPropsURL
static Properties
props
static String
version

Constructor Summary

FreeMind()

Method Summary

void
err(String msg)
Controller
getController()
MenuBar
getFreeMindMenuBar()
String
getFreemindDirectory()
Returns the path to the directory the freemind auto properties are in, or null, if not present.
String
getFreemindVersion()
java.util.logging.Logger
getLogger(String forClass)
File
getPatternsFile()
String
getProperty(String key)
URL
getResource(String name)
ResourceBundle
getResources()
Returns the ResourceBundle with the current language
MapView
getView()
Container
getViewport()
int
getWinHeight()
int
getWinState()
int
getWinWidth()
boolean
isApplet()
static void
main(String[] args)
void
openDocument(URL url)
Open url in WWW browser.
void
out(String msg)
void
saveProperties()
void
setProperty(String key, String value)
void
setView(MapView view)
void
setWaitingCursor(boolean waiting)

Field Details

defaultPropsURL

public URL defaultPropsURL

props

public static Properties props

version

public static final String version

Constructor Details

FreeMind

public FreeMind()

Method Details

err

public void err(String msg)
Specified by:
err in interface FreeMindMain

getController

public Controller getController()
Specified by:
getController in interface FreeMindMain

getFreeMindMenuBar

public MenuBar getFreeMindMenuBar()
Specified by:
getFreeMindMenuBar in interface FreeMindMain

getFreemindDirectory

public String getFreemindDirectory()
Returns the path to the directory the freemind auto properties are in, or null, if not present.
Specified by:
getFreemindDirectory in interface FreeMindMain

getFreemindVersion

public String getFreemindVersion()
Specified by:
getFreemindVersion in interface FreeMindMain

getLogger

public java.util.logging.Logger getLogger(String forClass)
Specified by:
getLogger in interface FreeMindMain

getPatternsFile

public File getPatternsFile()
Specified by:
getPatternsFile in interface FreeMindMain

getProperty

public String getProperty(String key)
Specified by:
getProperty in interface FreeMindMain

getResource

public URL getResource(String name)
Specified by:
getResource in interface FreeMindMain

getResources

public ResourceBundle getResources()
Returns the ResourceBundle with the current language
Specified by:
getResources in interface FreeMindMain

getView

public MapView getView()
Specified by:
getView in interface FreeMindMain

getViewport

public Container getViewport()
Specified by:
getViewport in interface FreeMindMain

getWinHeight

public int getWinHeight()
Specified by:
getWinHeight in interface FreeMindMain

getWinState

public int getWinState()
Specified by:
getWinState in interface FreeMindMain

getWinWidth

public int getWinWidth()
Specified by:
getWinWidth in interface FreeMindMain

isApplet

public boolean isApplet()
Specified by:
isApplet in interface FreeMindMain

main

public static void main(String[] args)

openDocument

public void openDocument(URL url)
            throws Exception
Open url in WWW browser. This method hides some differences between operating systems.
Specified by:
openDocument in interface FreeMindMain

out

public void out(String msg)
Specified by:
out in interface FreeMindMain

saveProperties

public void saveProperties()
Specified by:
saveProperties in interface FreeMindMain

setProperty

public void setProperty(String key,
                        String value)
Specified by:
setProperty in interface FreeMindMain

setView

public void setView(MapView view)
Specified by:
setView in interface FreeMindMain

setWaitingCursor

public void setWaitingCursor(boolean waiting)
Specified by:
setWaitingCursor in interface FreeMindMain