|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes any system event. Events can be generated by hardware (keyboard, mouse) as well as by software (commands and broadcasts). Not all events neccessarily pass through the system event queue; you may organize point-to-point event flows between some plugins and so on. The events can be generated by the event outlet (see the CreateEvent method in iEventOutlet) if you don't want to create your own implementations of this interface. On the other hand, if you want to provide extra functionality you may subclass iEvent interface and add another interface (say iExtEvent) then you may query that interface using normal SCF QueryInterface method.
Method Summary | |
byte |
Category()
Event category (unused by CSWS). |
void |
Category(byte category)
Event category (unused by CSWS). |
csEventCommandData |
Command()
Command data of event. |
void |
Command(csEventCommandData command)
Command data of event. |
byte |
Flags()
Miscelaneous event flags. |
void |
Flags(byte flags)
Miscelaneous event flags. |
csEventJoystickData |
Joystick()
Joystick data of event. |
void |
Joystick(csEventJoystickData joystick)
Joystick data of event. |
csEventMouseData |
Mouse()
Mouse data of event. |
void |
Mouse(csEventMouseData mouse)
Mouse data of event. |
csEventNetworkData |
Network()
Network data of event. |
void |
Network(csEventNetworkData network)
Network data of event. |
byte |
SubCategory()
Even finer granularity. |
void |
SubCategory(byte subCategory)
Even finer granularity. |
int |
Time()
Time when the event occured. |
void |
Time(int time)
Time when the event occured. |
byte |
Type()
Event type (one of csevKeyDown etc.). |
void |
Type(byte type)
Event type (one of csevKeyDown etc.). |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Method Detail |
public byte Type()
public void Type(byte type)
type
- public byte Category()
public void Category(byte category)
category
- public byte SubCategory()
public void SubCategory(byte subCategory)
subCategory
- public byte Flags()
public void Flags(byte flags)
flags
- public int Time()
public void Time(int time)
time
- public csEventCommandData Command()
public void Command(csEventCommandData command)
command
- public csEventMouseData Mouse()
public void Mouse(csEventMouseData mouse)
mouse
- public csEventJoystickData Joystick()
public void Joystick(csEventJoystickData joystick)
joystick
- public csEventNetworkData Network()
public void Network(csEventNetworkData network)
network
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |