public class CrossHairRenderer extends LabelDragRenderer implements DragRenderer, Editable
| Modifier and Type | Field and Description |
|---|---|
protected DasPlot |
parent |
protected DasAxis |
XAxis |
protected int |
xInitial |
protected DasAxis |
YAxis |
protected int |
yInitial |
ghostColor| Constructor and Description |
|---|
CrossHairRenderer(DasPlot parent,
DataSetConsumer dataSetConsumer,
DasAxis xAxis,
DasAxis yAxis) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(java.awt.Graphics g)
clears whatever renderDrag rendered.
|
java.awt.Rectangle[] |
getDirtyBounds() |
boolean |
isAllPlanesReport()
Getter for property allPlanesReport.
|
boolean |
isDebugging()
Getter for property debugging.
|
boolean |
isMultiLine()
Getter for property multiLine.
|
boolean |
isPointSelection()
indicates that MM.mousePointSelected() should called as new mouse events come in.
|
boolean |
isSnapping() |
boolean |
isUpdatingDragSelection()
range selection events should be fired during drag.
|
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 |
setAllPlanesReport(boolean allPlanesReport)
Setter for property allPlanesReport.
|
void |
setDebugging(boolean debugging)
Setter for property debugging.
|
void |
setMultiLine(boolean multiLine)
Setter for property multiLine.
|
void |
setSnapping(boolean b) |
addDirtyBounds, addDirtyBounds, getMouseDragEvent, isTooltip, resetDirtyBounds, setLabel, setTooltipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMouseDragEventprotected int xInitial
protected int yInitial
protected DasAxis XAxis
protected DasAxis YAxis
protected DasPlot parent
public CrossHairRenderer(DasPlot parent, DataSetConsumer dataSetConsumer, DasAxis xAxis, DasAxis 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 void clear(java.awt.Graphics g)
DragRendererclear in interface DragRendererclear in class LabelDragRendererpublic boolean isPointSelection()
DragRendererisPointSelection in interface DragRendererisPointSelection in class LabelDragRendererpublic boolean isUpdatingDragSelection()
DragRendererisUpdatingDragSelection in interface DragRendererisUpdatingDragSelection in class LabelDragRendererpublic boolean isAllPlanesReport()
public void setAllPlanesReport(boolean allPlanesReport)
allPlanesReport - New value of property allPlanesReport.public boolean isDebugging()
public void setDebugging(boolean debugging)
debugging - New value of property debugging.public java.awt.Rectangle[] getDirtyBounds()
getDirtyBounds in class LabelDragRendererpublic boolean isSnapping()
public void setSnapping(boolean b)
public boolean isMultiLine()
public void setMultiLine(boolean multiLine)
multiLine - New value of property multiLine.