public abstract class AbstractDragRenderer extends java.lang.Object implements DragRenderer
ghostColor
Constructor and Description |
---|
AbstractDragRenderer() |
AbstractDragRenderer(DasCanvasComponent parent) |
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.
|
MouseDragEvent |
getMouseDragEvent(java.lang.Object source,
java.awt.Point p1,
java.awt.Point p2,
boolean isModified)
return the event for the gesture.
|
DasCanvasComponent |
getParent() |
boolean |
isPointSelection()
indicates that MM.mousePointSelected() should called as new mouse events
come in.
|
boolean |
isUpdatingDragSelection()
range selection events should be fired during drag.
|
void |
setParent(DasCanvasComponent parent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderDrag
public AbstractDragRenderer()
public AbstractDragRenderer(DasCanvasComponent parent)
public MouseDragEvent getMouseDragEvent(java.lang.Object source, java.awt.Point p1, java.awt.Point p2, boolean isModified)
getMouseDragEvent
in interface DragRenderer
source
- p1
- p2
- isModified
- public void clear(java.awt.Graphics g)
clear
in interface DragRenderer
g
- public boolean isPointSelection()
isPointSelection
in interface DragRenderer
public boolean isUpdatingDragSelection()
isUpdatingDragSelection
in interface DragRenderer
public DasCanvasComponent getParent()
public void setParent(DasCanvasComponent parent)