|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfreemind.modes.ControllerAdapter
Derive from this class to implement the Controller for your mode. Overload the methods you need for your data model, or use the defaults. There are some default Actions you may want to use for easy editing of your model. Take MindMapController as a sample.
Nested Class Summary | |
protected class |
ControllerAdapter.EditLongAction
|
protected class |
ControllerAdapter.FileOpener
|
protected class |
ControllerAdapter.FollowLinkAction
|
protected class |
ControllerAdapter.ModeControllerHookAction
|
protected class |
ControllerAdapter.nodesDepthComparator
This class sortes nodes by ascending depth of their paths to root. |
protected class |
ControllerAdapter.OpenAction
|
protected class |
ControllerAdapter.SaveAction
|
protected class |
ControllerAdapter.SaveAsAction
|
protected class |
ControllerAdapter.SetImageByFileChooserAction
|
protected class |
ControllerAdapter.SetLinkByFileChooserAction
|
Nested classes inherited from class freemind.modes.ModeController |
ModeController.MouseWheelEventHandler |
Constructor Summary | |
ControllerAdapter(Mode mode)
|
Method Summary | |
protected void |
add(javax.swing.JMenu menu,
javax.swing.Action action)
|
protected javax.swing.JMenuItem |
add(javax.swing.JMenu menu,
javax.swing.Action action,
java.lang.String keystroke)
|
protected javax.swing.JMenuItem |
add(StructuredMenuHolder holder,
java.lang.String category,
javax.swing.Action action,
java.lang.String keystroke)
|
protected javax.swing.JMenuItem |
addCheckBox(StructuredMenuHolder holder,
java.lang.String category,
javax.swing.Action action,
java.lang.String keystroke)
|
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 |
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,
Tools.BooleanHolder newNodeIsLeft)
Another variant of addNew. |
void |
anotherNodeSelected(MindMapNode n)
|
void |
applyPattern(MindMapNode node,
java.lang.String patternName)
|
void |
applyPattern(MindMapNode node,
StylePattern pattern)
|
protected boolean |
binOptionIsTrue(java.lang.String option)
|
void |
blendNodeColor(MindMapNode node)
|
void |
centerNode(MindMapNode node)
Node is displayed and selected as the only one selected. |
void |
changeArrowsOfArrowLink(MindMapArrowLinkModel arrowLink,
boolean hasStartArrow,
boolean hasEndArrow)
|
boolean |
close(boolean force)
Return false if user has canceled. |
NodeHook |
createNodeHook(java.lang.String hookName,
MindMapNode node,
MindMap map)
This is the only way to instanciate new Hooks. |
java.awt.datatransfer.Transferable |
cut()
|
java.awt.datatransfer.Transferable |
cut(java.util.List nodeList)
|
void |
deleteNode(MindMapNode selectedNode)
|
void |
deRegisterMouseWheelEventHandler(ModeController.MouseWheelEventHandler handler)
|
void |
displayNode(MindMapNode node)
Unfolds a node if necessary. |
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; |
boolean |
extendSelection(java.awt.event.MouseEvent e)
This extends the currently selected nodes. |
ActionFactory |
getActionFactory()
|
ObjectFactory |
getActionXmlFactory()
|
java.awt.datatransfer.Clipboard |
getClipboard()
|
Controller |
getController()
|
protected javax.swing.filechooser.FileFilter |
getFileFilter()
You may want to implement this... |
FreeMindMain |
getFrame()
|
protected java.lang.String |
getLinkByFileChooser(javax.swing.filechooser.FileFilter fileFilter)
|
java.lang.String |
getLinkShortText(MindMapNode node)
|
MapAdapter |
getMap()
|
protected MapModule |
getMapModule()
|
protected Mode |
getMode()
|
ControllerAdapter |
getModeController()
This was inserted by fc, 10.03.04 to enable all actions to refer to its controller easily. |
MapAdapter |
getModel()
|
NodeAdapter |
getNodeFromID(java.lang.String nodeID)
Given a node identifier, this method returns the corresponding node. |
java.lang.String |
getNodeID(MindMapNode selected)
Calling this method the map-unique identifier of the node is returned (and created before, if not present) |
javax.swing.JPopupMenu |
getPopupForModel(java.lang.Object obj)
Default implementation: no context menu. |
java.net.URL |
getResource(java.lang.String name)
|
MindMapNode |
getRootNode()
|
MindMapNode |
getSelected()
|
java.util.List |
getSelecteds()
fc, 24.1.2004: having two methods getSelecteds with different return values (linkedlists of models resp. |
java.util.List |
getSelectedsByDepth()
|
java.awt.Color |
getSelectionColor()
|
java.lang.String |
getText(java.lang.String textId)
Get text from resource file |
MapView |
getView()
|
void |
handleLoadingException(java.lang.Exception ex)
|
void |
increaseFontSize(MindMapNode node,
int increment)
|
void |
invokeHook(ModeControllerHook hook)
|
void |
invokeHooksRecursively(NodeAdapter node,
MindMap map)
|
boolean |
isBlocked()
|
boolean |
isUndoAction()
undo in progress? |
void |
joinNodes(MindMapNode selectedNode,
java.util.List selectedNodes)
|
void |
load(java.io.File file)
You may decide to overload this or take the default and implement the functionality in your MapModel (implements MindMap) |
void |
load(java.lang.String xmlMapContents)
Load the given map (as String) instead of the currently opened map. |
void |
loadURL()
|
void |
loadURL(java.lang.String relative)
|
java.lang.String |
marshall(XmlAction action)
|
void |
mouseWheelMoved(java.awt.event.MouseWheelEvent e)
|
void |
moveNodePosition(MindMapNode node,
int vGap,
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). |
MindMap |
newMap()
|
void |
newMap(MindMap mapModel)
|
MapAdapter |
newModel()
You _must_ implement this if you use one of the following actions: OpenAction, NewMapAction. |
protected MindMapNode |
newNode()
|
abstract MindMapNode |
newNode(java.lang.Object userObject)
|
void |
nodeChanged(MindMapNode node)
Currently, this method is called by the mapAdapter. |
void |
nodeRefresh(MindMapNode node)
This is nodeChanged without making the map dirty. |
void |
nodeStructureChanged(MindMapNode node)
|
void |
open()
|
void |
paste(MindMapNode node,
MindMapNode parent)
|
void |
paste(java.awt.datatransfer.Transferable t,
MindMapNode parent)
|
void |
paste(java.awt.datatransfer.Transferable t,
MindMapNode target,
boolean asSibling,
boolean isLeft)
|
void |
plainClick(java.awt.event.MouseEvent e)
|
void |
registerMouseWheelEventHandler(ModeController.MouseWheelEventHandler handler)
|
void |
removeAllIcons(MindMapNode node)
|
int |
removeLastIcon(MindMapNode node)
|
void |
removeReference(MindMapLink arrowLink)
|
boolean |
save()
|
boolean |
save(java.io.File file)
Return false is the action was cancelled, e.g. |
boolean |
saveAs()
Save as; return false is the action was cancelled |
void |
select(MindMapNode selected)
Single selection: the node is the only one selected after calling this method. |
void |
select(NodeView node)
Single selection: the node is the only one selected after calling this method. |
void |
selectBranch(MindMapNode selected,
boolean extend)
The branch that starts from selected is added to the selection. |
void |
selectMultipleNodes(MindMapNode focussed,
java.util.Collection selecteds)
Multiple selection. |
protected void |
setAllActions(boolean enabled)
Overwrite this to set all of your actions which are dependent on whether there is a map or not. |
void |
setArrowLinkColor(MindMapLink arrowLink,
java.awt.Color color)
|
void |
setArrowLinkEndPoints(MindMapArrowLink link,
java.awt.Point startPoint,
java.awt.Point endPoint)
|
void |
setBlocked(boolean isBlocked)
|
void |
setBold(MindMapNode node,
boolean bolded)
|
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)
|
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. |
protected void |
setLinkByFileChooser()
|
protected void |
setMode(Mode mode)
|
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 |
setToolTip(MindMapNode node,
java.lang.String key,
java.lang.String value)
|
void |
setVisible(boolean visible)
This method is used to hide the map "under" another opened map. |
void |
showPopupMenu(java.awt.event.MouseEvent e)
|
void |
shutdownController()
|
void |
sortNodesByDepth(java.util.List inPlaceList)
nodes with greater depth occur first. |
void |
splitNode(MindMapNode node,
int caretPosition,
java.lang.String newText)
|
void |
startupController()
|
void |
toggleFolded()
Switches the folding state of all selected nodes. |
XmlAction |
unMarshall(java.lang.String inputString)
|
protected void |
updateMapModuleName()
|
void |
updatePopupMenu(StructuredMenuHolder holder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface freemind.modes.ModeController |
getPopupMenu, updateMenus |
Field Detail |
public ApplyPatternAction[] patterns
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 EditAction edit
public NewChildAction newChild
public DeleteChildAction deleteChild
public ToggleFoldedAction toggleFolded
public ToggleChildrenFoldedAction toggleChildrenFolded
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 unknwonIconAction
public RemoveLastIconAction 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 NodeColorAction nodeColor
protected final freemind.modes.ControllerAdapter.ControllerPopupMenuListener popupListenerSingleton
public static final int NEW_CHILD_WITHOUT_FOCUS
public static final int NEW_CHILD
public static final int NEW_SIBLING_BEHIND
public static final int NEW_SIBLING_BEFORE
Constructor Detail |
public ControllerAdapter(Mode mode)
Method Detail |
public ActionFactory getActionFactory()
getActionFactory
in interface ModeController
public abstract MindMapNode newNode(java.lang.Object userObject)
newNode
in interface ModeController
userObject
- is typically a text.protected MindMapNode newNode()
public MapAdapter newModel()
protected javax.swing.filechooser.FileFilter getFileFilter()
public void nodeChanged(MindMapNode node)
nodeChanged
in interface ModeController
public void nodeRefresh(MindMapNode node)
MindMapActions
nodeRefresh
in interface MindMapActions
node
- public void nodeStructureChanged(MindMapNode node)
nodeStructureChanged
in interface MindMapActions
public boolean isUndoAction()
ModeController
isUndoAction
in interface ModeController
public void anotherNodeSelected(MindMapNode n)
anotherNodeSelected
in interface ModeController
public void doubleClick(java.awt.event.MouseEvent e)
doubleClick
in interface ModeController
public void plainClick(java.awt.event.MouseEvent e)
plainClick
in interface ModeController
public java.lang.String getText(java.lang.String textId)
ModeController
getText
in interface ModeController
protected boolean binOptionIsTrue(java.lang.String option)
public MindMap newMap()
newMap
in interface ModeController
public void newMap(MindMap mapModel)
public void load(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException, XMLParseException
load
in interface ModeController
java.io.FileNotFoundException
java.io.IOException
XMLParseException
public boolean save()
save
in interface ModeController
public void load(java.lang.String xmlMapContents)
MindMapActions
load
in interface MindMapActions
xmlMapContents
- public java.util.List getSelecteds()
getSelecteds
in interface ModeController
public java.util.List getSelectedsByDepth()
getSelectedsByDepth
in interface ModeController
public void sortNodesByDepth(java.util.List inPlaceList)
ModeController
sortNodesByDepth
in interface ModeController
inPlaceList
- the given list is sorted by reference.public boolean save(java.io.File file)
save
in interface ModeController
protected javax.swing.JMenuItem add(javax.swing.JMenu menu, javax.swing.Action action, java.lang.String keystroke)
protected javax.swing.JMenuItem add(StructuredMenuHolder holder, java.lang.String category, javax.swing.Action action, java.lang.String keystroke)
keystroke
- can be null, if no keystroke should be assigned.
protected javax.swing.JMenuItem addCheckBox(StructuredMenuHolder holder, java.lang.String category, javax.swing.Action action, java.lang.String keystroke)
keystroke
- can be null, if no keystroke should be assigned.
protected void add(javax.swing.JMenu menu, javax.swing.Action action)
public void open()
open
in interface ModeController
public void handleLoadingException(java.lang.Exception ex)
public boolean saveAs()
saveAs
in interface ModeController
public boolean close(boolean force)
close
in interface ModeController
public void setVisible(boolean visible)
ModeController
setVisible
in interface ModeController
protected void setAllActions(boolean enabled)
public void showPopupMenu(java.awt.event.MouseEvent e)
showPopupMenu
in interface ModeController
public javax.swing.JPopupMenu getPopupForModel(java.lang.Object obj)
getPopupForModel
in interface ModeController
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
mouseWheelMoved
in interface ModeController
public void registerMouseWheelEventHandler(ModeController.MouseWheelEventHandler handler)
registerMouseWheelEventHandler
in interface ModeController
public void deRegisterMouseWheelEventHandler(ModeController.MouseWheelEventHandler handler)
deRegisterMouseWheelEventHandler
in interface ModeController
public boolean isBlocked()
isBlocked
in interface ModeController
public void setBlocked(boolean isBlocked)
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 MindMapActions
public 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 MindMapActions
patternName
- is one of the names. They can be received using
the patterns list of ApplyPatternActions from the ControllerAdapter. Each action
has a getPattern() method and the pattern has a getName() method ...public void applyPattern(MindMapNode node, StylePattern pattern)
applyPattern
in interface MindMapActions
public void addIcon(MindMapNode node, MindIcon icon)
MindMapActions
addIcon
in interface MindMapActions
public void removeAllIcons(MindMapNode node)
removeAllIcons
in interface MindMapActions
public int removeLastIcon(MindMapNode node)
removeLastIcon
in interface MindMapActions
public void addLink(MindMapNode source, MindMapNode target)
MindMapActions
addLink
in interface MindMapActions
public 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
node
- link
- public void setToolTip(MindMapNode node, java.lang.String key, java.lang.String value)
setToolTip
in interface MindMapActions
node
- key
- 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 ModeController
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 cut()
cut
in interface MindMapActions
public java.awt.datatransfer.Transferable cut(java.util.List nodeList)
cut
in interface MindMapActions
public void paste(java.awt.datatransfer.Transferable t, MindMapNode parent)
paste
in interface MindMapActions
public void paste(java.awt.datatransfer.Transferable t, MindMapNode target, boolean asSibling, boolean isLeft)
paste
in interface MindMapActions
isLeft
- 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, Tools.BooleanHolder newNodeIsLeft)
MindMapActions
addNewNode
in interface MindMapActions
newNodeIsLeft
- here, normally parent.isLeft() or null is used.
public void deleteNode(MindMapNode selectedNode)
deleteNode
in interface MindMapActions
public void toggleFolded()
MindMapActions
toggleFolded
in interface MindMapActions
public void setFolded(MindMapNode node, boolean folded)
setFolded
in interface MindMapActions
node
- folded
- public void displayNode(MindMapNode node)
MindMapActions
displayNode
in interface MindMapActions
node
- public void centerNode(MindMapNode node)
MindMapActions
centerNode
in interface MindMapActions
node
- public java.lang.String getLinkShortText(MindMapNode node)
getLinkShortText
in interface MindMapActions
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 MindMapActions
protected void setLinkByFileChooser()
protected void setImageByFileChooser()
protected java.lang.String getLinkByFileChooser(javax.swing.filechooser.FileFilter fileFilter)
public void loadURL(java.lang.String relative)
public void loadURL()
protected Mode getMode()
protected void setMode(Mode mode)
protected MapModule getMapModule()
public MapAdapter getMap()
getMap
in interface ModeController
public MindMapNode getRootNode()
getRootNode
in interface MindMapActions
public java.net.URL getResource(java.lang.String name)
public Controller getController()
getController
in interface ModeController
public FreeMindMain getFrame()
getFrame
in interface ModeController
public ControllerAdapter getModeController()
public MapAdapter getModel()
public MapView getView()
getView
in interface ModeController
protected void updateMapModuleName()
public NodeAdapter getNodeFromID(java.lang.String nodeID)
ModeController
getNodeFromID
in interface ModeController
public java.lang.String getNodeID(MindMapNode selected)
ModeController
getNodeID
in interface ModeController
public MindMapNode getSelected()
getSelected
in interface ModeController
public boolean extendSelection(java.awt.event.MouseEvent e)
ModeController
extendSelection
in interface ModeController
public void select(NodeView node)
MindMapActions
select
in interface MindMapActions
node
- public void select(MindMapNode selected)
MindMapActions
select
in interface MindMapActions
selected
- public void selectMultipleNodes(MindMapNode focussed, java.util.Collection selecteds)
MindMapActions
selectMultipleNodes
in interface MindMapActions
focussed
- will be focussed afterwardsselecteds
- are all nodes that are selected (the focussed has not to be contained).public void selectBranch(MindMapNode selected, boolean extend)
MindMapActions
selectBranch
in interface MindMapActions
public void invokeHook(ModeControllerHook hook)
invokeHook
in interface ModeController
public void invokeHooksRecursively(NodeAdapter node, MindMap map)
invokeHooksRecursively
in interface ModeController
public NodeHook createNodeHook(java.lang.String hookName, MindMapNode node, MindMap map)
ModeController
createNodeHook
in interface ModeController
map
- may be null if not known. But it has to be set afterwards!public void addHook(MindMapNode focussed, java.util.List selecteds, java.lang.String hookName)
addHook
in interface MindMapActions
public java.lang.String marshall(XmlAction action)
marshall
in interface ModeController
public XmlAction unMarshall(java.lang.String inputString)
unMarshall
in interface ModeController
public ObjectFactory getActionXmlFactory()
getActionXmlFactory
in interface ModeController
public java.awt.Color getSelectionColor()
getSelectionColor
in interface ModeController
public java.awt.datatransfer.Clipboard getClipboard()
getClipboard
in interface ModeController
public void updatePopupMenu(StructuredMenuHolder holder)
updatePopupMenu
in interface ModeController
public void shutdownController()
shutdownController
in interface ModeController
public void startupController()
startupController
in interface ModeController
public void splitNode(MindMapNode node, int caretPosition, java.lang.String newText)
splitNode
in interface MindMapActions
node
- newText
- public void moveNodePosition(MindMapNode node, int vGap, int hGap, int shiftY)
MindMapActions
moveNodePosition
in interface MindMapActions
node
- vGap
- hGap
- shiftY
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |