public class ObjectEvent extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ObjectEvent.PrimitiveEventType
Primitive Event type
|
Modifier and Type | Field and Description |
---|---|
static ObjectEvent.PrimitiveEventType |
OBJECT_DESTROYED |
static ObjectEvent.PrimitiveEventType |
OBJECT_REMOVED |
Constructor and Description |
---|
ObjectEvent(Object type)
Creates a new ObjectEvent
|
Modifier and Type | Method and Description |
---|---|
Object |
getParameter(String parameter)
Returns an event parameter.
|
Set |
getParameters()
Returns the parameters.
|
Object |
getType()
Returns the event type.
|
boolean |
hasParameters()
Returns whether the event has parameters.
|
void |
setParameter(String parameter,
Object obj)
Sets an event parameter.
|
public static final ObjectEvent.PrimitiveEventType OBJECT_DESTROYED
public static final ObjectEvent.PrimitiveEventType OBJECT_REMOVED
public ObjectEvent(Object type)
type
- event typepublic Object getType()
public boolean hasParameters()
public Set getParameters()
public Object getParameter(String parameter)
parameter
- parameter nameCopyright © 2013. All Rights Reserved.