|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.shirako.core.Event
public class Event
| Field Summary | |
|---|---|
protected IActor |
actor
The actor this event is associated with |
protected int |
component
Component id |
static int |
ComponentConfig
|
static int |
ComponentDatabase
|
static int |
ComponentManager
|
static int |
ComponentNodeGroup
|
static int |
ComponentSlicesPlugin
|
protected int |
id
Event id |
protected java.lang.Object |
subject
The subject of the event |
| Constructor Summary | |
|---|---|
Event(IActor actor,
java.lang.Object subject,
int component,
int id)
|
|
| Method Summary | |
|---|---|
IActor |
getActor()
Returns the actor this event is associated with. |
int |
getComponent()
Returns the identifier of the the component that raised the event: e.g., actor class, configuration object, actor proxy, etc. |
int |
getId()
Returns the identifier of the event type (unique within the component). |
java.lang.Object |
getSubject()
Returns the subject of the event. |
void |
setActor(IActor actor)
|
void |
setComponent(int component)
|
void |
setId(int id)
|
void |
setSubject(java.lang.Object subject)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ComponentManager
public static final int ComponentConfig
public static final int ComponentDatabase
public static final int ComponentSlicesPlugin
public static final int ComponentNodeGroup
protected IActor actor
protected java.lang.Object subject
protected int component
protected int id
| Constructor Detail |
|---|
public Event(IActor actor,
java.lang.Object subject,
int component,
int id)
| Method Detail |
|---|
public IActor getActor()
IEvent
getActor in interface IEventpublic void setActor(IActor actor)
actor - the actor to setpublic int getComponent()
IEvent
getComponent in interface IEventpublic void setComponent(int component)
component - the component to setpublic int getId()
IEvent
getId in interface IEventpublic void setId(int id)
id - the id to setpublic java.lang.Object getSubject()
IEvent
getSubject in interface IEventpublic void setSubject(java.lang.Object subject)
subject - the subject to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||