|
||||||||||
| 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
repast.simphony.visualization.editor.NetAddEdgeHandler
public class NetAddEdgeHandler
Event handler for adding edges.
| Constructor Summary | |
|---|---|
NetAddEdgeHandler(DisplayEditor2D editor,
edu.umd.cs.piccolo.PCanvas canvas,
Display2D display,
EditorNotifier notifier)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
destroy()
Deprecated. Cleans up anything created by this listener in init. |
protected void |
drag(edu.umd.cs.piccolo.event.PInputEvent event)
Deprecated. |
protected void |
endDrag(edu.umd.cs.piccolo.event.PInputEvent event)
Deprecated. |
void |
init()
Deprecated. Initializes this listener. |
protected boolean |
shouldStartDragInteraction(edu.umd.cs.piccolo.event.PInputEvent event)
Deprecated. |
void |
start()
Deprecated. Starts the listener. |
protected void |
startDrag(edu.umd.cs.piccolo.event.PInputEvent event)
Deprecated. |
void |
stop()
Deprecated. Stops the listener. |
| Methods inherited from class edu.umd.cs.piccolo.event.PDragSequenceEventHandler |
|---|
dragActivityFinalStep, dragActivityFirstStep, dragActivityStep, getDragActivity, getMinDragStartDistance, getMousePressedCanvasPoint, isDragging, mouseDragged, mousePressed, mouseReleased, paramString, setIsDragging, setMinDragStartDistance, startDragActivity, stopDragActivity |
| Methods inherited from class edu.umd.cs.piccolo.event.PBasicInputEventHandler |
|---|
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelRotated, mouseWheelRotatedByBlock, processEvent, setEventFilter, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.umd.cs.piccolo.event.PInputEventListener |
|---|
processEvent |
| Constructor Detail |
|---|
public NetAddEdgeHandler(DisplayEditor2D editor,
edu.umd.cs.piccolo.PCanvas canvas,
Display2D display,
EditorNotifier notifier)
| Method Detail |
|---|
public void init()
init in interface PEditorEventListenerpublic void destroy()
destroy in interface PEditorEventListenerprotected boolean shouldStartDragInteraction(edu.umd.cs.piccolo.event.PInputEvent event)
shouldStartDragInteraction in class edu.umd.cs.piccolo.event.PDragSequenceEventHandlerprotected void startDrag(edu.umd.cs.piccolo.event.PInputEvent event)
startDrag in class edu.umd.cs.piccolo.event.PDragSequenceEventHandlerprotected void drag(edu.umd.cs.piccolo.event.PInputEvent event)
drag in class edu.umd.cs.piccolo.event.PDragSequenceEventHandlerprotected void endDrag(edu.umd.cs.piccolo.event.PInputEvent event)
endDrag in class edu.umd.cs.piccolo.event.PDragSequenceEventHandlerpublic void start()
start in interface PEditorEventListenerpublic void stop()
stop in interface PEditorEventListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||