LibreOffice Module test (master) 1
|
Base helper class to send events to a window. More...
#include <eventposter.hxx>
Public Member Functions | |
virtual | ~EventPosterHelperBase () |
virtual void | postKeyEventAsync (int nType, int nCharCode, int nKeyCode) const =0 |
void | postKeyEventAsync (int nCharCode, int nKeyCode) const |
Posts a full key down/up cycle. More... | |
virtual void | postExtTextEventAsync (int nType, const OUString &rText) const =0 |
void | postExtTextEventAsync (const OUString &rText) const |
Posts a full text input + commit sequence. More... | |
Base helper class to send events to a window.
Implementations of this helper will usually just wrap an implementation of post*Event*() calls. This class is mostly useful to encapsulate the calls when getting the target window is not trivial or is only relevant to sending events, and to have a generic event poster interface.
Additionally, this class provides simplified helpers to send event pairs, like key down/up, or text+commit, to make it easier on the common case for callers.
Definition at line 34 of file eventposter.hxx.
|
inlinevirtual |
Definition at line 37 of file eventposter.hxx.
|
inline |
Posts a full text input + commit sequence.
Definition at line 53 of file eventposter.hxx.
|
pure virtual |
Implemented in test::EventPosterHelper, and test::EventPosterHelper.
Posts a full key down/up cycle.
Definition at line 43 of file eventposter.hxx.
|
pure virtual |
Implemented in test::EventPosterHelper, and test::EventPosterHelper.