Class mindmaps.NavigatorView
Defined in: Navigator.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Creates a NavigatorView.
|
Method Attributes | Method Name and Description |
---|---|
draw(mindmap, scaleFactor)
Draws the complete mindmap onto the mini canvas.
|
|
Gets the width of the mini canvas.
|
|
Returns the content.
|
|
setCanvasHeight(height)
Sets the height of the mini canvas.
|
|
setDraggerPosition(x, y)
Sets the position of the dragger rectangle.
|
|
setDraggerSize(width, height)
Adjusts the size of the red rectangle.
|
|
setSliderValue(value)
Sets the value of the zoom slider.
|
|
Shows the active content.
|
|
Shows the inactive content.
|
|
showZoomLevel(zoom)
Shows the zoom level as percentage.
|
Class Detail
mindmaps.NavigatorView()
Creates a NavigatorView. This view shows a minified version of the mindmap +
controls for adjusting the zoom.
Method Detail
draw(mindmap, scaleFactor)
Draws the complete mindmap onto the mini canvas.
- Parameters:
- {mindmaps.MindMap} mindmap
- {Number} scaleFactor
{Number}
getCanvasWidth()
Gets the width of the mini canvas.
- Returns:
- {Number}
{jQuery}
getContent()
Returns the content.
- Returns:
- {jQuery}
setCanvasHeight(height)
Sets the height of the mini canvas.
- Parameters:
- {Number} height
setDraggerPosition(x, y)
Sets the position of the dragger rectangle.
- Parameters:
- {Number} x
- {Number} y
setDraggerSize(width, height)
Adjusts the size of the red rectangle.
- Parameters:
- {Number} width
- {Nubmer} height
setSliderValue(value)
Sets the value of the zoom slider.
- Parameters:
- {Integer} value
showActiveContent()
Shows the active content.
showInactiveContent()
Shows the inactive content.
showZoomLevel(zoom)
Shows the zoom level as percentage.
- Parameters:
- {String} zoom