public class FreeMind extends javax.swing.JFrame implements FreeMindMain
javax.swing.JFrame.AccessibleJFramejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Typejava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategyFreeMindMain.StartupDoneListener, FreeMindMain.VersionInformationaccessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabledCROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSORBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTENABLE_NODE_MOVEMENT, VERSION_TYPE_ALPHA, VERSION_TYPE_BETA, VERSION_TYPE_RC, VERSION_TYPE_RELEASE| Constructor and Description |
|---|
FreeMind(java.util.Properties pDefaultPreferences,
java.util.Properties pUserPreferences,
java.io.File pAutoPropertiesFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
err(java.lang.String msg) |
java.lang.String |
getAdjustableProperty(java.lang.String label)
Makes it possible to have a property different for different
localizations.
|
javax.swing.JComponent |
getContentComponent() |
Controller |
getController() |
java.lang.String |
getDefaultProperty(java.lang.String key) |
java.lang.String |
getFreemindBaseDir() |
java.lang.ClassLoader |
getFreeMindClassLoader() |
java.lang.String |
getFreemindDirectory()
Returns the path to the directory the freemind auto properties are in, or
null, if not present.
|
MenuBar |
getFreeMindMenuBar() |
FreeMindMain.VersionInformation |
getFreemindVersion()
version info:
|
int |
getIntProperty(java.lang.String key,
int defaultValue) |
javax.swing.JFrame |
getJFrame() |
java.util.logging.Logger |
getLogger(java.lang.String forClass)
To obtain a logging element, ask here.
|
java.util.List |
getLoggerList() |
java.io.File |
getPatternsFile() |
java.util.Properties |
getProperties() |
java.lang.String |
getProperty(java.lang.String key)
Properties are stored in freemind.properties (internally) and
~/.freemind/auto.properties for user changed values.
|
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 resource) |
java.lang.String |
getResourceString(java.lang.String key,
java.lang.String pDefault) |
javax.swing.JScrollPane |
getScrollPane() |
MapView |
getView() |
int |
getWinHeight() |
int |
getWinState() |
int |
getWinWidth() |
int |
getWinX() |
int |
getWinY() |
javax.swing.JSplitPane |
insertComponentIntoSplitPane(javax.swing.JComponent pMindMapComponent)
Inserts a (south) component into the split pane.
|
boolean |
isApplet() |
static void |
main(java.lang.String[] args,
java.util.Properties pDefaultPreferences,
java.util.Properties pUserPreferences,
java.io.File pAutoPropertiesFile) |
void |
openDocument(java.net.URL url)
Open url in WWW browser.
|
void |
out(java.lang.String msg) |
void |
registerStartupDoneListener(FreeMindMain.StartupDoneListener pStartupDoneListener) |
void |
removeSplitPane()
Indicates that the south panel should be made invisible.
|
void |
saveProperties(boolean pIsShutdown) |
void |
setDefaultProperty(java.lang.String key,
java.lang.String value) |
void |
setProperty(java.lang.String key,
java.lang.String value) |
void |
setView(MapView view) |
void |
setWaitingCursor(boolean waiting) |
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecoratedaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContentPane, getLayeredPane, repaint, setTitlepublic static final java.lang.String J_SPLIT_PANE_SPLIT_TYPE
public static final java.lang.String VERTICAL_SPLIT_BELOW
public static final java.lang.String HORIZONTAL_SPLIT_RIGHT
public static final java.lang.String LOG_FILE_NAME
public static final java.lang.String RESOURCE_LOOKANDFEEL
public static final java.lang.String RESOURCES_SELECTION_METHOD
public static final java.lang.String RESOURCES_NODE_STYLE
public static final java.lang.String RESOURCES_ROOT_NODE_STYLE
public static final java.lang.String RESOURCES_NODE_TEXT_COLOR
public static final java.lang.String RESOURCES_SELECTED_NODE_COLOR
public static final java.lang.String RESOURCES_SELECTED_NODE_RECTANGLE_COLOR
public static final java.lang.String RESOURCE_DRAW_RECTANGLE_FOR_SELECTION
public static final java.lang.String RESOURCES_EDGE_COLOR
public static final java.lang.String RESOURCES_EDGE_STYLE
public static final java.lang.String RESOURCES_CLOUD_COLOR
public static final java.lang.String RESOURCES_LINK_COLOR
public static final java.lang.String RESOURCES_BACKGROUND_COLOR
public static final java.lang.String RESOURCE_PRINT_ON_WHITE_BACKGROUND
public static final java.lang.String RESOURCES_WHEEL_VELOCITY
public static final java.lang.String RESOURCES_USE_TABBED_PANE
public static final java.lang.String RESOURCES_USE_SPLIT_PANE
public static final java.lang.String RESOURCES_DELETE_NODES_WITHOUT_QUESTION
public static final java.lang.String RESOURCES_RELOAD_FILES_WITHOUT_QUESTION
protected static final FreeMindMain.VersionInformation VERSION
public static final java.lang.String XML_VERSION
public static final java.lang.String RESOURCES_REMIND_USE_RICH_TEXT_IN_NEW_LONG_NODES
public static final java.lang.String RESOURCES_EXECUTE_SCRIPTS_WITHOUT_ASKING
public static final java.lang.String RESOURCES_EXECUTE_SCRIPTS_WITHOUT_FILE_RESTRICTION
public static final java.lang.String RESOURCES_EXECUTE_SCRIPTS_WITHOUT_NETWORK_RESTRICTION
public static final java.lang.String RESOURCES_EXECUTE_SCRIPTS_WITHOUT_EXEC_RESTRICTION
public static final java.lang.String RESOURCES_SCRIPT_USER_KEY_NAME_FOR_SIGNING
public static final java.lang.String RESOURCES_CONVERT_TO_CURRENT_VERSION
public static final java.lang.String RESOURCES_CUT_NODES_WITHOUT_QUESTION
public static final java.lang.String RESOURCES_DON_T_SHOW_NOTE_ICONS
public static final java.lang.String RESOURCES_REMOVE_NOTES_WITHOUT_QUESTION
public static final java.lang.String RESOURCES_SAVE_FOLDING_STATE
public static final java.lang.String RESOURCES_SIGNED_SCRIPT_ARE_TRUSTED
public static final java.lang.String RESOURCES_USE_DEFAULT_FONT_FOR_NOTES_TOO
public static final java.lang.String RESOURCES_USE_MARGIN_TOP_ZERO_FOR_NOTES
public static final java.lang.String RESOURCES_DON_T_SHOW_CLONE_ICONS
public static final java.lang.String RESOURCES_DON_T_OPEN_PORT
public static final java.lang.String KEYSTROKE_MOVE_MAP_LEFT
public static final java.lang.String KEYSTROKE_MOVE_MAP_RIGHT
public static final java.lang.String KEYSTROKE_PREVIOUS_MAP
public static final java.lang.String KEYSTROKE_NEXT_MAP
public static final java.lang.String RESOURCES_SEARCH_IN_NOTES_TOO
public static final java.lang.String RESOURCES_DON_T_SHOW_NOTE_TOOLTIPS
public static final java.lang.String RESOURCES_SEARCH_FOR_NODE_TEXT_WITHOUT_QUESTION
public static final java.lang.String RESOURCES_COMPLETE_CLONING
public static final java.lang.String RESOURCES_CLONE_TYPE_COMPLETE_CLONE
public static final java.lang.String TOOLTIP_DISPLAY_TIME
public static final java.lang.String PROXY_PORT
public static final java.lang.String PROXY_HOST
public static final java.lang.String PROXY_PASSWORD
public static final java.lang.String PROXY_USER
public static final java.lang.String PROXY_IS_AUTHENTICATED
public static final java.lang.String PROXY_USE_SETTINGS
public static final java.lang.String RESOURCES_DISPLAY_FOLDING_BUTTONS
public static java.util.Properties props
public FreeMind(java.util.Properties pDefaultPreferences,
java.util.Properties pUserPreferences,
java.io.File pAutoPropertiesFile)
public boolean isApplet()
isApplet in interface FreeMindMainpublic java.io.File getPatternsFile()
getPatternsFile in interface FreeMindMainpublic FreeMindMain.VersionInformation getFreemindVersion()
FreeMindMaingetFreemindVersion in interface FreeMindMainpublic int getWinHeight()
getWinHeight in interface FreeMindMainpublic int getWinWidth()
getWinWidth in interface FreeMindMainpublic int getWinX()
getWinX in interface FreeMindMainpublic int getWinY()
getWinY in interface FreeMindMainpublic int getWinState()
getWinState in interface FreeMindMainpublic java.net.URL getResource(java.lang.String name)
getResource in interface FreeMindMainpublic java.lang.String getProperty(java.lang.String key)
FreeMindMaingetProperty in interface FreeMindMainkey - The property key as specified in freemind.propertiespublic int getIntProperty(java.lang.String key,
int defaultValue)
getIntProperty in interface FreeMindMainpublic java.util.Properties getProperties()
getProperties in interface FreeMindMainpublic void setProperty(java.lang.String key,
java.lang.String value)
setProperty in interface FreeMindMainpublic java.lang.String getDefaultProperty(java.lang.String key)
public void setDefaultProperty(java.lang.String key,
java.lang.String value)
setDefaultProperty in interface FreeMindMainpublic java.lang.String getFreemindDirectory()
FreeMindMaingetFreemindDirectory in interface FreeMindMainpublic void saveProperties(boolean pIsShutdown)
saveProperties in interface FreeMindMainpublic MapView getView()
getView in interface FreeMindMainpublic Controller getController()
getController in interface FreeMindMainpublic void setView(MapView view)
setView in interface FreeMindMainpublic MenuBar getFreeMindMenuBar()
getFreeMindMenuBar in interface FreeMindMainpublic void out(java.lang.String msg)
out in interface FreeMindMainpublic void err(java.lang.String msg)
err in interface FreeMindMainpublic void openDocument(java.net.URL url)
throws java.lang.Exception
openDocument in interface FreeMindMainjava.lang.Exceptionpublic void setWaitingCursor(boolean waiting)
setWaitingCursor in interface FreeMindMainpublic java.util.ResourceBundle getResources()
getResources in interface FreeMindMainpublic java.lang.String getResourceString(java.lang.String resource)
getResourceString in interface FreeMindMainpublic java.lang.String getResourceString(java.lang.String key,
java.lang.String pDefault)
getResourceString in interface FreeMindMainpublic java.util.logging.Logger getLogger(java.lang.String forClass)
FreeMindMaingetLogger in interface FreeMindMainpublic static void main(java.lang.String[] args,
java.util.Properties pDefaultPreferences,
java.util.Properties pUserPreferences,
java.io.File pAutoPropertiesFile)
public javax.swing.JFrame getJFrame()
getJFrame in interface FreeMindMainpublic java.lang.ClassLoader getFreeMindClassLoader()
getFreeMindClassLoader in interface FreeMindMainpublic java.lang.String getFreemindBaseDir()
getFreemindBaseDir in interface FreeMindMainpublic java.lang.String getAdjustableProperty(java.lang.String label)
FreeMindMaingetAdjustableProperty in interface FreeMindMainpublic javax.swing.JSplitPane insertComponentIntoSplitPane(javax.swing.JComponent pMindMapComponent)
FreeMindMaininsertComponentIntoSplitPane in interface FreeMindMainpMindMapComponent - south panel to be insertedpublic void removeSplitPane()
FreeMindMainremoveSplitPane in interface FreeMindMainpublic javax.swing.JScrollPane getScrollPane()
getScrollPane in interface FreeMindMainpublic javax.swing.JComponent getContentComponent()
getContentComponent in interface FreeMindMainpublic void registerStartupDoneListener(FreeMindMain.StartupDoneListener pStartupDoneListener)
registerStartupDoneListener in interface FreeMindMainpublic java.util.List getLoggerList()
getLoggerList in interface FreeMindMain