gnu.jemacs.buffer
Class Command

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--javax.swing.text.TextAction
              |
              +--gnu.jemacs.buffer.Command

public class Command
extends javax.swing.text.TextAction

An Action that causes a command (such as a Procedure) to be excuted.

See Also:
Serialized Form

Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 java.lang.Object getCommand()
           
static void perform(java.lang.Object command)
          Perform a given command as appropriate for its class.
 
Methods inherited from class javax.swing.text.TextAction
augmentList, getFocusedComponent, getTextComponent
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCommand

public final java.lang.Object getCommand()

perform

public static void perform(java.lang.Object command)
Perform a given command as appropriate for its class.

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Overrides:
actionPerformed in class javax.swing.AbstractAction