Package ptolemy.vergil.actor
Class ActorGraphFrame.InstantiateAttributeAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- ptolemy.vergil.actor.ActorGraphFrame.InstantiateAttributeAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Enclosing class:
- ActorGraphFrame
public static class ActorGraphFrame.InstantiateAttributeAction extends javax.swing.AbstractAction
An action to instantiate an attribute given a class name.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstantiateAttributeAction(ExtendedGraphFrame graphFrame, java.lang.String initialLastAttributeClassName)
Create a new action to instantiate an attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
Instantiate a class by first opening a dialog to get a class name and then issuing a change request.-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
InstantiateAttributeAction
public InstantiateAttributeAction(ExtendedGraphFrame graphFrame, java.lang.String initialLastAttributeClassName)
Create a new action to instantiate an attribute.- Parameters:
graphFrame
- The graph frame that will contain this attribute.initialLastAttributeClassName
- The initial value of the class name string in the instantiate attribute dialog.
-
-