Class Index | File Index

Classes


Class mindmaps.NavigatorPresenter


Defined in: Navigator.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
mindmaps.NavigatorPresenter(eventBus, view, container, zoomController)
Creates a new NavigatorPresenter.
Method Summary
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>  
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.

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 18 2011 18:03:15 GMT+0000 (WEST)