All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.eNetwork.beans.HOD.event.ConvertEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.eNetwork.beans.HOD.event.HODEvent
                   |
                   +----com.ibm.eNetwork.beans.HOD.event.ConvertEvent

public class ConvertEvent
extends HODEvent
Event fired to objects implementing ConvertListener interface. The event is used to pass parameters to Codepage Converter and to initialize start of conversion. See Converter for more information.

To use this class properly, follow these steps:

  1. Implement the ConvertListener and add it using addConvertListener().
  2. The execute method of the listener will be called for each custom action encountered.
  3. Get the ID of the action to make help differentiate among multiple custom actions.
  4. Retrieve any arguments.
  5. This event is sent to codepage conversion tool to start the conversion process


Constructor Index

 o ConvertEvent(ActInfo)
Constructs a working instance of a ConvertEvent object.
 o ConvertEvent(Object, ActInfo)
Constructs a working instance of a ConvertEvent object.

Method Index

 o getActInfo()
Gets a conversion attributes into an instance of ActInfo class
 o setActInfo(ActInfo)
Passes a conversion attributes into an instance of ActInfo class

Constructors

 o ConvertEvent
 public ConvertEvent(Object argSrc,
                     ActInfo arg)
Constructs a working instance of a ConvertEvent object.

Parameters:
argSrc - bean object that is the owner of the event
arg - instance of ActInfo class contains conversion attributes
See Also:
ActInfo
 o ConvertEvent
 public ConvertEvent(ActInfo arg)
Constructs a working instance of a ConvertEvent object.

Parameters:
arg - instance of ActInfo class contains conversion attributes
See Also:
ActInfo

Methods

 o setActInfo
 public void setActInfo(ActInfo arg)
Passes a conversion attributes into an instance of ActInfo class

Parameters:
arg - an instance of ActInfo class
See Also:
ActInfo
 o getActInfo
 public ActInfo getActInfo()
Gets a conversion attributes into an instance of ActInfo class

Returns:
an instance of ActInfo class
See Also:
ActInfo

All Packages  Class Hierarchy  This Package  Previous  Next  Index