|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.swing.event.MouseInputAdapter
|
+--pipe.gui.PetriNetObjectHandler
|
+--pipe.gui.ArcHandler
Class used to implement methods corresponding to mouse events on arcs.
| Field Summary |
| 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, mouseClicked, mouseReleased |
| Methods inherited from class javax.swing.event.MouseInputAdapter |
mouseEntered, mouseExited, mouseMoved |
| Methods inherited from class java.lang.Object |
equals, 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 | ||||||||||