org.das2.event
Class HorizontalSliceSelectionRenderer

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

public class HorizontalSliceSelectionRenderer
extends java.lang.Object
implements DragRenderer


Field Summary
 
Fields inherited from interface org.das2.event.DragRenderer
ghostColor
 
Constructor Summary
HorizontalSliceSelectionRenderer(DasCanvasComponent parent)
          Creates a new instance of HorizontalSliceSelectionRenderer
 
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 g, 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
 

Constructor Detail

HorizontalSliceSelectionRenderer

public HorizontalSliceSelectionRenderer(DasCanvasComponent parent)
Creates a new instance of HorizontalSliceSelectionRenderer

Method Detail

renderDrag

public java.awt.Rectangle[] renderDrag(java.awt.Graphics g,
                                       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