Package org.eclipse.draw2d
Class ActionEvent
java.lang.Object
java.util.EventObject
org.eclipse.draw2d.ActionEvent
- All Implemented Interfaces:
- Serializable
An event that occurs as a result of an action being performed.
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionActionEvent(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.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the name of the action that was performed.Methods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
ActionEventConstructs a new ActionEvent with source as the source of the event.- Parameters:
- source- The source of the event
 
- 
ActionEventConstructs 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 event
- name- The name of the action
 
 
- 
- 
Method Details- 
getActionNameReturns the name of the action that was performed.- Returns:
- String The name of the action
 
 
-