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
-
+ (String) citePrompt [R/W]The citation prompt value. -
+ (Integer) defaultLinkThreshold [R/W]The default linkThreshold value. -
+ (Integer) linkThreshold [R/W]The value for the linkThreshold slider. -
+ (Integer) linkThresholdStep [R/W]The increment value for the linkThreshold slider. -
+ (Integer) linkThresholdValueMax [R/W]The max value for the linkThreshold slider. -
+ (Integer) linkThresholdValueMin [R/W]The min value for the linkThreshold slider. -
+ (String) refPrompt [R/W]The reference prompt value. -
+ (String) strengthPrompt [R/W]The search prompt value.
Method Summary
-
+ (void) finishInitForGraph(nodeGraph)Allow for additional customized setup of the NodeGraph view. -
+ (void) maxStrength()Increment the strength towards the maximum. -
+ (void) minStrength()Increment the strength towards the minimum. -
+ (void) nodeGraphDidMouseDown(evt, The, guid)Called by the NodeGraph instance when a mouseDown is triggered. -
+ (void) setDefaults()Set the default values for the controller. -
+ (void) setPrompt()Based on the view direction, set the appropriate search prompt.
Property Details
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
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.
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.