pipe.gui
Class LabelAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bypipe.gui.LabelAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class LabelAction
extends javax.swing.AbstractAction

Action object that can be used to effect labelling a component.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  java.awt.Container contentPane
           
private  java.lang.String label
           
private  PetriNetObject selected
           
 
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
LabelAction(java.awt.Container contentPane, java.awt.Component component)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Prompts the user for a label
 
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

label

private java.lang.String label

contentPane

private java.awt.Container contentPane

selected

private PetriNetObject selected
Constructor Detail

LabelAction

public LabelAction(java.awt.Container contentPane,
                   java.awt.Component component)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Prompts the user for a label