class GraphEditorExample.NodeDragHandler extends PDragSequenceEventHandler
Constructor and Description |
---|
GraphEditorExample.NodeDragHandler() |
Modifier and Type | Method and Description |
---|---|
void |
drag(PInputEvent e)
Subclasses should override this method to get notified of the drag events
in a drag sequence.
|
void |
mouseEntered(PInputEvent e)
Will be invoked when the mouse enters a specified region.
|
void |
mouseExited(PInputEvent e)
Will be invoked when the mouse leaves a specified region.
|
dragActivityFinalStep, dragActivityFirstStep, dragActivityStep, endDrag, getDragActivity, getMinDragStartDistance, getMousePressedCanvasPoint, isDragging, mouseDragged, mousePressed, mouseReleased, setIsDragging, setMinDragStartDistance, shouldStartDragInteraction, startDrag, startDragActivity, stopDragActivity
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mouseMoved, mouseWheelRotated, mouseWheelRotatedByBlock, paramString, processEvent, setEventFilter
public void mouseEntered(PInputEvent e)
PBasicInputEventHandler
mouseEntered
in class PBasicInputEventHandler
e
- object which can be queried for the event's detailspublic void mouseExited(PInputEvent e)
PBasicInputEventHandler
mouseExited
in class PBasicInputEventHandler
e
- object which can be queried for the event's detailspublic void drag(PInputEvent e)
PDragSequenceEventHandler
drag
in class PDragSequenceEventHandler
e
- event that caused the dragCopyright © 1995-2013 Piccolo2D. All Rights Reserved.