graphlab.gui.plugins.main.core.actions.edge
Class AddEdge
java.lang.Object
graphlab.main.core.action.AbstractAction
graphlab.gui.plugins.main.core.actions.edge.AddEdge
- All Implemented Interfaces:
- PaintHandler, Undoable, Action, Notifiable
public class AddEdge
- extends AbstractAction
- implements PaintHandler, Undoable
- Author:
- azin azadi
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddEdge
public AddEdge(BlackBoard bb)
- constructor
- Parameters:
bb - the BlackBoard of the action
performJob
public void performJob(java.lang.String name)
- Description copied from class:
AbstractAction
- like Action
- Specified by:
performJob in class AbstractAction
doJob
public static Edge doJob(Graph g,
Vertex v1,
Vertex v2)
paint
public void paint(java.awt.Graphics g,
java.awt.Component component)
- Specified by:
paint in interface PaintHandler
undo
public void undo(UndoableActionOccuredData uaod)
- Specified by:
undo in interface Undoable
redo
public void redo(UndoableActionOccuredData uaod)
- Specified by:
redo in interface Undoable