freemind.modes.browsemode
Class BrowseController
java.lang.Object
freemind.modes.ControllerAdapter
freemind.modes.browsemode.BrowseController
- All Implemented Interfaces:
- MindMapActions, ModeController
- public class BrowseController
- extends ControllerAdapter
Fields inherited from class freemind.modes.ControllerAdapter |
addArrowLinkAction, addLocalLinkAction, bold, bubble, changeArrowLinkEndPoints, changeArrowsInArrowLinkAction, cloud, cloudColor, colorArrowLinkAction, copy, copySingle, cut, deleteChild, edgeColor, EdgeStyle_bezier, EdgeStyle_linear, EdgeStyle_sharp_bezier, EdgeStyle_sharp_linear, edgeStyles, EdgeWidth_1, EdgeWidth_2, EdgeWidth_4, EdgeWidth_8, EdgeWidth_WIDTH_PARENT, EdgeWidth_WIDTH_THIN, edgeWidths, edit, find, findNext, fontFamily, fontSize, fork, gotoLinkNodeAction, importExplorerFavorites, importFolderStructure, italic, joinNodes, moveNodeAction, NEW_CHILD, NEW_CHILD_WITHOUT_FOCUS, NEW_SIBLING_BEFORE, NEW_SIBLING_BEHIND, newChild, nodeBackgroundColor, nodeColor, nodeColorBlend, nodeHookAction, paste, patterns, popupListenerSingleton, redo, removeAllIconsAction, removeArrowLinkAction, removeLastIconAction, removeNodeBackgroundColor, revertAction, selectAllAction, selectBranchAction, setLinkByTextField, toggleChildrenFolded, toggleFolded, underlined, undo, unknwonIconAction |
Method Summary |
MindMapNode |
addNew(MindMapNode target,
int newNodeMode,
java.awt.event.KeyEvent e)
|
void |
doubleClick()
|
void |
edit(java.awt.event.KeyEvent e,
boolean addNew,
boolean editLong)
The following modes are present:
public final int NEW_CHILD_WITHOUT_FOCUS = 1; // old model of insertion
public final int NEW_CHILD = 2;
public final int NEW_SIBLING_BEHIND = 3;
public final int NEW_SIBLING_BEFORE = 4; |
javax.swing.JPopupMenu |
getPopupForModel(java.lang.Object obj)
Link implementation: If this is a link, we want to make a popup with at least removelink available. |
javax.swing.JPopupMenu |
getPopupMenu()
|
void |
loadURL()
|
void |
loadURL(java.lang.String relative)
|
MapAdapter |
newModel()
You _must_ implement this if you use one of the following actions:
OpenAction, NewMapAction. |
MindMapNode |
newNode(java.lang.Object userObject)
|
protected void |
setAllActions(boolean enabled)
Enabled/Disabled all actions that are dependent on
whether there is a map open or not. |
void |
updateMenus(StructuredMenuHolder holder)
Use this method to get menus to the screen. |
Methods inherited from class freemind.modes.ControllerAdapter |
add, add, add, addCheckBox, addHook, addIcon, addLink, addNewNode, anotherNodeSelected, applyPattern, applyPattern, binOptionIsTrue, blendNodeColor, centerNode, changeArrowsOfArrowLink, close, createNodeHook, cut, cut, deleteNode, deRegisterMouseWheelEventHandler, displayNode, doubleClick, extendSelection, getActionFactory, getActionXmlFactory, getClipboard, getController, getFileFilter, getFrame, getLinkByFileChooser, getLinkShortText, getMap, getMapModule, getMode, getModeController, getModel, getNodeFromID, getNodeID, getResource, getRootNode, getSelected, getSelecteds, getSelectedsByDepth, getSelectionColor, getText, getView, handleLoadingException, increaseFontSize, invokeHook, invokeHooksRecursively, isBlocked, isUndoAction, joinNodes, load, load, marshall, mouseWheelMoved, moveNodePosition, moveNodes, newMap, newMap, newNode, nodeChanged, nodeRefresh, nodeStructureChanged, open, paste, paste, paste, plainClick, registerMouseWheelEventHandler, removeAllIcons, removeLastIcon, removeReference, save, save, saveAs, select, select, selectBranch, selectMultipleNodes, setArrowLinkColor, setArrowLinkEndPoints, setBlocked, setBold, setCloud, setCloudColor, setEdgeColor, setEdgeStyle, setEdgeWidth, setFolded, setFontFamily, setFontSize, setImageByFileChooser, setItalic, setLink, setLinkByFileChooser, setMode, setNodeBackgroundColor, setNodeColor, setNodeStyle, setNodeText, setToolTip, setVisible, showPopupMenu, shutdownController, sortNodesByDepth, splitNode, startupController, toggleFolded, unMarshall, updateMapModuleName, updatePopupMenu |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrowseController
public BrowseController(Mode mode)
edit
public void edit(java.awt.event.KeyEvent e,
boolean addNew,
boolean editLong)
- Description copied from interface:
MindMapActions
- The following modes are present:
public final int NEW_CHILD_WITHOUT_FOCUS = 1; // old model of insertion
public final int NEW_CHILD = 2;
public final int NEW_SIBLING_BEHIND = 3;
public final int NEW_SIBLING_BEFORE = 4;
- Specified by:
edit
in interface ModeController
- Overrides:
edit
in class ControllerAdapter
addNew
public MindMapNode addNew(MindMapNode target,
int newNodeMode,
java.awt.event.KeyEvent e)
- Specified by:
addNew
in interface MindMapActions
- Overrides:
addNew
in class ControllerAdapter
newModel
public MapAdapter newModel()
- Description copied from class:
ControllerAdapter
- You _must_ implement this if you use one of the following actions:
OpenAction, NewMapAction.
- Overrides:
newModel
in class ControllerAdapter
doubleClick
public void doubleClick()
newNode
public MindMapNode newNode(java.lang.Object userObject)
- Specified by:
newNode
in interface ModeController
- Specified by:
newNode
in class ControllerAdapter
getPopupMenu
public javax.swing.JPopupMenu getPopupMenu()
getPopupForModel
public javax.swing.JPopupMenu getPopupForModel(java.lang.Object obj)
- Link implementation: If this is a link, we want to make a popup with at least removelink available.
- Specified by:
getPopupForModel
in interface ModeController
- Overrides:
getPopupForModel
in class ControllerAdapter
loadURL
public void loadURL(java.lang.String relative)
- Overrides:
loadURL
in class ControllerAdapter
loadURL
public void loadURL()
- Overrides:
loadURL
in class ControllerAdapter
setAllActions
protected void setAllActions(boolean enabled)
- Enabled/Disabled all actions that are dependent on
whether there is a map open or not.
- Overrides:
setAllActions
in class ControllerAdapter
updateMenus
public void updateMenus(StructuredMenuHolder holder)
- Description copied from interface:
ModeController
- Use this method to get menus to the screen.