com.ibm.ui.framework
Class TaskEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.ibm.ui.framework.TaskEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TaskActionEvent

public abstract class TaskEvent
extends EventObject

The abstract base class from which all event classes in the Unity Toolkit are derived. The "source" object for Unity Toolkit events is always the WindowManager instance that is managing the task which generated the event. TaskEvent also stores the name of the task element which caused the event to be generated.

Since:
v5r1m0
Version:
1.0 08/30/00
Author:
D. Petty
See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
protected  String m_element
          The name of the task element which caused the event to be generated.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Constructor and Description
TaskEvent(WindowManager source, String element)
          Constructs a new TaskEvent.
 
Method Summary
Modifier and Type Method and Description
 String getElementName()
          Returns the name of the task element which caused the event to be generated.
 
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
 

Field Detail

m_element

protected String m_element
The name of the task element which caused the event to be generated.

Constructor Detail

TaskEvent

public TaskEvent(WindowManager source,
                 String element)
Constructs a new TaskEvent.

Parameters:
source - The WindowManager instance that is managing the current task.
element - The name of the task element which caused the event to be generated, as specified in the AUIML.
Since:
v5r1m0
Method Detail

getElementName

public String getElementName()
Returns the name of the task element which caused the event to be generated.

Returns:
The name of the task element which caused the event to be generated, as defined in the AUIML.
Since:
v5r1m0