public class CalcGraphPopupPlugin<T>
extends edu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin
Constructor and Description |
---|
CalcGraphPopupPlugin(CalcGraphPanel<T> calcGraphPanel)
Creates a new instance of GraphPopupMenuMousePlugin.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JPopupMenu |
getEdgePopup()
Getter for the edge popup.
|
javax.swing.JPopupMenu |
getVertexPopup()
Getter for the vertex popup.
|
protected void |
handlePopup(java.awt.event.MouseEvent me)
Implementation of the AbstractPopupGraphMousePlugin method.
|
void |
showPopUp(java.lang.Object graphObject)
Shows the pop up menu for a given component.
|
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
public CalcGraphPopupPlugin(CalcGraphPanel<T> calcGraphPanel)
calcGraphPanel
- the state graph panelpublic javax.swing.JPopupMenu getEdgePopup()
public javax.swing.JPopupMenu getVertexPopup()
public void showPopUp(java.lang.Object graphObject)
graphObject
- the graph objectprotected void handlePopup(java.awt.event.MouseEvent me)
handlePopup
in class edu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin
me
- the MousEvent