org.das2.event
Class CrossHairRenderer
java.lang.Object
org.das2.event.LabelDragRenderer
org.das2.event.CrossHairRenderer
- All Implemented Interfaces:
- Editable, DragRenderer
public class CrossHairRenderer
- extends LabelDragRenderer
- implements DragRenderer, Editable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xInitial
protected int xInitial
yInitial
protected int yInitial
XAxis
protected DasAxis XAxis
YAxis
protected DasAxis YAxis
parent
protected DasPlot parent
CrossHairRenderer
public CrossHairRenderer(DasPlot parent,
DataSetConsumer dataSetConsumer,
DasAxis xAxis,
DasAxis yAxis)
renderDrag
public java.awt.Rectangle[] renderDrag(java.awt.Graphics g1,
java.awt.Point p1,
java.awt.Point p2)
- Specified by:
renderDrag
in interface DragRenderer
- Overrides:
renderDrag
in class LabelDragRenderer
clear
public void clear(java.awt.Graphics g)
- Specified by:
clear
in interface DragRenderer
- Overrides:
clear
in class LabelDragRenderer
isPointSelection
public boolean isPointSelection()
- Specified by:
isPointSelection
in interface DragRenderer
- Overrides:
isPointSelection
in class LabelDragRenderer
isUpdatingDragSelection
public boolean isUpdatingDragSelection()
- Specified by:
isUpdatingDragSelection
in interface DragRenderer
- Overrides:
isUpdatingDragSelection
in class LabelDragRenderer
isAllPlanesReport
public boolean isAllPlanesReport()
- Getter for property allPlanesReport.
- Returns:
- Value of property allPlanesReport.
setAllPlanesReport
public void setAllPlanesReport(boolean allPlanesReport)
- Setter for property allPlanesReport.
- Parameters:
allPlanesReport
- New value of property allPlanesReport.
isDebugging
public boolean isDebugging()
- Getter for property debugging.
- Returns:
- Value of property debugging.
setDebugging
public void setDebugging(boolean debugging)
- Setter for property debugging.
- Parameters:
debugging
- New value of property debugging.
getDirtyBounds
public java.awt.Rectangle[] getDirtyBounds()
- Overrides:
getDirtyBounds
in class LabelDragRenderer
isSnapping
public boolean isSnapping()
setSnapping
public void setSnapping(boolean b)
isMultiLine
public boolean isMultiLine()
- Getter for property multiLine.
- Returns:
- Value of property multiLine.
setMultiLine
public void setMultiLine(boolean multiLine)
- Setter for property multiLine.
- Parameters:
multiLine
- New value of property multiLine.