|
|||||||||
| 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.PlaceTransitionObjectHandler
pipe.gui.PlaceHandler
public class PlaceHandler
Class used to implement methods corresponding to mouse events on places.
| Field Summary |
|---|
| Fields inherited from class pipe.gui.PetriNetObjectHandler |
|---|
contentPane, dragInit, enablePopup, isDragging, justSelected, myObject |
| Constructor Summary | |
|---|---|
PlaceHandler(java.awt.Container contentpane,
Place 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 |
mouseClicked(java.awt.event.MouseEvent e)
|
| Methods inherited from class pipe.gui.PlaceTransitionObjectHandler |
|---|
mousePressed |
| Methods inherited from class pipe.gui.PetriNetObjectHandler |
|---|
enablePopupMenu, mouseDragged, mouseReleased |
| Methods inherited from class javax.swing.event.MouseInputAdapter |
|---|
mouseEntered, mouseExited, mouseMoved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlaceHandler(java.awt.Container contentpane,
Place obj)
| Method Detail |
|---|
public javax.swing.JPopupMenu getPopup(java.awt.event.MouseEvent e)
getPopup in class PlaceTransitionObjectHandlerpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenermouseClicked in class javax.swing.event.MouseInputAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||