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)this is not used, and is left over from an old version of the library. | 
| 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, setTooltipgetParent, setParentclone, 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 LabelDragRendererg1 - the graphics context for renderingp1 - the click pointp2 - the current mouse position during drag and release.public void clear(java.awt.Graphics g)
AbstractDragRendererclear in interface DragRendererclear in class LabelDragRendererg - the graphics contextpublic boolean isPointSelection()
AbstractDragRendererisPointSelection in interface DragRendererisPointSelection in class LabelDragRendererpublic boolean isUpdatingDragSelection()
AbstractDragRendererisUpdatingDragSelection 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.