Squiz Matrix
4.12.2
|
Static Public Member Functions | |
static void | setDragImage (BufferedImage dragImage, Point mouseOffset) |
static BufferedImage | getDragImage () |
static Point | getMouseOffset () |
static void | completeExchange () |
DragImageExchange provides a means for moving sharing ghosted drag images between different components. When a drag operation starts, the source component renders the drag image and stores it in this class. The target component can then use the image when painting the ghosted drop image.
Definition at line 29 of file DragImageExchange.java.
|
inlinestatic |
Ends the current image exchange.
Definition at line 75 of file DragImageExchange.java.
|
inlinestatic |
Returns the stored drag image
Definition at line 56 of file DragImageExchange.java.
|
inlinestatic |
Returns the offset between the stored drag image and the original mouse pointer.
Definition at line 66 of file DragImageExchange.java.
|
inlinestatic |
Stores an drag image for later use.
dragImage | a drag image which represents the dragged items |
mouseOffset | the offset between the mouse and the top-left corner of the dragImage |
Definition at line 45 of file DragImageExchange.java.