freemind.modes
public class LinkRegistryAdapter extends Object implements MindMapLinkRegistry
| Nested Class Summary | |
|---|---|
| class | LinkRegistryAdapter.ID_BasicStateAdapter State parent interface. |
| class | LinkRegistryAdapter.ID_BlankAdapter This state interface expresses the state that a node is blank (i.e. without an id, normal state). |
| protected class | LinkRegistryAdapter.ID_RegisteredAdapter This state interface expresses the state that a node has an ID. |
| protected abstract class | LinkRegistryAdapter.ID_UsedStateAdapter This state interface expresses the state that a node has an ID, but is abstract. |
| Field Summary | |
|---|---|
| protected HashMap | IDToCuttedLinks |
| protected HashMap | IDToLinks |
| protected HashMap | TargetToID |
| Constructor Summary | |
|---|---|
| LinkRegistryAdapter() | |
| Method Summary | |
|---|---|
| void | clearCuttedNodeBuffer() Clears the set of recent cutted nodes. |
| void | cutNode(MindMapNode target) |
| void | deregisterLink(MindMapLink link) |
| void | deregisterLinkTarget(MindMapNode target) Exception if there are still targets registered. |
| protected String | generateUniqueID(String proposedID) |
| Vector | getAllLinks(MindMapNode node) |
| Vector | getAllLinksFromMe(MindMapNode source) |
| Vector | getAllLinksIntoMe(MindMapNode target) |
| Vector | getAllSources(MindMapNode target) Returns a Vector of Nodes that point to the given target node. |
| Vector | getCuttedNode(String oldTargetID) |
| protected String | getIDString(MindMapNode node) |
| String | getLabel(MindMapNode target) |
| ID_BasicState | getState(MindMapNode node) |
| MindMapNode | getTargetForID(String ID) |
| void | registerLink(MindMapLink link) Method to keep track of the sources associated to a target node. |
| ID_Registered | registerLinkTarget(MindMapNode target) The main method. |
| ID_Registered | registerLinkTarget(MindMapNode target, String proposedID) |
Returns: returns all links from this node.
Returns: returns all links to this node.
Returns: returns all links that have been cutted out recently.