|
Point | initMousePt |
|
Point | lastMousePt |
|
BufferedImage | dragImage |
|
Point | mouseOffset = new Point(5,5) |
|
The Drop Handler class handles drop operations that occur within the MatrixTree. Currently, only MatrixTreeTransferable.TREE_NODE_FLAVOUR flavours are accepted as successful drop transferables.
- Author
- Nathan de Vries ndvri.nosp@m.es@s.nosp@m.quiz..nosp@m.net
Definition at line 1019 of file InspectorGadget.java.
void dragEnter |
( |
DropTargetDragEvent |
dtde | ) |
|
|
inline |
void dragExit |
( |
DropTargetEvent |
dte | ) |
|
|
inline |
void dragOver |
( |
DropTargetDragEvent |
dtde | ) |
|
|
inline |
Event listener method that is called repeatedly when the mouse is within the bounds of the InspectorGadget
- Parameters
-
dtde | the DropTargetDragEvent |
Definition at line 1064 of file InspectorGadget.java.
void drop |
( |
DropTargetDropEvent |
dtde | ) |
|
|
inline |
Event Listener method that is called when the mouse is released during a drop operation
- Parameters
-
dtde | the DropTargetDropEvent |
Definition at line 1081 of file InspectorGadget.java.
void dropActionChanged |
( |
DropTargetDragEvent |
dtde | ) |
|
|
inline |
Events Listener method that is called when the drop action changes
- Parameters
-
dtde | the DropTargetDragEvent |
Definition at line 1044 of file InspectorGadget.java.
Returns TRUE if we are currently performing a drop operation
- Returns
- TRUE if we are currently performing a drop operation
Definition at line 1156 of file InspectorGadget.java.
void paintCueLine |
( |
Graphics2D |
g2d | ) |
|
|
inlineprotected |
Paints a cue line to indicate where the node(s) will be placed in relation to where the mouse has been dragged to.
- Parameters
-
g2d | the graphics to paint the drag image to |
Definition at line 1179 of file InspectorGadget.java.
void paintDropImage |
( |
Graphics2D |
g2d | ) |
|
|
inlineprotected |
Paints the drag image so the image appears in the same location under the mouse where the drag operation first started.
- Parameters
-
g2d | the graphics to paint the drag image to |
Definition at line 1166 of file InspectorGadget.java.
The documentation for this class was generated from the following file:
- /Users/webmaster/Desktop/squiz_matrix/core/lib/asset_map/java/src/net/squiz/matrix/inspector/InspectorGadget.java