ExcelAccessor Bean Suite

com.ibm.excelaccessor.event
Class ExcelFormatEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ibm.excelaccessor.event.ExcelFormatEvent
All Implemented Interfaces:
java.io.Serializable

public class ExcelFormatEvent
extends java.util.EventObject

This is the event class to support the com.ibm.excelaccessor.ExcelFormatListener interface. This event is fired when the content of the ExcelFormatModel bean has been successfully filled from or saved to an Excel workbook.

See Also:
Serialized Form

Field Summary
static int FILLED
          The id for the FILLED type of event.
static int SAVED
          The id for the SAVED type of event.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ExcelFormatEvent(java.lang.Object source, int reason)
          ExcelFormatEvent constructor
 
Method Summary
 int getId()
          Returns an id indicating the type of event.
 void setId(int pId)
          Sets the id indicating the type of event.
 
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

FILLED

public static final int FILLED
The id for the FILLED type of event.

SAVED

public static final int SAVED
The id for the SAVED type of event.
Constructor Detail

ExcelFormatEvent

public ExcelFormatEvent(java.lang.Object source,
                        int reason)
ExcelFormatEvent constructor
Parameters:
source - java.lang.Object The event source object
reason - int The id for the event
Method Detail

getId

public int getId()
Returns an id indicating the type of event.
Returns:
The id indicating the type of event.

setId

public void setId(int pId)
Sets the id indicating the type of event.
Parameters:
pId - int The type of the event.

ExcelAccessor Bean Suite

ExcelAccessor Bean Suite