org.das2.event.LengthDragRenderer
Indicate the length and the slope of the line.
Creates a new instance of PointSlopeDragRenderer
PROP_SHOWRECIPROCAL
getNCycles
getNCycles( ) → int
get the number to normalize the numbers by.
Returns:
the number of cycles, typically 1.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isShowFit
isShowFit( ) → boolean
true if the fit should be shown
Returns:
true if the fit should be shown
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isShowReciprocalDeltaX
isShowReciprocalDeltaX( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isShowSlope
isShowSlope( ) → boolean
true if the slope should be shown
Returns:
true if the slope should be shown
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
renderDrag
renderDrag( java.awt.Graphics g1, java.awt.Point p1, java.awt.Point p2 ) → java.awt.Rectangle[]
Parameters
g1 - a Graphics
p1 - a Point
p2 - a Point
Returns:
java.awt.Rectangle[]
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setNCycles
setNCycles( int i ) → void
set the number to normalize the numbers by.
Parameters
i - an int
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setShowFit
setShowFit( boolean showFit ) → void
if true then show the fit for all but xlog,ylin.
Parameters
showFit - if true then show the fit for all but xlog,ylin.
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setShowReciprocalDeltaX
setShowReciprocalDeltaX( boolean showReciprocal ) → void
Parameters
showReciprocal - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setShowSlope
setShowSlope( boolean showSlope ) → void
true if the slope should be shown
Parameters
showSlope - true if the slope should be shown
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]