charva.awt.event
Class ActionEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycharva.awt.event.AWTEvent
          extended bycharva.awt.event.ActionEvent
All Implemented Interfaces:
java.io.Serializable

public class ActionEvent
extends AWTEvent

An event which indicates that a component-defined action (typically the pressing of a button) occurred.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class charva.awt.event.AWTEvent
ACTION_PERFORMED, ADJUSTMENT_EVENT, FOCUS_GAINED, FOCUS_LOST, GARBAGE_COLLECTION, INVOCATION_EVENT, ITEM_STATE_CHANGED, KEY_PRESSED, KEY_TYPED, LIST_SELECTION, MOUSE_EVENT, PAINT_EVENT, RESERVED_ID_MAX, SCROLL_EVENT, SYNC_EVENT, WINDOW_CLOSING, WINDOW_OPENED
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ActionEvent(Component source_, java.lang.String command_)
           
 
Method Summary
 java.lang.String getActionCommand()
          Returns the command string associated with this action.
 
Methods inherited from class charva.awt.event.AWTEvent
getID
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionEvent

public ActionEvent(Component source_,
                   java.lang.String command_)
Method Detail

getActionCommand

public java.lang.String getActionCommand()
Returns the command string associated with this action. This string allows a component to specify one of several commands, depending on its state.