Namespace Papercube.authorPaperController
| Extends: | NodeGraph.NodeGraphDelegate |
| Defined in: | clients/papercube/controllers/authorpaper.js |
| Version: | 1.0 |
| Author: | Peter Bergstrom |
| Copyright: | 2008-2009 Peter Bergström. |
Overview
Controls the sliders used for the author papers.
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) defaultEndYearThreshold [R/W]The default endYearThreshold value. -
- (Integer) defaultRefThreshold [R/W]The default refThreshold value. -
- (Integer) defaultStartYearThreshold [R/W]The default startYearThreshold value. -
- (Integer) endYearThreshold [R/W]The value for the endYearThreshold slider. -
- (Integer) endYearThresholdStep [R/W]The increment value for the endYearThreshold slider. -
- (Integer) endYearThresholdValue [R/W]The value for the endYearThreshold slider. -
- (Integer) endYearThresholdValueMax [R/W]The max value for the endYearThreshold slider. -
- (Integer) endYearThresholdValueMin [R/W]The min value for the endYearThreshold 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. -
- (Integer) refThresholdValueMin [R/W]The min value for the refThreshold slider. -
- (Integer) startYearThreshold [R/W]The value for the startYearThreshold slider. -
- (Integer) startYearThresholdStep [R/W]The increment value for the startYearThreshold slider. -
- (Integer) startYearThresholdValue [R/W]The value for the startYearThreshold slider. -
- (Integer) startYearThresholdValueMax [R/W]The max value for the startYearThreshold slider. -
- (Integer) startYearThresholdValueMin [R/W]The min value for the startYearThreshold slider.
Method Summary
-
- (void) endYearThresholdValueDidChange()Set the endYearThreshold -
- (void) finishInitForGraph(nodeGraph)Allow for additional customized setup of the NodeGraph view. -
- (void) maxCiteStrength()Increment cite ref strength towards the maximum. -
- (void) maxEndYearStrength()Increment the endYear strength towards the maximum. -
- (void) maxRefStrength()Increment the ref strength towards the maximum. -
- (void) maxStartYearStrength()Increment the startYear strength towards the maximum. -
- (void) maxStrength(opt)Route to the appropriate max strength action. -
- (void) minCiteStrength()Increment cite ref strength towards the miniumum. -
- (void) minEndYearStrength()Increment the endYear strength towards the minimum. -
- (void) minRefStrength()Increment the ref strength towards the minimum. -
- (void) minStartYearStrength()Increment the startYear 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. -
- (void) startYearThresholdValueDidChange()Set the startYearThreshold
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: 1
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
defaultEndYearThreshold [R/W]
The default endYearThreshold value.
- Integer defaultEndYearThreshold
Default Value: 0
defaultRefThreshold [R/W]
The default refThreshold value.
- Integer defaultRefThreshold
Default Value: 0
defaultStartYearThreshold [R/W]
The default startYearThreshold value.
- Integer defaultStartYearThreshold
Default Value: 0
endYearThreshold [R/W]
The value for the endYearThreshold slider.
- Integer endYearThreshold
Default Value: new Date().getFullYear()
endYearThresholdStep [R/W]
The increment value for the endYearThreshold slider.
- Integer endYearThresholdStep
Default Value: 1
endYearThresholdValue [R/W]
The value for the endYearThreshold slider.
- Integer endYearThresholdValue
Default Value: 100
endYearThresholdValueMax [R/W]
The max value for the endYearThreshold slider.
- Integer endYearThresholdValueMax
Default Value: 100
endYearThresholdValueMin [R/W]
The min value for the endYearThreshold slider.
- Integer endYearThresholdValueMin
Default Value: 0
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.
- Integer refThresholdValueMax
Default Value: 30
refThresholdValueMin [R/W]
The min value for the refThreshold slider.
- Integer refThresholdValueMin
Default Value: 0
startYearThreshold [R/W]
The value for the startYearThreshold slider.
- Integer startYearThreshold
Default Value: 1960
startYearThresholdStep [R/W]
The increment value for the startYearThreshold slider.
- Integer startYearThresholdStep
Default Value: 1
startYearThresholdValue [R/W]
The value for the startYearThreshold slider.
- Integer startYearThresholdValue
Default Value: 0
startYearThresholdValueMax [R/W]
The max value for the startYearThreshold slider.
- Integer startYearThresholdValueMax
Default Value: new Date().getFullYear()
startYearThresholdValueMin [R/W]
The min value for the startYearThreshold slider.
- Integer startYearThresholdValueMin
Default Value: 0
Method Detail
endYearThresholdValueDidChange()
Set the endYearThreshold
- (void) endYearThresholdValueDidChange ()
Observes
endYearThresholdValue
finishInitForGraph()
Allow for additional customized setup of the NodeGraph view.
- (void) finishInitForGraph (nodeGraph)
Parameters
(NodeGraph.NodeGraphView)nodeGraph The NodeGraph instance.
maxEndYearStrength()
Increment the endYear strength towards the maximum.
- (void) maxEndYearStrength ()
maxStartYearStrength()
Increment the startYear strength towards the maximum.
- (void) maxStartYearStrength ()
maxStrength()
Route to the appropriate max strength action.
- (void) maxStrength (opt)
Parameters
opt {boolean} If YES, ref, ff NO, cite.
minEndYearStrength()
Increment the endYear strength towards the minimum.
- (void) minEndYearStrength ()
minStartYearStrength()
Increment the startYear strength towards the minimum.
- (void) minStartYearStrength ()
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.
startYearThresholdValueDidChange()
Set the startYearThreshold
- (void) startYearThresholdValueDidChange ()
Observes
startYearThresholdValue