Package org.artoflife.util.dnd

Generic implementation of DropTargetListener with helpers to allow painting of an icon during the drag whether the JVM exposes an underlying native implementation or not.

See:
          Description

Class Summary
ThumbnailIcon Used by ThumbnailTransferable as an icon dataflavor so that the ThumbnailIconDropTargetListener can paint the icon during drags over a DropTarget.
ThumbnailIconDropTargetListener Abstract base DropTargetListener can draw a ThumbnailIcon while dragging using a ThumbnailTransferable.
ThumbnailTransferable To accommodate drag images (even where the JVM doesn't support them, for example on Win32) this Transferable base class includes a ThumbnailIcon containing an Icon and a cursor offset within the icon so that DropTargetListeners can draw the image.
 

Package org.artoflife.util.dnd Description

Generic implementation of DropTargetListener with helpers to allow painting of an icon during the drag whether the JVM exposes an underlying native implementation or not.

Usage involves deriving from ThumbnailTransferable and ThumbnailIconDropTargetListener.


artoflife pre0.1.0-dev

Copyright © 2002 the Art Of Life team. All Rights Reserved.