Interface IMindMapPanel
- All Known Implementing Classes:
MindMapPanel
public interface IMindMapPanel
The GUI interface of mind maps.
-
Method Summary
Modifier and Type Method Description IActionManager
getActionManager()
IDiagramController
getDiagramController()
MindMap
getMindMap()
Returns theMindMap
associated with this panel.IStateActionManager
getStateActionManager()
Returns theIStateActionManager
for thisIMindMapPanel
instance.IStateManager
getStateManager()
Returns theIStateManager
for thisIMindMapPanel
instance.void
mouseClickStateMigrate(int x1, int y1)
Performs the state migration for a mouse click.void
mouseClickStateMigrate(Topic topic)
Performs the state migration for a mouse click.void
mouseDrawStateMigrate(int x1, int y1, int x2, int y2, boolean complete)
Performs the state migration for a mouse draw.void
mouseDrawStateMigrate(Topic... topics)
Performs the state migration for a mouse draw.void
mouseDrawStateMigrate(Topic t, int x1, int y1, boolean complete)
Performs the state migration for a mouse draw.void
mouseDrawStateMigrate(Topic t1, Topic t2)
Performs the state migration for a mouse draw.void
startAddTopicState()
Starts add topic state.void
startDeleteElementState()
Starts delete element state.void
startDrawConnectionState()
Starts draw connection state.void
startSelectTopicState()
Starts select topic state.
-
Method Details
-
getMindMap
MindMap getMindMap()Returns theMindMap
associated with this panel.- Returns:
MindMap
associated with this panel.
-
getStateManager
IStateManager getStateManager()Returns theIStateManager
for thisIMindMapPanel
instance.- Returns:
IStateManager
for thisIMindMapPanel
instance.
-
getActionManager
IActionManager getActionManager() -
getStateActionManager
IStateActionManager getStateActionManager()Returns theIStateActionManager
for thisIMindMapPanel
instance.- Returns:
IStateActionManager
for thisIMindMapPanel
instance.
-
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
-
-