public class GraphPanelVertexState extends GraphPanelState
| Constructor and Description |
|---|
GraphPanelVertexState(GraphPanel gpanel)
Creates a GraphPanelVertexState object for the specified GraphPanel object.
|
| Modifier and Type | Method and Description |
|---|---|
GraphPanelState |
mousePressed(MouseEvent e)
Creates a new vertex on the specified coordinate.
|
void |
paint(Graphics2D g2d)
Just call VisualGraph().paint()
|
informTargetVisualGraphComponentOfKeyEvent, informTargetVisualGraphComponentOfMouseEvent, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, recommendState, setGraphPanelpublic GraphPanelVertexState(GraphPanel gpanel)
public GraphPanelState mousePressed(MouseEvent e)
mousePressed in class GraphPanelStatee - the MouseEvent, as it was received by the GraphPanel.public void paint(Graphics2D g2d)
paint in class GraphPanelStateCopyright © 2019 JULIE Lab, Germany. All rights reserved.