|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.piccolo.event.PBasicInputEventHandler
edu.umd.cs.piccolo.event.PDragSequenceEventHandler
edu.umd.cs.piccolo.examples.GraphEditorExample.NodeDragHandler
class GraphEditorExample.NodeDragHandler
Constructor Summary | |
---|---|
GraphEditorExample.NodeDragHandler()
|
Method Summary | |
---|---|
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. |
Methods inherited from class edu.umd.cs.piccolo.event.PDragSequenceEventHandler |
---|
dragActivityFinalStep, dragActivityFirstStep, dragActivityStep, endDrag, getDragActivity, getMinDragStartDistance, getMousePressedCanvasPoint, isDragging, mouseDragged, mousePressed, mouseReleased, setIsDragging, setMinDragStartDistance, shouldStartDragInteraction, startDrag, startDragActivity, stopDragActivity |
Methods inherited from class edu.umd.cs.piccolo.event.PBasicInputEventHandler |
---|
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mouseMoved, mouseWheelRotated, mouseWheelRotatedByBlock, paramString, processEvent, setEventFilter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphEditorExample.NodeDragHandler()
Method Detail |
---|
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 drag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |