public class PointSlopeDragRenderer extends LabelDragRenderer
ghostColor| Constructor and Description |
|---|
PointSlopeDragRenderer(DasCanvasComponent parent,
DasAxis xaxis,
DasAxis yaxis)
Creates a new instance of PointSlopeDragRenderer
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addDirtyBounds, addDirtyBounds, clear, getDirtyBounds, getMouseDragEvent, isPointSelection, isTooltip, isUpdatingDragSelection, resetDirtyBounds, setLabel, setTooltipgetParent, setParentpublic PointSlopeDragRenderer(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 LabelDragRendererg1 - the graphics context for renderingp1 - the click pointp2 - the current mouse position during drag and release.