ptolemy.vergil.basic
Class BasicGraphFrame.OpenContainerAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ptolemy.vergil.basic.BasicGraphFrame.OpenContainerAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Enclosing class:
BasicGraphFrame

private class BasicGraphFrame.OpenContainerAction
extends javax.swing.AbstractAction

An action to open the container of this entity.


Field Summary
 
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
BasicGraphFrame.OpenContainerAction(java.lang.String description)
          Construct an open container action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          Open the parent container, if any.
 
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
 

Constructor Detail

BasicGraphFrame.OpenContainerAction

public BasicGraphFrame.OpenContainerAction(java.lang.String description)
Construct an open container action. This action opens the container of this class. If this entity is the toplevel then the icon is disabled.

Parameters:
description - A string that describes the action. Spaces are permitted, each word is usually capitalized.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Open the parent container, if any.

Parameters:
event - The action event, ignored by this method.