Interface IMindMapPanel
- All Known Implementing Classes:
MindMapPanel
public interface IMindMapPanel
The GUI interface of mind maps.
-
Method Summary
Modifier and Type Method Description IActionManagergetActionManager()IDiagramControllergetDiagramController()MindMapgetMindMap()Returns theMindMapassociated with this panel.IStateActionManagergetStateActionManager()Returns theIStateActionManagerfor thisIMindMapPanelinstance.IStateManagergetStateManager()Returns theIStateManagerfor thisIMindMapPanelinstance.voidmouseClickStateMigrate(int x1, int y1)Performs the state migration for a mouse click.voidmouseClickStateMigrate(Topic topic)Performs the state migration for a mouse click.voidmouseDrawStateMigrate(int x1, int y1, int x2, int y2, boolean complete)Performs the state migration for a mouse draw.voidmouseDrawStateMigrate(Topic... topics)Performs the state migration for a mouse draw.voidmouseDrawStateMigrate(Topic t, int x1, int y1, boolean complete)Performs the state migration for a mouse draw.voidmouseDrawStateMigrate(Topic t1, Topic t2)Performs the state migration for a mouse draw.voidstartAddTopicState()Starts add topic state.voidstartDeleteElementState()Starts delete element state.voidstartDrawConnectionState()Starts draw connection state.voidstartSelectTopicState()Starts select topic state.
-
Method Details
-
getMindMap
MindMap getMindMap()Returns theMindMapassociated with this panel.- Returns:
MindMapassociated with this panel.
-
getStateManager
IStateManager getStateManager()Returns theIStateManagerfor thisIMindMapPanelinstance.- Returns:
IStateManagerfor thisIMindMapPanelinstance.
-
getActionManager
IActionManager getActionManager() -
getStateActionManager
IStateActionManager getStateActionManager()Returns theIStateActionManagerfor thisIMindMapPanelinstance.- Returns:
IStateActionManagerfor thisIMindMapPanelinstance.
-
getDiagramController
IDiagramController getDiagramController() -
startAddTopicState
void startAddTopicState()Starts add topic state. -
startDeleteElementState
void startDeleteElementState()Starts delete element state. -
startDrawConnectionState
void startDrawConnectionState()Starts draw connection state. -
startSelectTopicState
void startSelectTopicState()Starts select topic state. -
mouseDrawStateMigrate
void mouseDrawStateMigrate(int x1, int y1, int x2, int y2, boolean complete)Performs the state migration for a mouse draw.- Parameters:
x1-y1-x2-y2-complete-
-
mouseDrawStateMigrate
Performs the state migration for a mouse draw.- Parameters:
t1-t2-
-
mouseClickStateMigrate
void mouseClickStateMigrate(int x1, int y1)Performs the state migration for a mouse click.- Parameters:
x1-y1-
-
mouseClickStateMigrate
Performs the state migration for a mouse click.- Parameters:
topic-
-
mouseDrawStateMigrate
Performs the state migration for a mouse draw.- Parameters:
topics-
-
mouseDrawStateMigrate
Performs the state migration for a mouse draw.- Parameters:
t-x1-y1-complete-
-