public class FreeMind extends javax.swing.JFrame implements FreeMindMain
javax.swing.JFrame.AccessibleJFrame
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
java.awt.Container.AccessibleAWTContainer
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
FreeMindMain.VersionInformation
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
CROSSHAIR_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_CURSOR
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
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.
|
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.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 resource) |
MapView |
getView() |
java.awt.Container |
getViewport() |
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 |
removeSplitPane()
Indicates that the south panel should be made invisible.
|
void |
saveProperties() |
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, update
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
addPropertyChangeListener, 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, toFront
add, 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, validateTree
action, 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, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContentPane, getLayeredPane, repaint, setTitle
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
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 java.util.Properties props
public FreeMind(java.util.Properties pDefaultPreferences, java.util.Properties pUserPreferences, java.io.File pAutoPropertiesFile)
public boolean isApplet()
isApplet
in interface FreeMindMain
public java.io.File getPatternsFile()
getPatternsFile
in interface FreeMindMain
public java.awt.Container getViewport()
getViewport
in interface FreeMindMain
public FreeMindMain.VersionInformation getFreemindVersion()
FreeMindMain
getFreemindVersion
in interface FreeMindMain
public int getWinHeight()
getWinHeight
in interface FreeMindMain
public int getWinWidth()
getWinWidth
in interface FreeMindMain
public int getWinX()
getWinX
in interface FreeMindMain
public int getWinY()
getWinY
in interface FreeMindMain
public int getWinState()
getWinState
in interface FreeMindMain
public java.net.URL getResource(java.lang.String name)
getResource
in interface FreeMindMain
public java.lang.String getProperty(java.lang.String key)
FreeMindMain
getProperty
in interface FreeMindMain
key
- The property key as specified in freemind.propertiespublic int getIntProperty(java.lang.String key, int defaultValue)
getIntProperty
in interface FreeMindMain
public java.util.Properties getProperties()
getProperties
in interface FreeMindMain
public void setProperty(java.lang.String key, java.lang.String value)
setProperty
in interface FreeMindMain
public java.lang.String getDefaultProperty(java.lang.String key)
public void setDefaultProperty(java.lang.String key, java.lang.String value)
setDefaultProperty
in interface FreeMindMain
public java.lang.String getFreemindDirectory()
FreeMindMain
getFreemindDirectory
in interface FreeMindMain
public void saveProperties()
saveProperties
in interface FreeMindMain
public MapView getView()
getView
in interface FreeMindMain
public Controller getController()
getController
in interface FreeMindMain
public void setView(MapView view)
setView
in interface FreeMindMain
public MenuBar getFreeMindMenuBar()
getFreeMindMenuBar
in interface FreeMindMain
public void out(java.lang.String msg)
out
in interface FreeMindMain
public void err(java.lang.String msg)
err
in interface FreeMindMain
public void openDocument(java.net.URL url) throws java.lang.Exception
openDocument
in interface FreeMindMain
java.lang.Exception
public void setWaitingCursor(boolean waiting)
setWaitingCursor
in interface FreeMindMain
public java.util.ResourceBundle getResources()
getResources
in interface FreeMindMain
public java.lang.String getResourceString(java.lang.String resource)
getResourceString
in interface FreeMindMain
public java.lang.String getResourceString(java.lang.String key, java.lang.String resource)
getResourceString
in interface FreeMindMain
public java.util.logging.Logger getLogger(java.lang.String forClass)
FreeMindMain
getLogger
in interface FreeMindMain
public 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 FreeMindMain
public java.lang.ClassLoader getFreeMindClassLoader()
getFreeMindClassLoader
in interface FreeMindMain
public java.lang.String getFreemindBaseDir()
getFreemindBaseDir
in interface FreeMindMain
public java.lang.String getAdjustableProperty(java.lang.String label)
FreeMindMain
getAdjustableProperty
in interface FreeMindMain
public javax.swing.JSplitPane insertComponentIntoSplitPane(javax.swing.JComponent pMindMapComponent)
FreeMindMain
insertComponentIntoSplitPane
in interface FreeMindMain
pMindMapComponent
- south panel to be insertedpublic void removeSplitPane()
FreeMindMain
removeSplitPane
in interface FreeMindMain