class XObjectEventListener: public XEventListener

Listener for registration at broker

Inheritance:

XObjectEventListener - XEventListener


Public Methods

[more]virtual bool ProcessEvent(XEvent *__Event)
Receives incoming events and distributes them between the following processing methods.
[more]virtual bool ProcessMouseEvent(XMouseEvent *__Event)
Process a mouse event (EV_MOUSE).
[more]virtual bool ProcessKeyboardEvent(XKeyboardEvent *__Event)
Process a keyboard event (EV_KEYBOARD)
[more]virtual bool ProcessMessage(XMessage *__Event)
Process a message (EV_MESSAGE)
[more]virtual bool ProcessCommand(XMessage *__Event)
Process a command (EV_COMMAND)
[more]virtual bool ProcessSignal(XEvent *__Event)
Process a signal (EV_SIGNAL)
[more]virtual bool ProcessBroadcast(XEvent *__Event)
Process a broadcast event (EV_BROADCAST)


Inherited from XEventListener:


Documentation

Listener for registration at broker
ovirtual bool ProcessEvent(XEvent *__Event)
Receives incoming events and distributes them between the following processing methods. These methods should be overloaded for active objects, of course only for event classes the respective object cares. If the object treats the event, these functions must returns true, otherwise false. That's because Xterminal can't figure out all the times which object an event is for. Instead, events are passed to all registered listeners and then objects are watched to see which is responding to it (an example of such event is an mouse event). Once the event gets processed, the remaining listeners does not receive it any more.

ovirtual bool ProcessMouseEvent(XMouseEvent *__Event)
Process a mouse event (EV_MOUSE). Be careful with this kind of events because you must check if the mouse pointer is inside object's bounds, otherwise you must return false!

ovirtual bool ProcessKeyboardEvent(XKeyboardEvent *__Event)
Process a keyboard event (EV_KEYBOARD)

ovirtual bool ProcessMessage(XMessage *__Event)
Process a message (EV_MESSAGE)

ovirtual bool ProcessCommand(XMessage *__Event)
Process a command (EV_COMMAND)

ovirtual bool ProcessSignal(XEvent *__Event)
Process a signal (EV_SIGNAL)

ovirtual bool ProcessBroadcast(XEvent *__Event)
Process a broadcast event (EV_BROADCAST)


Direct child classes:
XObject

Go to the hierarchy of classes.


Copyright ©1998 Bernd Kalbfuss
Last update on October 27, 2001

This page was generated with the help of DOC++.