com.ibm.ui.framework
Class TaskActionEvent

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

public class TaskActionEvent
extends TaskEvent

An event which is delivered to the actionPerformed method on TaskActionListener when a user has performed one of the actions defined on a task. TaskActionEvent provides a command string as an aid in identifying the action that was performed.

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

Field Summary
Modifier and Type Field and Description
 
Fields inherited from class com.ibm.ui.framework.TaskEvent
m_element
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Constructor and Description
TaskActionEvent(WindowManager source, String element, String command)
          Constructs a new TaskActionEvent.
 
Method Summary
Modifier and Type Method and Description
 String getActionCommand()
          Returns the command string associated with the event.
 String toString()
          Returns a string representation of this event.
 
Methods inherited from class com.ibm.ui.framework.TaskEvent
getElementName
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskActionEvent

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

Parameters:
source - The WindowManager instance that is managing the task on which the user performed an action.
element - The name of the task element on which the user performed the action, as defined in the PDML.
command - The command string associated with the event.
Since:
v5r1m0
Method Detail

getActionCommand

public String getActionCommand()
Returns the command string associated with the event.

Returns:
The command associated with the event.
Since:
v5r1m1

toString

public String toString()
Returns a string representation of this event.

Overrides:
toString in class EventObject
Returns:
A string representation of the event.
Since:
v5r1m0