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