Class mindmaps.NavigatorPresenter
Defined in: Navigator.js.
Constructor Attributes | Constructor Name and Description |
---|---|
mindmaps.NavigatorPresenter(eventBus, view, container, zoomController)
Creates a new NavigatorPresenter.
|
Method Attributes | Method Name and Description |
---|---|
<inner> |
Calculates and sets the size of the mini canvas.
|
<inner> |
Calculates and sets the possition of the dragger element.
|
<inner> |
Calculates and sets the size of the dragger element.
|
<inner> |
Calculates and sets the slider value for the zoom level.
|
<inner> |
Calculates and sets the zoom level.
|
<inner> |
Reset when document was closed.
|
<inner> |
documentOpened(doc)
Initialize view when a document was opened.
|
<inner> |
Update the canvas of the view component.
|
Class Detail
mindmaps.NavigatorPresenter(eventBus, view, container, zoomController)
Creates a new NavigatorPresenter.
- Parameters:
- {mindmaps.EventBus} eventBus
- {mindmaps.NavigatorView} view
- {mindmaps.CanvasContainer} container
- {mindmaps.ZoomController} zoomController
Method Detail
<inner>
calculateCanvasSize()
Calculates and sets the size of the mini canvas.
<inner>
calculateDraggerPosition()
Calculates and sets the possition of the dragger element.
<inner>
calculateDraggerSize()
Calculates and sets the size of the dragger element.
<inner>
calculateSliderValue()
Calculates and sets the slider value for the zoom level.
<inner>
calculateZoomLevel()
Calculates and sets the zoom level.
<inner>
documentClosed()
Reset when document was closed.
<inner>
documentOpened(doc)
Initialize view when a document was opened.
- Parameters:
- doc
<inner>
renderView()
Update the canvas of the view component.