public class EnvironmentEvent
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | OBJECT_CREATEDEvent type when an object has been created. | 
| static java.lang.String | OBJECT_DESTROYEDEvent type when an object has been destroyed. | 
| static java.lang.String | OBJECT_PROPERTY_CHANGEDEvent type when an object has been changed. | 
| protected java.lang.Object | oldvalueThe previous property value (if any). | 
| protected java.lang.String | propertyThe property (if any). | 
| protected IEnvironmentSpace | spaceThe source space. | 
| protected ISpaceObject | spaceobjectThe space object. | 
| protected java.lang.String | typeThe 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()