public class NodeNoteViewer extends NodeNoteBase implements ModeController.NodeSelectionListener
NODE_NOTE_ICON| Constructor and Description |
|---|
NodeNoteViewer(ControllerAdapter pBrowseController) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.swing.JComponent |
getNoteViewerComponent(java.lang.String text) |
void |
onFocusNode(NodeView pNode)
Is sent when a node is focused (this means, that it is *the* selected node,
there may only be one!).
|
void |
onLostFocusNode(NodeView pNode)
Is sent when a node has lost its focus (see
onSelectHook()). |
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 |
onSelectionChange(NodeView pNode,
boolean pIsSelected)
Informs whether or not the node belongs to the group of selected
nodes (in contrast to the focused node above).
|
void |
onUpdateNodeHook(MindMapNode pNode)
Sent, if a node is changed
|
protected void |
setStateIcon(MindMapNode node,
boolean enabled)
Copied from NodeNoteRegistration.
|
public NodeNoteViewer(ControllerAdapter pBrowseController)
protected javax.swing.JComponent getNoteViewerComponent(java.lang.String text)
public void onLostFocusNode(NodeView pNode)
ModeController.NodeSelectionListeneronSelectHook()).onLostFocusNode in interface ModeController.NodeSelectionListenerpublic void onFocusNode(NodeView pNode)
ModeController.NodeSelectionListeneronFocusNode in interface ModeController.NodeSelectionListenerpublic void onSaveNode(MindMapNode pNode)
ModeController.NodeSelectionListeneronSaveNode in interface ModeController.NodeSelectionListenerpublic void onUpdateNodeHook(MindMapNode pNode)
ModeController.NodeSelectionListeneronUpdateNodeHook in interface ModeController.NodeSelectionListenerprotected void setStateIcon(MindMapNode node, boolean enabled)
public void onSelectionChange(NodeView pNode, boolean pIsSelected)
ModeController.NodeSelectionListeneronSelectionChange in interface ModeController.NodeSelectionListenerpIsSelected - true, if the node is selected now.