freemind.extensions
Interface PermanentNodeHook

All Superinterfaces:
MindMapHook, NodeHook
All Known Subinterfaces:
StatefulNodeHook
All Known Implementing Classes:
BrowseReminderHook, PermanentMindMapNodeHookAdapter, PermanentNodeHookAdapter, PermanentNodeHookSubstituteUnknown, ReminderHookBase, StatefulMindMapNodeHookAdapter

public interface PermanentNodeHook
extends NodeHook

Author:
foltin To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Nested Class Summary
 
Nested classes/interfaces inherited from interface freemind.extensions.MindMapHook
MindMapHook.PluginBaseClassSearcher
 
Method Summary
 void loadFrom(XMLElement child)
           
 void onAddChild(MindMapNode addedChildNode)
          Is called if the addedChildNode is inserted as a direct child of the node, this hook is attached to.
 void onAddChildren(MindMapNode addedChild)
          This method is called, if a child is added to me or to any of my children.
 void onDeselectHook(NodeView nodeView)
           
 void onNewChild(MindMapNode newChildNode)
          Is only called, if a new nodes is inserted as a child.
 void onRemoveChild(MindMapNode oldChildNode)
           
 void onRemoveChildren(MindMapNode oldChildNode, MindMapNode oldDad)
          This method is called, if a child is removed to me or to any of my children.
 void onSelectHook(NodeView nodeView)
           
 void onUpdateChildrenHook(MindMapNode updatedNode)
          If any of my children is updated, I get this notification.
 void onUpdateNodeHook()
          If the node I belong to is changed, I get this notification.
 void onViewCreatedHook(NodeView nodeView)
           
 void onViewRemovedHook(NodeView nodeView)
           
 void save(XMLElement hookElement)
           
 
Methods inherited from interface freemind.extensions.NodeHook
invoke, setMap, setNode
 
Methods inherited from interface freemind.extensions.MindMapHook
getName, getPluginBaseClass, getResourceString, setController, setName, setPluginBaseClass, setProperties, shutdownMapHook, startupMapHook
 

Method Detail

onSelectHook

void onSelectHook(NodeView nodeView)

onDeselectHook

void onDeselectHook(NodeView nodeView)

onViewCreatedHook

void onViewCreatedHook(NodeView nodeView)

onViewRemovedHook

void onViewRemovedHook(NodeView nodeView)

onUpdateNodeHook

void onUpdateNodeHook()
If the node I belong to is changed, I get this notification.


onAddChild

void onAddChild(MindMapNode addedChildNode)
Is called if the addedChildNode is inserted as a direct child of the node, this hook is attached to. The cases in which this method is called contain new nodes, paste, move, etc. Ah, don't call propagate in this method, as paste introduces nodes with the hook and you'll have them twice, ... see onNewChild


onNewChild

void onNewChild(MindMapNode newChildNode)
Is only called, if a new nodes is inserted as a child. Remark: In this case onAddChild is called too and moreover *before* this method. see onAddChild.


onAddChildren

void onAddChildren(MindMapNode addedChild)
This method is called, if a child is added to me or to any of my children. (See onUpdateChildrenHook)


onRemoveChild

void onRemoveChild(MindMapNode oldChildNode)

onRemoveChildren

void onRemoveChildren(MindMapNode oldChildNode,
                      MindMapNode oldDad)
This method is called, if a child is removed to me or to any of my children. (See onUpdateChildrenHook)

Parameters:
oldDad - TODO

onUpdateChildrenHook

void onUpdateChildrenHook(MindMapNode updatedNode)
If any of my children is updated, I get this notification.


save

void save(XMLElement hookElement)

loadFrom

void loadFrom(XMLElement child)