ibm.techexplorer.event
Class InstanceEvent
java.lang.Object
|
+--ibm.techexplorer.util.EventObject
|
+--ibm.techexplorer.event.InstanceEvent
- public class InstanceEvent
- extends EventObject
Description
The InstanceEvent
notifies Java applets of techexplorer life
cycle changes. The life cycle of the techexplorer plug-in is dictated by the
web browser. At various stages in techexplorer's life cycle, several occurrences
may be of interest to Java applets. Such occurrences include techexplorer
initialization and shutdown as well as instance creation and destruction.
Current Restriction: To date, the InstanceEvent
is
only used as a mechanism for notifying Java applets
that a techexplorer instance is going to be deleted. Please be referred to the
Getting Started section for more information
regarding the life cycle of the techexplorer plug-in
- See Also:
EventObject
,
InstanceListener
,
InstanceAdaptor
Constructor Summary |
InstanceEvent(java.lang.Object source,
java.lang.String documentName,
java.lang.String listenerClass,
java.lang.String objectName,
int id)
Constructs an InstanceEvent object with the specified techexplorer source
instance, document source identifier, listener class, document object name,
and event type. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TECHEXPLORER_INSTANCE_DELETE
public static final int TECHEXPLORER_INSTANCE_DELETE
- Event identifier indicating that techexplorer instance is going to be deleted.
InstanceEvent
public InstanceEvent(java.lang.Object source,
java.lang.String documentName,
java.lang.String listenerClass,
java.lang.String objectName,
int id)
- Constructs an InstanceEvent object with the specified techexplorer source
instance, document source identifier, listener class, document object name,
and event type.
- Parameters:
source
- The object where the event originated.documentName
- The name of the document that triggered the event.listenerClass
- The category of listeners that will receive notification of this event.objectName
- The name of the document object that triggered the event.id
- Event identifier (TECHEXPLORER_INSTANCE_DELETE
)