org.das2.event
Class LengthDragRenderer
java.lang.Object
org.das2.event.LabelDragRenderer
org.das2.event.LengthDragRenderer
- All Implemented Interfaces:
- DragRenderer
public class LengthDragRenderer
- extends LabelDragRenderer
Field Summary |
protected boolean |
showFit
|
Method Summary |
boolean |
isShowFit()
Get the value of showFit |
boolean |
isShowSlope()
Getter for property showSlope. |
java.awt.Rectangle[] |
renderDrag(java.awt.Graphics g1,
java.awt.Point p1,
java.awt.Point p2)
|
void |
setShowFit(boolean showFit)
Set the value of showFit |
void |
setShowSlope(boolean showSlope)
Setter for property showSlope. |
Methods inherited from class org.das2.event.LabelDragRenderer |
addDirtyBounds, addDirtyBounds, clear, getDirtyBounds, getMouseDragEvent, isPointSelection, isTooltip, isUpdatingDragSelection, resetDirtyBounds, setLabel, setTooltip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
showFit
protected boolean showFit
LengthDragRenderer
public LengthDragRenderer(DasCanvasComponent parent,
DasAxis xaxis,
DasAxis yaxis)
- Creates a new instance of PointSlopeDragRenderer
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
isShowSlope
public boolean isShowSlope()
- Getter for property showSlope.
- Returns:
- Value of property showSlope.
setShowSlope
public void setShowSlope(boolean showSlope)
- Setter for property showSlope.
- Parameters:
showSlope
- New value of property showSlope.
isShowFit
public boolean isShowFit()
- Get the value of showFit
- Returns:
- the value of showFit
setShowFit
public void setShowFit(boolean showFit)
- Set the value of showFit
- Parameters:
showFit
- new value of showFit