pipe.gui
Class DeleteAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--pipe.gui.DeleteAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- public class DeleteAction
- extends javax.swing.AbstractAction
Action object that can be used to effect deleting a component.
- See Also:
- Serialized Form
Inner classes inherited from class javax.swing.AbstractAction |
javax.swing.AbstractAction.ArrayTable |
Fields inherited from class javax.swing.AbstractAction |
arrayTable, 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 |
DeleteAction(java.awt.Container contentPane,
java.awt.Component component,
CreateGui app)
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
Actions deleting the component |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, readObject, removePropertyChangeListener, setEnabled, writeObject |
Methods inherited from class java.lang.Object |
, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
label
private java.lang.String label
contentPane
private java.awt.Container contentPane
selected
private PetriNetObject selected
selectedArc
private Arc selectedArc
theApp
private CreateGui theApp
nameLabel
private boolean nameLabel
DeleteAction
public DeleteAction(java.awt.Container contentPane,
java.awt.Component component,
CreateGui app)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Actions deleting the component
- Overrides:
actionPerformed
in class javax.swing.AbstractAction