public class CalcGraphTools<T>
extends java.lang.Object
implements java.awt.event.ActionListener
| Constructor and Description |
|---|
CalcGraphTools(CalcGraphPanel<T> calcGraphPanel)
Instantiates a new graph toolbar.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae) |
javax.swing.JPopupMenu |
getEdgePopup()
This method initializes edgePopup The menu is displayed when an edge is right clicked
|
javax.swing.JToolBar |
getJToolBarEdit()
Gets the Edit toolbar for the BasicGraphGui.
|
javax.swing.JPopupMenu |
getVertexPopup()
This method initializes vertexPopup The menu is displayed when a vertex is right clicked
|
public CalcGraphTools(CalcGraphPanel<T> calcGraphPanel)
public javax.swing.JToolBar getJToolBarEdit()
public javax.swing.JPopupMenu getEdgePopup()
public javax.swing.JPopupMenu getVertexPopup()
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed in interface java.awt.event.ActionListener