org.das2.event
Class HorizontalRangeGesturesRenderer

java.lang.Object
  extended by org.das2.event.HorizontalRangeGesturesRenderer
All Implemented Interfaces:
DragRenderer

public class HorizontalRangeGesturesRenderer
extends java.lang.Object
implements DragRenderer


Field Summary
protected  int xInitial
           
protected  int yInitial
           
 
Fields inherited from interface org.das2.event.DragRenderer
ghostColor
 
Constructor Summary
HorizontalRangeGesturesRenderer(DasCanvasComponent parent)
           
 
Method Summary
 void clear(java.awt.Graphics g)
           
 MouseDragEvent getMouseDragEvent(java.lang.Object source, java.awt.Point p1, java.awt.Point p2, boolean isModified)
           
 boolean isPointSelection()
           
 boolean isUpdatingDragSelection()
           
 java.awt.Rectangle[] renderDrag(java.awt.Graphics g1, java.awt.Point p1, java.awt.Point p2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xInitial

protected int xInitial

yInitial

protected int yInitial
Constructor Detail

HorizontalRangeGesturesRenderer

public HorizontalRangeGesturesRenderer(DasCanvasComponent parent)
Method Detail

renderDrag

public java.awt.Rectangle[] renderDrag(java.awt.Graphics g1,
                                       java.awt.Point p1,
                                       java.awt.Point p2)
Specified by:
renderDrag in interface DragRenderer

getMouseDragEvent

public MouseDragEvent getMouseDragEvent(java.lang.Object source,
                                        java.awt.Point p1,
                                        java.awt.Point p2,
                                        boolean isModified)
Specified by:
getMouseDragEvent in interface DragRenderer

clear

public void clear(java.awt.Graphics g)
Specified by:
clear in interface DragRenderer

isPointSelection

public boolean isPointSelection()
Specified by:
isPointSelection in interface DragRenderer

isUpdatingDragSelection

public boolean isUpdatingDragSelection()
Specified by:
isUpdatingDragSelection in interface DragRenderer