|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfreemind.modes.ControllerAdapter
freemind.modes.mindmapmode.MindMapController
public class MindMapController
| Nested Class Summary | |
|---|---|
protected class |
MindMapController.AssignAttributesAction
|
class |
MindMapController.DefaultMindMapNodeCreator
|
protected class |
MindMapController.EditLongAction
|
protected class |
MindMapController.ExportBranchToHTMLAction
|
protected class |
MindMapController.ExportToHTMLAction
|
protected class |
MindMapController.FollowLinkAction
|
static interface |
MindMapController.MindMapControllerPlugin
|
static interface |
MindMapController.NewNodeCreator
|
protected class |
MindMapController.SetImageByFileChooserAction
|
protected class |
MindMapController.SetLinkByFileChooserAction
|
| Nested classes/interfaces inherited from class freemind.modes.ControllerAdapter |
|---|
ControllerAdapter.EditAttributesAction, ControllerAdapter.FileOpener, ControllerAdapter.nodesDepthComparator, ControllerAdapter.OpenAction, ControllerAdapter.SaveAction, ControllerAdapter.SaveAsAction |
| Nested classes/interfaces inherited from interface freemind.modes.mindmapmode.actions.MindMapActions |
|---|
MindMapActions.MouseWheelEventHandler |
| Nested classes/interfaces inherited from interface freemind.modes.ModeController |
|---|
ModeController.NodeLifetimeListener, ModeController.NodeSelectionListener |
| Fields inherited from class freemind.modes.ControllerAdapter |
|---|
popupListenerSingleton |
| Fields inherited from interface freemind.modes.mindmapmode.actions.MindMapActions |
|---|
NEW_CHILD, NEW_CHILD_WITHOUT_FOCUS, NEW_SIBLING_BEFORE, NEW_SIBLING_BEHIND |
| Fields inherited from interface freemind.modes.ModeController |
|---|
NODESEPARATOR |
| Constructor Summary | |
|---|---|
MindMapController(Mode mode)
|
|
| Method Summary | |
|---|---|
int |
addAttribute(MindMapNode node,
Attribute pAttribute)
Inserts a new attribute at the end of the attributes table. |
void |
addHook(MindMapNode focussed,
java.util.List selecteds,
java.lang.String hookName)
|
void |
addIcon(MindMapNode node,
MindIcon icon)
This method is nice, but how to get a MindIcon ? |
void |
addIconsToMenu(StructuredMenuHolder holder,
java.lang.String iconMenuString)
|
void |
addLink(MindMapNode source,
MindMapNode target)
Source holds the MindMapArrowLinkModel and points to the id placed in target. |
MindMapNode |
addNew(MindMapNode target,
int newNodeMode,
java.awt.event.KeyEvent e)
|
MindMapNode |
addNewNode(MindMapNode parent,
int index,
boolean newNodeIsLeft)
Another variant of addNew. |
void |
applyPattern(MindMapNode node,
freemind.controller.actions.generated.instance.Pattern pattern)
|
void |
applyPattern(MindMapNode node,
java.lang.String patternName)
|
void |
blendNodeColor(MindMapNode node)
|
void |
changeArrowsOfArrowLink(MindMapArrowLinkModel arrowLink,
boolean hasStartArrow,
boolean hasEndArrow)
|
void |
clearNodeContents(MindMapNode pNode)
Erases all content of the node as text, colors, fonts, etc. |
java.awt.datatransfer.Transferable |
copy(MindMapNode node,
boolean saveInvisible)
|
freemind.controller.actions.generated.instance.EditNoteToNodeAction |
createEditNoteToNodeAction(MindMapNode node,
java.lang.String text)
|
NodeHook |
createNodeHook(java.lang.String hookName,
MindMapNode node,
MindMap map)
This is the only way to instanciate new Hooks. |
void |
createPatternSubMenu(StructuredMenuHolder holder,
java.lang.String formatMenuString)
|
XMLElement |
createXMLElement()
|
java.awt.datatransfer.Transferable |
cut()
|
java.awt.datatransfer.Transferable |
cut(java.util.List nodeList)
|
freemind.controller.actions.generated.instance.WindowConfigurationStorage |
decorateDialog(javax.swing.JDialog dialog,
java.lang.String window_preference_storage_property)
|
void |
deleteNode(MindMapNode selectedNode)
|
void |
deRegisterMouseWheelEventHandler(MindMapActions.MouseWheelEventHandler handler)
|
void |
deregisterPlugin(MindMapController.MindMapControllerPlugin pPlugin)
|
void |
doubleClick(java.awt.event.MouseEvent e)
|
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; see MindMapController |
int |
editAttribute(MindMapNode pNode,
java.lang.String pName,
java.lang.String pNewValue)
If an attribute with the same name exists, its value is changed. |
boolean |
extendSelection(java.awt.event.MouseEvent e)
This extends the currently selected nodes. |
ActionFactory |
getActionFactory()
|
AttributeController |
getAttributeController()
|
AttributePopupMenu |
getAttributeTablePopupMenu()
|
java.awt.datatransfer.Transferable |
getClipboardContents()
|
javax.swing.filechooser.FileFilter |
getFileFilter()
You may want to implement this... |
HookFactory |
getHookFactory()
|
java.awt.Component |
getLeftToolBar()
Overwrite this, if you have one. |
protected java.lang.String |
getLinkByFileChooser(javax.swing.filechooser.FileFilter fileFilter)
|
javax.swing.JToolBar |
getModeToolBar()
Overwrite this, if you have one. |
java.io.Reader |
getPatternReader()
|
java.util.Set |
getPlugins()
|
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()
|
java.util.Set |
getRegisteredMouseWheelEventHandler()
|
void |
increaseFontSize(MindMapNode node,
int increment)
|
void |
insertNodeInto(MindMapNode newNode,
MindMapNode parent,
int index)
|
void |
invokeHook(ModeControllerHook hook)
|
boolean |
isUndoAction()
undo in progress? |
void |
joinNodes(MindMapNode selectedNode,
java.util.List selectedNodes)
|
void |
load(java.lang.String xmlMapContents)
Load the given map (as String) instead of the currently opened map. |
void |
loadPatterns(java.io.Reader reader)
Creates the patterns actions (saved in array patterns), and the pure patterns list (saved in mPatternsList). |
void |
loadURL(java.lang.String relative)
Opens a link in * the opened map * another map * another file. |
java.lang.String |
marshall(freemind.controller.actions.generated.instance.XmlAction action)
|
void |
moveNodePosition(MindMapNode node,
int parentVGap,
int hGap,
int shiftY)
Moves the node to a new position. |
void |
moveNodes(MindMapNode selected,
java.util.List selecteds,
int direction)
moves selected and selecteds (if they are child of the same parent and adjacent) in the direction specified (up = -1, down = 1). |
MapAdapter |
newModel(ModeController modeController)
You _must_ implement this if you use one of the following actions: OpenAction, NewMapAction. |
MindMapNode |
newNode(java.lang.Object userObject,
MindMap map)
|
void |
nodeChanged(MindMapNode n)
Currently, this method is called by the mapAdapter. |
void |
nodeStyleChanged(MindMapNode node)
|
void |
onSelectHook(NodeView n)
Is called when a node is selected. |
void |
paste(MindMapNode node,
MindMapNode parent)
|
void |
paste(java.awt.datatransfer.Transferable t,
MindMapNode parent)
|
boolean |
paste(java.awt.datatransfer.Transferable t,
MindMapNode target,
boolean asSibling,
boolean isLeft)
|
void |
plainClick(java.awt.event.MouseEvent e)
|
void |
processMenuCategory(StructuredMenuHolder holder,
java.util.List list,
java.lang.String category)
|
void |
registerMouseWheelEventHandler(MindMapActions.MouseWheelEventHandler handler)
|
void |
registerPlugin(MindMapController.MindMapControllerPlugin pPlugin)
|
void |
removeAllIcons(MindMapNode node)
|
void |
removeAttribute(MindMapNode pNode,
int pPosition)
Removes the attribute at the given position |
int |
removeLastIcon(MindMapNode node)
|
void |
removeNodeFromParent(MindMapNode selectedNode)
|
void |
removeReference(MindMapLink arrowLink)
|
void |
repaintMap()
|
static void |
saveHTML(java.util.List mindMapNodes,
java.io.Writer fileout)
|
static void |
saveHTML(MindMapNodeModel rootNodeOfBranch,
java.io.File file)
|
void |
select(NodeView node)
Single selection: the node is the only one selected after calling this method. |
void |
selectBranch(NodeView selected,
boolean extend)
|
void |
selectMultipleNodes(MindMapNode focussed,
java.util.Collection selecteds)
|
void |
selectMultipleNodes(NodeView focussed,
java.util.Collection selecteds)
|
protected void |
setAllActions(boolean enabled)
Enabled/Disabled all actions that are dependent on whether there is a map open or not. |
void |
setArrowLinkColor(MindMapLink arrowLink,
java.awt.Color color)
|
void |
setArrowLinkEndPoints(MindMapArrowLink link,
java.awt.Point startPoint,
java.awt.Point endPoint)
|
void |
setAttribute(MindMapNode pNode,
int pPosition,
Attribute pAttribute)
|
void |
setBold(MindMapNode node,
boolean bolded)
|
void |
setClipboardContents(java.awt.datatransfer.Transferable t)
|
void |
setCloud(MindMapNode node,
boolean enable)
|
void |
setCloudColor(MindMapNode node,
java.awt.Color color)
|
void |
setEdgeColor(MindMapNode node,
java.awt.Color color)
|
void |
setEdgeStyle(MindMapNode node,
java.lang.String style)
|
void |
setEdgeWidth(MindMapNode node,
int width)
The widths range from -1 (for equal to parent) to 0 (thin), 1, 2, 4, 8. |
void |
setFolded(MindMapNode node,
boolean folded)
The position of this method is an exception. |
void |
setFontFamily(MindMapNode node,
java.lang.String fontFamilyValue)
|
void |
setFontSize(MindMapNode node,
java.lang.String fontSizeValue)
|
protected void |
setImageByFileChooser()
|
void |
setItalic(MindMapNode node,
boolean isItalic)
|
void |
setLink(MindMapNode node,
java.lang.String link)
Adds a textual hyperlink to a node (e.g. http:/freemind.sourceforge.net) |
protected void |
setLinkByFileChooser()
|
void |
setNewNodeCreator(MindMapController.NewNodeCreator creator)
|
void |
setNodeBackgroundColor(MindMapNode node,
java.awt.Color color)
|
void |
setNodeColor(MindMapNode node,
java.awt.Color color)
|
void |
setNodeStyle(MindMapNode node,
java.lang.String style)
|
void |
setNodeText(MindMapNode selected,
java.lang.String newText)
|
void |
setNoteText(MindMapNode node,
java.lang.String text)
|
void |
setToolTip(MindMapNode node,
java.lang.String key,
java.lang.String value)
|
void |
shutdownController()
|
void |
splitNode(MindMapNode node,
int caretPosition,
java.lang.String newText)
|
void |
startupController()
This method is called after and before a change of the map module. |
void |
storeDialogPositions(javax.swing.JDialog dialog,
freemind.controller.actions.generated.instance.WindowConfigurationStorage pStorage,
java.lang.String window_preference_storage_property)
|
void |
toggleFolded()
Switches the folding state of all selected nodes. |
freemind.controller.actions.generated.instance.XmlAction |
unMarshall(java.lang.String inputString)
|
void |
updateMenus(StructuredMenuHolder holder)
Use this method to get menus to the screen. |
freemind.controller.actions.generated.instance.MenuStructure |
updateMenusFromXml(java.io.InputStream in)
|
protected void |
updateNode(MindMapNode node)
Overwrite this method to perform additional operations to an node update. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface freemind.modes.mindmapmode.actions.MindMapActions |
|---|
getRootNode, invokeHooksRecursively, nodeRefresh, nodeStructureChanged |
| Field Detail |
|---|
public ApplyPatternAction[] patterns
public javax.swing.Action newMap
public javax.swing.Action open
public javax.swing.Action save
public javax.swing.Action saveAs
public javax.swing.Action exportToHTML
public javax.swing.Action exportBranchToHTML
public javax.swing.Action editLong
public javax.swing.Action editAttributes
protected AssignAttributeDialog assignAttributeDialog
public javax.swing.Action assignAttributes
public javax.swing.Action newSibling
public javax.swing.Action newPreviousSibling
public javax.swing.Action setLinkByFileChooser
public javax.swing.Action setImageByFileChooser
public javax.swing.Action followLink
public javax.swing.Action exportBranch
public javax.swing.Action importBranch
public javax.swing.Action importLinkedBranch
public javax.swing.Action importLinkedBranchWithoutRoot
public javax.swing.Action showAttributeManagerAction
public javax.swing.Action propertyAction
public javax.swing.Action increaseNodeFont
public javax.swing.Action decreaseNodeFont
public UndoAction undo
public RedoAction redo
public CopyAction copy
public javax.swing.Action copySingle
public CutAction cut
public PasteAction paste
public BoldAction bold
public ItalicAction italic
public UnderlinedAction underlined
public FontSizeAction fontSize
public FontFamilyAction fontFamily
public NodeColorAction nodeColor
public EditAction edit
public NewChildAction newChild
public DeleteChildAction deleteChild
public ToggleFoldedAction toggleFolded
public ToggleChildrenFoldedAction toggleChildrenFolded
public UseRichFormattingAction useRichFormatting
public UsePlainTextAction usePlainText
public NodeUpAction nodeUp
public NodeDownAction nodeDown
public EdgeColorAction edgeColor
public EdgeWidthAction EdgeWidth_WIDTH_PARENT
public EdgeWidthAction EdgeWidth_WIDTH_THIN
public EdgeWidthAction EdgeWidth_1
public EdgeWidthAction EdgeWidth_2
public EdgeWidthAction EdgeWidth_4
public EdgeWidthAction EdgeWidth_8
public EdgeWidthAction[] edgeWidths
public EdgeStyleAction EdgeStyle_linear
public EdgeStyleAction EdgeStyle_bezier
public EdgeStyleAction EdgeStyle_sharp_linear
public EdgeStyleAction EdgeStyle_sharp_bezier
public EdgeStyleAction[] edgeStyles
public NodeColorBlendAction nodeColorBlend
public NodeStyleAction fork
public NodeStyleAction bubble
public CloudAction cloud
public CloudColorAction cloudColor
public AddArrowLinkAction addArrowLinkAction
public RemoveArrowLinkAction removeArrowLinkAction
public ColorArrowLinkAction colorArrowLinkAction
public ChangeArrowsInArrowLinkAction changeArrowsInArrowLinkAction
public NodeBackgroundColorAction nodeBackgroundColor
public NodeBackgroundColorAction.RemoveNodeBackgroundColorAction removeNodeBackgroundColor
public IconAction unknownIconAction
public RemoveIconAction removeLastIconAction
public RemoveAllIconsAction removeAllIconsAction
public SetLinkByTextFieldAction setLinkByTextField
public AddLocalLinkAction addLocalLinkAction
public GotoLinkNodeAction gotoLinkNodeAction
public JoinNodesAction joinNodes
public MoveNodeAction moveNodeAction
public ImportExplorerFavoritesAction importExplorerFavorites
public ImportFolderStructureAction importFolderStructure
public ChangeArrowLinkEndPoints changeArrowLinkEndPoints
public FindAction find
public FindAction.FindNextAction findNext
public NodeHookAction nodeHookAction
public RevertAction revertAction
public SelectBranchAction selectBranchAction
public SelectAllAction selectAllAction
public java.util.Vector iconActions
public NodeHookUndoableContentActor undoableHookContentActor
| Constructor Detail |
|---|
public MindMapController(Mode mode)
| Method Detail |
|---|
public java.io.Reader getPatternReader()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
java.io.IOExceptionpublic boolean isUndoAction()
MindMapActions
isUndoAction in interface MindMapActionspublic void load(java.lang.String xmlMapContents)
MindMapActions
load in interface MindMapActions
public void loadPatterns(java.io.Reader reader)
throws java.lang.Exception
java.lang.Exceptionpublic void startupController()
startupController in interface ModeControllerstartupController in class ControllerAdapterpublic void shutdownController()
shutdownController in interface ModeControllershutdownController in class ControllerAdapterpublic MapAdapter newModel(ModeController modeController)
ControllerAdapter
newModel in class ControllerAdaptermodeController - TODOpublic javax.swing.filechooser.FileFilter getFileFilter()
ControllerAdapter
getFileFilter in class ControllerAdapterpublic void nodeChanged(MindMapNode n)
ControllerAdapter
nodeChanged in interface MindMapActionsnodeChanged in interface ModeControllernodeChanged in class ControllerAdapterpublic void onSelectHook(NodeView n)
ModeController
onSelectHook in interface ModeControlleronSelectHook in class ControllerAdapterpublic void setNewNodeCreator(MindMapController.NewNodeCreator creator)
public MindMapNode newNode(java.lang.Object userObject,
MindMap map)
newNode in class ControllerAdapterpublic void updateMenus(StructuredMenuHolder holder)
ModeController
updateMenus in interface ModeController
public void addIconsToMenu(StructuredMenuHolder holder,
java.lang.String iconMenuString)
public void createPatternSubMenu(StructuredMenuHolder holder,
java.lang.String formatMenuString)
public freemind.controller.actions.generated.instance.MenuStructure updateMenusFromXml(java.io.InputStream in)
public void processMenuCategory(StructuredMenuHolder holder,
java.util.List list,
java.lang.String category)
public javax.swing.JPopupMenu getPopupMenu()
getPopupMenu in interface ModeControllerpublic javax.swing.JPopupMenu getPopupForModel(java.lang.Object obj)
getPopupForModel in interface ModeControllergetPopupForModel in class ControllerAdapterpublic javax.swing.JToolBar getModeToolBar()
ControllerAdapter
getModeToolBar in interface ModeControllergetModeToolBar in class ControllerAdapterpublic java.awt.Component getLeftToolBar()
ControllerAdapter
getLeftToolBar in interface ModeControllergetLeftToolBar in class ControllerAdapterprotected void setAllActions(boolean enabled)
setAllActions in class ControllerAdapter
public void setBold(MindMapNode node,
boolean bolded)
setBold in interface MindMapActions
public void setItalic(MindMapNode node,
boolean isItalic)
setItalic in interface MindMapActions
public void setCloud(MindMapNode node,
boolean enable)
setCloud in interface MindMapActions
public void setCloudColor(MindMapNode node,
java.awt.Color color)
setCloudColor in interface MindMapActions
public void setFontSize(MindMapNode node,
java.lang.String fontSizeValue)
setFontSize in interface MindMapActions
public void increaseFontSize(MindMapNode node,
int increment)
increaseFontSize in interface MindMapActions
public void setFontFamily(MindMapNode node,
java.lang.String fontFamilyValue)
setFontFamily in interface MindMapActions
public void setNodeColor(MindMapNode node,
java.awt.Color color)
setNodeColor in interface MindMapActions
public void setNodeBackgroundColor(MindMapNode node,
java.awt.Color color)
setNodeBackgroundColor in interface MindMapActionspublic void blendNodeColor(MindMapNode node)
blendNodeColor in interface MindMapActions
public void setEdgeColor(MindMapNode node,
java.awt.Color color)
setEdgeColor in interface MindMapActions
public void applyPattern(MindMapNode node,
java.lang.String patternName)
applyPattern in interface MindMapActionspatternName - is one of the names. They can be received using
the patterns list of ApplyPatternActions from the MindMapController. Each action
has a getPattern() method and the pattern has a getName() method ...
public void applyPattern(MindMapNode node,
freemind.controller.actions.generated.instance.Pattern pattern)
applyPattern in interface MindMapActions
public void addIcon(MindMapNode node,
MindIcon icon)
MindMapActions
addIcon in interface MindMapActionspublic void removeAllIcons(MindMapNode node)
removeAllIcons in interface MindMapActionspublic int removeLastIcon(MindMapNode node)
removeLastIcon in interface MindMapActions
public void addLink(MindMapNode source,
MindMapNode target)
MindMapActions
addLink in interface MindMapActionspublic void removeReference(MindMapLink arrowLink)
removeReference in interface MindMapActions
public void setArrowLinkColor(MindMapLink arrowLink,
java.awt.Color color)
setArrowLinkColor in interface MindMapActions
public void changeArrowsOfArrowLink(MindMapArrowLinkModel arrowLink,
boolean hasStartArrow,
boolean hasEndArrow)
changeArrowsOfArrowLink in interface MindMapActions
public void setArrowLinkEndPoints(MindMapArrowLink link,
java.awt.Point startPoint,
java.awt.Point endPoint)
setArrowLinkEndPoints in interface MindMapActions
public void setLink(MindMapNode node,
java.lang.String link)
MindMapActions
setLink in interface MindMapActions
public void setToolTip(MindMapNode node,
java.lang.String key,
java.lang.String value)
setToolTip in interface MindMapActionskey - key value patterns is used to ensure, that more than one tooltip can be displayed.value - null if you want to delete this tooltip.
public void edit(java.awt.event.KeyEvent e,
boolean addNew,
boolean editLong)
MindMapActions
edit in interface MindMapActions
public void setNodeText(MindMapNode selected,
java.lang.String newText)
setNodeText in interface MindMapActions
public void setEdgeWidth(MindMapNode node,
int width)
MindMapActions
setEdgeWidth in interface MindMapActions
public void setEdgeStyle(MindMapNode node,
java.lang.String style)
setEdgeStyle in interface MindMapActions
public void setNodeStyle(MindMapNode node,
java.lang.String style)
setNodeStyle in interface MindMapActions
public java.awt.datatransfer.Transferable copy(MindMapNode node,
boolean saveInvisible)
copy in interface ModeControllercopy in class ControllerAdapterpublic java.awt.datatransfer.Transferable cut()
cut in interface MindMapActionspublic java.awt.datatransfer.Transferable cut(java.util.List nodeList)
cut in interface MindMapActionsnodeList - a list of MindMapNode elements
public void paste(java.awt.datatransfer.Transferable t,
MindMapNode parent)
paste in interface MindMapActions
public boolean paste(java.awt.datatransfer.Transferable t,
MindMapNode target,
boolean asSibling,
boolean isLeft)
paste in interface MindMapActionsisLeft - determines, whether or not the node is placed on the left or right.
public void paste(MindMapNode node,
MindMapNode parent)
paste in interface MindMapActions
public MindMapNode addNew(MindMapNode target,
int newNodeMode,
java.awt.event.KeyEvent e)
addNew in interface MindMapActions
public MindMapNode addNewNode(MindMapNode parent,
int index,
boolean newNodeIsLeft)
MindMapActions
addNewNode in interface MindMapActionsnewNodeIsLeft - here, normally parent.isLeft() or null is used.
public void deleteNode(MindMapNode selectedNode)
deleteNode in interface MindMapActionspublic void toggleFolded()
MindMapActions
toggleFolded in interface MindMapActions
public void setFolded(MindMapNode node,
boolean folded)
ModeController
setFolded in interface MindMapActionssetFolded in interface ModeController
public void moveNodes(MindMapNode selected,
java.util.List selecteds,
int direction)
MindMapActions
moveNodes in interface MindMapActions
public void joinNodes(MindMapNode selectedNode,
java.util.List selectedNodes)
joinNodes in interface MindMapActionsprotected void setLinkByFileChooser()
protected void setImageByFileChooser()
protected java.lang.String getLinkByFileChooser(javax.swing.filechooser.FileFilter fileFilter)
public void loadURL(java.lang.String relative)
ModeController
loadURL in interface ModeControllerloadURL in class ControllerAdapter
public void addHook(MindMapNode focussed,
java.util.List selecteds,
java.lang.String hookName)
addHook in interface MindMapActions
public void moveNodePosition(MindMapNode node,
int parentVGap,
int hGap,
int shiftY)
MindMapActions
moveNodePosition in interface MindMapActionspublic void plainClick(java.awt.event.MouseEvent e)
plainClick in interface ModeControllerpublic HookFactory getHookFactory()
getHookFactory in interface ModeController
public NodeHook createNodeHook(java.lang.String hookName,
MindMapNode node,
MindMap map)
MindMapActions
createNodeHook in interface MindMapActionsmap - may be null if not known. But it has to be set afterwards!public void invokeHook(ModeControllerHook hook)
invokeHook in interface MindMapActionspublic ActionFactory getActionFactory()
getActionFactory in interface MindMapActions
public static void saveHTML(MindMapNodeModel rootNodeOfBranch,
java.io.File file)
throws java.io.IOException
java.io.IOException
public static void saveHTML(java.util.List mindMapNodes,
java.io.Writer fileout)
throws java.io.IOException
java.io.IOException
public void splitNode(MindMapNode node,
int caretPosition,
java.lang.String newText)
splitNode in interface MindMapActionsprotected void updateNode(MindMapNode node)
ControllerAdapter
updateNode in class ControllerAdapterpublic void doubleClick(java.awt.event.MouseEvent e)
doubleClick in interface ModeControllerpublic void select(NodeView node)
ModeController
select in interface ModeControllerselect in class ControllerAdapter
public void selectMultipleNodes(NodeView focussed,
java.util.Collection selecteds)
public void selectMultipleNodes(MindMapNode focussed,
java.util.Collection selecteds)
public void selectBranch(NodeView selected,
boolean extend)
public boolean extendSelection(java.awt.event.MouseEvent e)
ModeController
extendSelection in interface ModeControllerpublic void registerMouseWheelEventHandler(MindMapActions.MouseWheelEventHandler handler)
registerMouseWheelEventHandler in interface MindMapActionspublic void deRegisterMouseWheelEventHandler(MindMapActions.MouseWheelEventHandler handler)
deRegisterMouseWheelEventHandler in interface MindMapActionspublic java.util.Set getRegisteredMouseWheelEventHandler()
getRegisteredMouseWheelEventHandler in class ControllerAdapterpublic java.lang.String marshall(freemind.controller.actions.generated.instance.XmlAction action)
marshall in interface MindMapActionspublic freemind.controller.actions.generated.instance.XmlAction unMarshall(java.lang.String inputString)
unMarshall in interface MindMapActions
public void storeDialogPositions(javax.swing.JDialog dialog,
freemind.controller.actions.generated.instance.WindowConfigurationStorage pStorage,
java.lang.String window_preference_storage_property)
public freemind.controller.actions.generated.instance.WindowConfigurationStorage decorateDialog(javax.swing.JDialog dialog,
java.lang.String window_preference_storage_property)
public AttributeController getAttributeController()
getAttributeController in interface ModeControllergetAttributeController in class ControllerAdapterpublic AttributePopupMenu getAttributeTablePopupMenu()
public XMLElement createXMLElement()
createXMLElement in class ControllerAdapter
public void setAttribute(MindMapNode pNode,
int pPosition,
Attribute pAttribute)
setAttribute in interface MindMapActions
public void removeAttribute(MindMapNode pNode,
int pPosition)
MindMapActions
removeAttribute in interface MindMapActionspPosition - the position to delete.
public int addAttribute(MindMapNode node,
Attribute pAttribute)
MindMapActions
addAttribute in interface MindMapActionsnode - to which the attribute is addedpAttribute - itself
public int editAttribute(MindMapNode pNode,
java.lang.String pName,
java.lang.String pNewValue)
MindMapActions
editAttribute in interface MindMapActionspNode - to which the attribute is associatedpName - the name of the attributepNewValue - its new value
public void insertNodeInto(MindMapNode newNode,
MindMapNode parent,
int index)
insertNodeInto in class ControllerAdapterpublic void removeNodeFromParent(MindMapNode selectedNode)
public void nodeStyleChanged(MindMapNode node)
public void repaintMap()
public void clearNodeContents(MindMapNode pNode)
MindMapActions
clearNodeContents in interface MindMapActions
public freemind.controller.actions.generated.instance.EditNoteToNodeAction createEditNoteToNodeAction(MindMapNode node,
java.lang.String text)
public void setNoteText(MindMapNode node,
java.lang.String text)
setNoteText in interface MindMapActionspublic void registerPlugin(MindMapController.MindMapControllerPlugin pPlugin)
public void deregisterPlugin(MindMapController.MindMapControllerPlugin pPlugin)
public java.util.Set getPlugins()
public java.awt.datatransfer.Transferable getClipboardContents()
public void setClipboardContents(java.awt.datatransfer.Transferable t)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||