|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.application.space.envsupport.environment.EnvironmentEvent
public class EnvironmentEvent
An event in the environment (related to some space object).
| Field Summary | |
|---|---|
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. |
protected Object |
oldvalue
The previous property value (if any). |
protected String |
property
The property (if any). |
protected IEnvironmentSpace |
space
The source space. |
protected ISpaceObject |
spaceobject
The space object. |
protected String |
type
The event type. |
| Constructor Summary | |
|---|---|
EnvironmentEvent(String type,
IEnvironmentSpace space,
ISpaceObject object,
String property,
Object oldvalue)
Create a new environment event. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OBJECT_CREATED
public static final String OBJECT_DESTROYED
public static final String OBJECT_PROPERTY_CHANGED
protected String type
protected IEnvironmentSpace space
protected ISpaceObject spaceobject
protected String property
protected Object oldvalue
| Constructor Detail |
|---|
public EnvironmentEvent(String type,
IEnvironmentSpace space,
ISpaceObject object,
String property,
Object oldvalue)
| Method Detail |
|---|
public String getType()
public IEnvironmentSpace getSpace()
public ISpaceObject getSpaceObject()
public String getProperty()
public Object getOldValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||