public class LengthDragRenderer extends LabelDragRenderer
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
showFit |
ghostColor| Constructor and Description |
|---|
LengthDragRenderer(DasCanvasComponent parent,
DasAxis xaxis,
DasAxis yaxis)
Creates a new instance of PointSlopeDragRenderer
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isShowFit()
true if the fit should be shown
|
boolean |
isShowSlope()
true if the slope should be shown
|
java.awt.Rectangle[] |
renderDrag(java.awt.Graphics g1,
java.awt.Point p1,
java.awt.Point p2)
draws the drag for mousing from p1 to p2, and returns an array of
Rectangles covering the rendering.
|
void |
setShowFit(boolean showFit)
if true then show the fit for all but xlog,ylin.
|
void |
setShowSlope(boolean showSlope)
true if the slope should be shown
|
addDirtyBounds, addDirtyBounds, clear, getDirtyBounds, getMouseDragEvent, isPointSelection, isTooltip, isUpdatingDragSelection, resetDirtyBounds, setLabel, setTooltippublic LengthDragRenderer(DasCanvasComponent parent, DasAxis xaxis, DasAxis yaxis)
parent - xaxis - yaxis - public java.awt.Rectangle[] renderDrag(java.awt.Graphics g1,
java.awt.Point p1,
java.awt.Point p2)
DragRendererrenderDrag in interface DragRendererrenderDrag in class LabelDragRendererpublic boolean isShowSlope()
public void setShowSlope(boolean showSlope)
showSlope - true if the slope should be shownpublic boolean isShowFit()
public void setShowFit(boolean showFit)
showFit - if true then show the fit for all but xlog,ylin.