public class RegionDropTarget
extends java.lang.Object
implements java.awt.dnd.DropTargetListener
Modifier and Type | Field and Description |
---|---|
(package private) java.awt.Rectangle |
dragBounds |
(package private) Region |
previousDragRegion |
(package private) RegionBoard |
regionBoard |
(package private) java.awt.dnd.DropTarget |
target |
(package private) DTextCanvas |
textCanvas |
Constructor and Description |
---|
RegionDropTarget(RegionBoard rb) |
Modifier and Type | Method and Description |
---|---|
void |
clearDragEcho() |
void |
dragAt(java.awt.Graphics g,
int i,
int j) |
void |
dragEnter(java.awt.dnd.DropTargetDragEvent dtde) |
void |
dragExit(java.awt.dnd.DropTargetEvent dte) |
void |
dragOver(java.awt.dnd.DropTargetDragEvent dtde) |
void |
drop(java.awt.dnd.DropTargetDropEvent dtde) |
void |
dropActionChanged(java.awt.dnd.DropTargetDragEvent dtde) |
java.awt.dnd.DropTarget target
RegionBoard regionBoard
DTextCanvas textCanvas
java.awt.Rectangle dragBounds
Region previousDragRegion
public RegionDropTarget(RegionBoard rb)
public void dragEnter(java.awt.dnd.DropTargetDragEvent dtde)
dragEnter
in interface java.awt.dnd.DropTargetListener
public void dragOver(java.awt.dnd.DropTargetDragEvent dtde)
dragOver
in interface java.awt.dnd.DropTargetListener
public void dragAt(java.awt.Graphics g, int i, int j)
public void clearDragEcho()
public void dragExit(java.awt.dnd.DropTargetEvent dte)
dragExit
in interface java.awt.dnd.DropTargetListener
public void dropActionChanged(java.awt.dnd.DropTargetDragEvent dtde)
dropActionChanged
in interface java.awt.dnd.DropTargetListener
public void drop(java.awt.dnd.DropTargetDropEvent dtde)
drop
in interface java.awt.dnd.DropTargetListener
Copyright © 2013. All Rights Reserved.