org.eclipse.draw2d
Class ActionEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.eclipse.draw2d.ActionEvent
- All Implemented Interfaces:
- Serializable
- public class ActionEvent
- extends EventObject
An event that occurs as a result of an action being performed.
- See Also:
- Serialized Form
Constructor Summary |
ActionEvent(Object source)
Constructs a new ActionEvent with source as the source of the event. |
ActionEvent(Object source,
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. |
ActionEvent
public ActionEvent(Object source)
- Constructs a new ActionEvent with source as the source of the event.
- Parameters:
source
- The source of the event
ActionEvent
public ActionEvent(Object source,
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.
- Parameters:
source
- The source of the eventname
- The name of the action
getActionName
public String getActionName()
- Returns the name of the action that was performed.
- Returns:
- String The name of the action
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.