|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object diva.graph.toolbox.DeletionListener
public class DeletionListener
This class provides deletion support for most simple JGraph components. Associate this class with some action (such as a key press on an instance of the JGraph class). Any nodes or edges in the selection model of the graph pane's controller will be removed.
Red |
Constructor Summary | |
---|---|
DeletionListener()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Delete any nodes or edges from the graph that are currently selected. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeletionListener()
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |