Namespace Papercube.citeRefController

Extends: NodeGraph.NodeGraphDelegate
Defined in: clients/papercube/controllers/cite_ref.js
Version: 1.0
Author: Peter Bergstrom
Copyright: 2008-2009 Peter Bergström.

Overview

Controls the sliders used for the author view ref/cite view.

Property Summary

Method Summary

Property Details

citePrompt [R/W]

The citation prompt value.

+   String citePrompt


defaultLinkThreshold [R/W]

The default linkThreshold value.

+   Integer defaultLinkThreshold

Default Value: 1


linkThreshold [R/W]

The value for the linkThreshold slider.

+   Integer linkThreshold

Default Value: 1


linkThresholdStep [R/W]

The increment value for the linkThreshold slider.

+   Integer linkThresholdStep

Default Value: 1


linkThresholdValueMax [R/W]

The max value for the linkThreshold slider.

+   Integer linkThresholdValueMax

Default Value: 30


linkThresholdValueMin [R/W]

The min value for the linkThreshold slider.

+   Integer linkThresholdValueMin

Default Value: 1


refPrompt [R/W]

The reference prompt value.

+   String refPrompt


strengthPrompt [R/W]

The search prompt value.

+   String strengthPrompt

Discussion

This value is bound in the view.


Method Detail

finishInitForGraph()

Allow for additional customized setup of the NodeGraph view.

+   (void) finishInitForGraph (nodeGraph)

Parameters

(NodeGraph.NodeGraphView)nodeGraph The NodeGraph instance.


maxStrength()

Increment the strength towards the maximum.

+   (void) maxStrength ()


minStrength()

Increment the strength towards the minimum.

+   (void) minStrength ()


nodeGraphDidMouseDown()

Called by the NodeGraph instance when a mouseDown is triggered.

+   (void) nodeGraphDidMouseDown (evt, The, guid)

Parameters

(DOM Event)evt The mouseDown event.

(NodeGraph.NodeGraphView)The NodeGraph view.

guid {String} The guid of the node.


setDefaults()

Set the default values for the controller.

+   (void) setDefaults ()


setPrompt()

Based on the view direction, set the appropriate search prompt.

+   (void) setPrompt ()


Documentation generated by JsDoc Toolkit 2.0.2 on Sat Nov 21 2009 21:24:37 GMT-0800 (PST)