|
GoGraph |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--gograph.actions.edit.EditConnectAction
Create new edge connecting two selected ports.
DefaultEdge,
Serialized Form| Field Summary | |
protected GoGraph |
gograph
Access back to GoGraph panel. |
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
EditConnectAction(GoGraph gograph)
Creates a new instance of EditConnectAction. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when the action occurs. |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected GoGraph gograph
| Constructor Detail |
public EditConnectAction(GoGraph gograph)
gograph - Access back to GoGraph panel.| Method Detail |
public void actionPerformed(java.awt.event.ActionEvent e)
Instanciates a new DefaultEdge connecting two selected ports. Asks for weight if necessary and initialises other edge properties before messaging graph model for modification.
e - Source evenement.
|
GoGraph |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||