|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.event.MouseInputAdapter
pipe.gui.PetriNetObjectHandler
pipe.gui.ArcHandler
public class ArcHandler
Class used to implement methods corresponding to mouse events on arcs.
| Field Summary |
|---|
| Fields inherited from class pipe.gui.PetriNetObjectHandler |
|---|
contentPane, dragInit, enablePopup, isDragging, justSelected, myObject |
| Constructor Summary | |
|---|---|
ArcHandler(java.awt.Container contentpane,
Arc obj)
|
|
| Method Summary | |
|---|---|
javax.swing.JPopupMenu |
getPopup(java.awt.event.MouseEvent e)
Creates the popup menu that the user will see when they right click on a component |
void |
mouseDragged(java.awt.event.MouseEvent e)
Handler for dragging PlaceTransitionObjects around |
void |
mousePressed(java.awt.event.MouseEvent e)
|
| Methods inherited from class pipe.gui.PetriNetObjectHandler |
|---|
enablePopupMenu, mouseReleased |
| Methods inherited from class javax.swing.event.MouseInputAdapter |
|---|
mouseClicked, mouseEntered, mouseExited, mouseMoved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArcHandler(java.awt.Container contentpane,
Arc obj)
| Method Detail |
|---|
public javax.swing.JPopupMenu getPopup(java.awt.event.MouseEvent e)
getPopup in class PetriNetObjectHandlerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenermousePressed in class PetriNetObjectHandlerpublic void mouseDragged(java.awt.event.MouseEvent e)
PetriNetObjectHandler
mouseDragged in interface java.awt.event.MouseMotionListenermouseDragged in class PetriNetObjectHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||