net.sourceforge.ganttproject.document
Class OpenDocumentAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--net.sourceforge.ganttproject.document.OpenDocumentAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class OpenDocumentAction
extends javax.swing.AbstractAction

Author:
Michael Haeusler (michael at akatose.de)
See Also:
Serialized Form

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
OpenDocumentAction(int index, Document document, java.awt.event.ActionListener listener)
          Creates a new action, that stores the specified document and invokes the specified listener.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
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

OpenDocumentAction

public OpenDocumentAction(int index,
                          Document document,
                          java.awt.event.ActionListener listener)
Creates a new action, that stores the specified document and invokes the specified listener.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)


Copyright © 2002 Alexandre THOMAS.