public class ExtensionObjectEvent
extends java.util.EventObject
ExtensionObject
,
ExtensionListener2.extensionObjectChanged(ExtensionObjectEvent, com.spss.psapi.session.SystemSession)
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
CONTAINERS_CHANGED
Indicates that containers in an extension object were updated.
|
static int |
CONTAINERS_CONSTRUCTED
Indicates that the output containers defined by the extension object's execution
element have been constructed.
|
static int |
DERIVED_OBJECT_CONSTRUCTED
Indicates to the extension object that another object was derived from it.
|
static int |
EXECUTION_STARTED
Indicates that the extension object is being executed.
|
static int |
EXECUTION_STOPPED
Indicates to the extension object that execution has stopped.
|
static int |
PROPERTIES_CHANGED
Indicates that properties in an extension object were updated.
|
Constructor and Description |
---|
ExtensionObjectEvent(ExtensionObject extensionObject,
int eventType)
Constructs an ExtensionObjectEvent.
|
ExtensionObjectEvent(ExtensionObject extensionObject,
int eventType,
ContentContainerProvider containerProvider)
Constructs an ExtensionObjectEvent which takes a constructed object.
|
Modifier and Type | Method and Description |
---|---|
ExtensionObject |
getConstructedObject()
Returns the constructed ExtensionObject for
DERIVED_OBJECT_CONSTRUCTED events
or null otherwise. |
ContentContainerProvider |
getContainerProvider()
Returns the container provider for
CONTAINERS_CONSTRUCTED , the constructed
object for DERIVED_OBJECT_CONSTRUCTED events
or null otherwise. |
int |
getEventType()
Returns the type of event.
|
ExtensionObject |
getExtensionObject()
Returns the ExtensionObject that generated this event.
|
public static final int PROPERTIES_CHANGED
public static final int CONTAINERS_CHANGED
public static final int EXECUTION_STARTED
public static final int EXECUTION_STOPPED
public static final int DERIVED_OBJECT_CONSTRUCTED
getConstructedObject()
,
Constant Field Valuespublic static final int CONTAINERS_CONSTRUCTED
getContainerProvider()
,
Constant Field Valuespublic ExtensionObjectEvent(ExtensionObject extensionObject, int eventType)
extensionObject
- the source objecteventType
- the type of eventpublic ExtensionObjectEvent(ExtensionObject extensionObject, int eventType, ContentContainerProvider containerProvider)
extensionObject
- the source objecteventType
- the type of event which should be of type ExtensionObjectEvent.DERIVED_OBJECT_CONSTRUCTED
containerProvider
- the container provider or the constructed objectpublic ExtensionObject getExtensionObject()
public int getEventType()
public ContentContainerProvider getContainerProvider()
CONTAINERS_CONSTRUCTED
, the constructed
object for DERIVED_OBJECT_CONSTRUCTED
events
or null
otherwise. A delegate can use the CONTAINERS_CONSTRUCTED
to create, modify or delete containers associated with the execution before they have been
assigned to their owner element by modifying the supplied container provider.null
public ExtensionObject getConstructedObject()
DERIVED_OBJECT_CONSTRUCTED
events
or null
otherwise.Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.