Namespace Papercube.paperTreeController
| Extends: | SC.Object |
| Defined in: | clients/papercube/controllers/papertree.js |
| Version: | 1.0 |
| Author: | Peter Bergstrom |
| Copyright: | 2008-2009 Peter Bergström. |
Overview
This controller is used to control the paper tree view.
Property Summary
-
- (Integer) citeThreshold [R/W]The value for the citeThreshold slider. -
- (Integer) citeThresholdStep [R/W]The increment value for the citeThreshold slider. -
- (Integer) citeThresholdValueMax [R/W]The max value for the citeThreshold slider. -
- (Integer) citeThresholdValueMin [R/W]The min value for the citeThreshold slider. -
- (Integer) defaultCiteThreshold [R/W]The default citeThreshold value. -
- (Integer) defaultDepth [R/W]The default depth value. -
- (Integer) defaultRefThreshold [R/W]The default refThreshold 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) refThreshold [R/W]The value for the refThreshold slider. -
- (Integer) refThresholdStep [R/W]The increment value for the refThreshold slider. -
- (Integer) refThresholdValueMax [R/W]The max value for the refThreshold slider.Default 15. -
- (Integer) refThresholdValueMin [R/W]The min value for the refThreshold slider.
Method Summary
-
- (void) maxCiteStrength()Increment cite ref strength towards the maximum. -
- (void) maxDepth()Increment the depth towards the maximum. -
- (void) maxRefStrength()Increment the ref strength towards the maximum. -
- (void) maxStrength(opt)Route to the appropriate max strength action. -
- (void) minCiteStrength()Increment cite ref strength towards the miniumum. -
- (void) minDepth()Increment the depth towards the maximum. -
- (void) minRefStrength()Increment the ref strength towards the minimum. -
- (void) minStrength(opt)Route to the appropriate min strength action. -
- (void) setDefaults()Set the default values for the controller.
Property Details
citeThreshold [R/W]
The value for the citeThreshold slider.
- Integer citeThreshold
Default Value: 0
citeThresholdStep [R/W]
The increment value for the citeThreshold slider.
- Integer citeThresholdStep
Default Value: 1
citeThresholdValueMax [R/W]
The max value for the citeThreshold slider.
- Integer citeThresholdValueMax
Default Value: 0
citeThresholdValueMin [R/W]
The min value for the citeThreshold slider.
- Integer citeThresholdValueMin
Default Value: 0
defaultCiteThreshold [R/W]
The default citeThreshold value.
- Integer defaultCiteThreshold
Default Value: 0
defaultRefThreshold [R/W]
The default refThreshold value.
- Integer defaultRefThreshold
Default Value: 15
refThresholdStep [R/W]
The increment value for the refThreshold slider.
- Integer refThresholdStep
Default Value: 1
refThresholdValueMax [R/W]
The max value for the refThreshold slider.Default 15.
- Integer refThresholdValueMax
Discussion
refThresholdValueMin [R/W]
The min value for the refThreshold slider.
- Integer refThresholdValueMin
Default Value: 0
Method Detail
maxStrength()
Route to the appropriate max strength action.
- (void) maxStrength (opt)
Parameters
opt {boolean} If YES, ref, if NO, cite.
minStrength()
Route to the appropriate min strength action.
- (void) minStrength (opt)
Parameters
opt {boolean} If YES, ref, if NO, cite.