chrriis.dj.swingsuite
Interface RichDnDManager.RichDnDImageProvider
- Enclosing class:
- RichDnDManager
public static interface RichDnDManager.RichDnDImageProvider
A provider that defines the image to use during a drag and drop operation.
- Author:
- Christopher Deckers
Method Summary |
Icon |
getDnDImage(Component c,
int x,
int y,
int width,
int height,
Point mouseLocation)
Get the image to use during a drag and drop. |
getDnDImage
Icon getDnDImage(Component c,
int x,
int y,
int width,
int height,
Point mouseLocation)
- Get the image to use during a drag and drop.
- Parameters:
c
- the component that is being dragged.x
- the visible x coordinate of the component.y
- the visible y coordinate of the component.width
- the visible width of the component.height
- the visible height of the component.mouseLocation
- The location of the mouse within the returned image, which can be altered when the image is returned.
- Returns:
- the image to use.