freemind.modes.browsemode
Class NodeNoteViewer

java.lang.Object
  extended by freemind.modes.common.plugins.NodeNoteBase
      extended by freemind.modes.browsemode.NodeNoteViewer
All Implemented Interfaces:
ModeController.NodeSelectionListener

public class NodeNoteViewer
extends NodeNoteBase
implements ModeController.NodeSelectionListener

Author:
foltin

Field Summary
 
Fields inherited from class freemind.modes.common.plugins.NodeNoteBase
NODE_NOTE_ICON
 
Constructor Summary
NodeNoteViewer(ControllerAdapter pBrowseController)
           
 
Method Summary
protected  javax.swing.JComponent getNoteViewerComponent(java.lang.String text)
           
 void onDeselectHook(NodeView pNode)
          Is sent when a node is deselected.
 void onSaveNode(MindMapNode pNode)
          Is issued before a node is saved (eg. to save its notes, too, even if the notes is currently edited).
 void onSelectHook(NodeView pNode)
          Is sent when a node is selected.
 void onUpdateNodeHook(MindMapNode pNode)
          Sent, if a node is changed
protected  void setStateIcon(MindMapNode node, boolean enabled)
          Copied from NodeNoteRegistration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeNoteViewer

public NodeNoteViewer(ControllerAdapter pBrowseController)
Method Detail

getNoteViewerComponent

protected javax.swing.JComponent getNoteViewerComponent(java.lang.String text)

onDeselectHook

public void onDeselectHook(NodeView pNode)
Description copied from interface: ModeController.NodeSelectionListener
Is sent when a node is deselected.

Specified by:
onDeselectHook in interface ModeController.NodeSelectionListener

onSelectHook

public void onSelectHook(NodeView pNode)
Description copied from interface: ModeController.NodeSelectionListener
Is sent when a node is selected.

Specified by:
onSelectHook in interface ModeController.NodeSelectionListener

onSaveNode

public void onSaveNode(MindMapNode pNode)
Description copied from interface: ModeController.NodeSelectionListener
Is issued before a node is saved (eg. to save its notes, too, even if the notes is currently edited).

Specified by:
onSaveNode in interface ModeController.NodeSelectionListener

onUpdateNodeHook

public void onUpdateNodeHook(MindMapNode pNode)
Description copied from interface: ModeController.NodeSelectionListener
Sent, if a node is changed

Specified by:
onUpdateNodeHook in interface ModeController.NodeSelectionListener

setStateIcon

protected void setStateIcon(MindMapNode node,
                            boolean enabled)
Copied from NodeNoteRegistration.