|
NXWidgets
1.19
|
#include <cwindoweventhandlerlist.hxx>
Public Member Functions | |
| CWindowEventHandlerList (void) | |
| ~CWindowEventHandlerList (void) | |
| CWindowEventHandler * | at (const int index) const |
| const nxgl_coord_t | size (void) const |
| void | addWindowEventHandler (CWindowEventHandler *eventHandler) |
| void | removeWindowEventHandler (CWindowEventHandler *eventHandler) |
| void | raiseRedrawEvent (void) |
| void | raiseGeometryEvent (void) |
| void | raiseMouseEvent (void) |
| void | raiseKeyboardEvent (void) |
| void | raiseBlockedEvent (FAR void *arg) |
Protected Member Functions | |
| bool | findWindowEventHandler (CWindowEventHandler *eventHandler, int &index) |
Protected Attributes | |
| TNxArray< CWindowEventHandler * > | m_eventHandlers |
List of window event handlers.
Definition at line 70 of file cwindoweventhandlerlist.hxx.
|
inline |
Constructor.
| widget | The owning widget. |
Definition at line 89 of file cwindoweventhandlerlist.hxx.
|
inline |
Destructor.
Definition at line 95 of file cwindoweventhandlerlist.hxx.
| void CWindowEventHandlerList::addWindowEventHandler | ( | CWindowEventHandler * | eventHandler | ) |
Adds a window event handler. The event handler will receive all events raised by this object.
| eventHandler | A pointer to the event handler. |
Definition at line 61 of file cwindoweventhandlerlist.cxx.
|
inline |
Get the event handler at the specified index.
| index | The index of the event handler. |
Definition at line 104 of file cwindoweventhandlerlist.hxx.
|
protected |
Return the index to the window event handler.
Definition at line 97 of file cwindoweventhandlerlist.cxx.
| void CWindowEventHandlerList::raiseBlockedEvent | ( | FAR void * | arg | ) |
Raise an NX window blocked event.
| arg | - User provided argument (see nx_block or nxtk_block) |
Definition at line 169 of file cwindoweventhandlerlist.cxx.
| void CWindowEventHandlerList::raiseGeometryEvent | ( | void | ) |
Raise an NX window position/size change event.
Definition at line 127 of file cwindoweventhandlerlist.cxx.
| void CWindowEventHandlerList::raiseKeyboardEvent | ( | void | ) |
Raise an NX keybord input event
Definition at line 154 of file cwindoweventhandlerlist.cxx.
| void CWindowEventHandlerList::raiseMouseEvent | ( | void | ) |
Raise an NX mouse window input event.
Definition at line 140 of file cwindoweventhandlerlist.cxx.
| void CWindowEventHandlerList::raiseRedrawEvent | ( | void | ) |
Raise the NX window redraw event.
Definition at line 115 of file cwindoweventhandlerlist.cxx.
| void CWindowEventHandlerList::removeWindowEventHandler | ( | CWindowEventHandler * | eventHandler | ) |
Remove a window event handler.
| eventHandler | A pointer to the event handler to remove. |
Definition at line 80 of file cwindoweventhandlerlist.cxx.
|
inline |
Get the size of the array.
Definition at line 115 of file cwindoweventhandlerlist.hxx.
|
protected |
List of event handlers
Definition at line 73 of file cwindoweventhandlerlist.hxx.
1.8.13