public class EnvironmentEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OBJECT_CREATED
Event type when an object has been created.
|
static java.lang.String |
OBJECT_DESTROYED
Event type when an object has been destroyed.
|
static java.lang.String |
OBJECT_PROPERTY_CHANGED
Event type when an object has been changed.
|
protected java.lang.Object |
oldvalue
The previous property value (if any).
|
protected java.lang.String |
property
The property (if any).
|
protected IEnvironmentSpace |
space
The source space.
|
protected ISpaceObject |
spaceobject
The space object.
|
protected java.lang.String |
type
The event type.
|
Constructor and Description |
---|
EnvironmentEvent(java.lang.String type,
IEnvironmentSpace space,
ISpaceObject object,
java.lang.String property,
java.lang.Object oldvalue)
Create a new environment event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getOldValue()
Get the previous property value.
|
java.lang.String |
getProperty()
Get the property.
|
IEnvironmentSpace |
getSpace()
Get the source space.
|
ISpaceObject |
getSpaceObject()
Get the space object.
|
java.lang.String |
getType()
Get the event type.
|
public static final java.lang.String OBJECT_CREATED
public static final java.lang.String OBJECT_DESTROYED
public static final java.lang.String OBJECT_PROPERTY_CHANGED
protected java.lang.String type
protected IEnvironmentSpace space
protected ISpaceObject spaceobject
protected java.lang.String property
protected java.lang.Object oldvalue
public EnvironmentEvent(java.lang.String type, IEnvironmentSpace space, ISpaceObject object, java.lang.String property, java.lang.Object oldvalue)
public java.lang.String getType()
public IEnvironmentSpace getSpace()
public ISpaceObject getSpaceObject()
public java.lang.String getProperty()
public java.lang.Object getOldValue()