Class Index | File Index

Classes


Class mindmaps.NavigatorView


Defined in: Navigator.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a NavigatorView.
Method Summary
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.
 
Sets the height of the mini canvas.
 
Sets the position of the dragger rectangle.
 
setDraggerSize(width, height)
Adjusts the size of the red rectangle.
 
Sets the value of the zoom slider.
 
Shows the active content.
 
Shows the inactive content.
 
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

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