public class ActionEvent
extends java.util.EventObject
Constructor and Description |
---|
ActionEvent(java.lang.Object source)
Constructs a new ActionEvent with source as the source of the
event.
|
ActionEvent(java.lang.Object source,
java.lang.String name)
Constructs a new ActionEvent with source as the source of the
event and name as the name of the action that was performed.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionName()
Returns the name of the action that was performed.
|
public ActionEvent(java.lang.Object source)
source
- The source of the eventpublic ActionEvent(java.lang.Object source, java.lang.String name)
source
- The source of the eventname
- The name of the actionCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.