Namespace Papercube.collaboratorController
| Extends: | NodeGraph.NodeGraphDelegate |
| Defined in: | clients/papercube/controllers/collaborator.js |
| Version: | 1.0 |
| Author: | Peter Bergstrom |
| Copyright: | 2008-2009 Peter Bergström. |
Overview
Controls the sliders used for the author view.
Property Summary
-
+ (Integer) collabThreshold [R/W]The value for the collabThreshold slider. -
+ (Integer) collabThresholdStep [R/W]The increment value for the collabThreshold slider. -
+ (Integer) collabThresholdValueMax [R/W]The max value for the collabThreshold slider. -
+ (Integer) collabThresholdValueMin [R/W]The min value for the collabThreshold slider. -
+ (Integer) defaultCollabThreshold [R/W]The default collabThreshold value. -
+ (Integer) defaultDepth [R/W]The default depth value. -
+ (Integer) defaultPaperThreshold [R/W]The default paperThreshold value. -
+ (Integer) depth [R/W]The value for the depth slider. -
+ (Integer) depthStep [R/W]The increment value for the depth slider. -
+ (Integer) depthValueMax [R/W]The max value for the depth slider. -
+ (Integer) depthValueMin [R/W]The min value for the depth slider. -
+ (Integer) paperThreshold [R/W]The value for the paperThreshold slider. -
+ (Integer) paperThresholdStep [R/W]The increment value for the paperThreshold slider. -
+ (Integer) paperThresholdValueMax [R/W]The max value for the paperThreshold slider. -
+ (Integer) paperThresholdValueMin [R/W]The min value for the paperThreshold slider.
Method Summary
-
+ (void) finishInitForGraph(nodeGraph)Allow for additional customized setup of the NodeGraph view. -
+ (void) maxCollabStrength()Increment the collaborator strength towards the maximum. -
+ (void) maxDepth()Increment the depth towards the maximum. -
+ (void) maxPaperStrength()Increment the paper strength towards the maximum. -
+ (void) maxStrength(opt)Route to the appropriate max strength action. -
+ (void) minCollabStrength()Increment the collaborator strength towards the minimum. -
+ (void) minDepth()Increment the depth towards the maximum. -
+ (void) minPaperStrength()Increment the paper strength towards the minimum. -
+ (void) minStrength(opt)Route to the appropriate min strength action. -
+ (void) nodeGraphDidMouseDown(evt, The, guid)Called by the NodeGraph instance when a mouseDown is triggered. -
+ (void) setDefaults()Set the default values for the controller.
Property Details
collabThreshold [R/W]
The value for the collabThreshold slider.
+ Integer collabThreshold
Default Value: 30
collabThresholdStep [R/W]
The increment value for the collabThreshold slider.
+ Integer collabThresholdStep
Default Value: 1
collabThresholdValueMax [R/W]
The max value for the collabThreshold slider.
+ Integer collabThresholdValueMax
Default Value: 30
collabThresholdValueMin [R/W]
The min value for the collabThreshold slider.
+ Integer collabThresholdValueMin
Default Value: 1
defaultCollabThreshold [R/W]
The default collabThreshold value.
+ Integer defaultCollabThreshold
Default Value: 1
defaultPaperThreshold [R/W]
The default paperThreshold value.
+ Integer defaultPaperThreshold
Default Value: 1
paperThreshold [R/W]
The value for the paperThreshold slider.
+ Integer paperThreshold
Default Value: 30
paperThresholdStep [R/W]
The increment value for the paperThreshold slider.
+ Integer paperThresholdStep
Default Value: 1
paperThresholdValueMax [R/W]
The max value for the paperThreshold slider.
+ Integer paperThresholdValueMax
Default Value: 30
paperThresholdValueMin [R/W]
The min value for the paperThreshold slider.
+ Integer paperThresholdValueMin
Default Value: 1
Method Detail
finishInitForGraph()
Allow for additional customized setup of the NodeGraph view.
+ (void) finishInitForGraph (nodeGraph)
Parameters
(NodeGraph.NodeGraphView)nodeGraph The NodeGraph instance.
maxCollabStrength()
Increment the collaborator strength towards the maximum.
+ (void) maxCollabStrength ()
maxStrength()
Route to the appropriate max strength action.
+ (void) maxStrength (opt)
Parameters
opt {boolean} If YES, ref, if NO, cite.
minCollabStrength()
Increment the collaborator strength towards the minimum.
+ (void) minCollabStrength ()
minStrength()
Route to the appropriate min strength action.
+ (void) minStrength (opt)
Parameters
opt {boolean} If YES, ref, if NO, cite.
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.