#include <CRTextUpdateEvent.h>


Public Member Functions | |
| CRTextUpdateEvent (wxEvent *event) | |
| Constructor. | |
| virtual void | EmitCpp () |
| Emit event simulation specific C++ code. | |
| virtual bool | IsIrrelevant () const |
| Return true for text updates of double typed spin controls. | |
| virtual bool | IsPending () const |
| Return true because text update events are assembled into one. | |
| virtual void | Process (CRCapturedEvent **pendingEvt) |
| Process event, only called after checking for handling ability. | |
| virtual | ~CRTextUpdateEvent () |
| Destructor. | |
Protected Member Functions | |
| virtual wxString | GetEscaped (const wxString &str) const |
| Make given string escaped (e.g. "\" -> "\\"); used for emitting new text value. | |
Definition at line 30 of file CRTextUpdateEvent.h.
| wxTst::CRTextUpdateEvent::CRTextUpdateEvent | ( | wxEvent * | event | ) |
| wxTst::CRTextUpdateEvent::~CRTextUpdateEvent | ( | ) | [virtual] |
| void wxTst::CRTextUpdateEvent::EmitCpp | ( | ) | [virtual] |
Emit event simulation specific C++ code.
Implements wxTst::CRCapturedEvent.
Definition at line 109 of file CRTextUpdateEvent.cpp.
References wxTst::CRCppEmitter::AddCode(), wxTst::CRCppEmitter::AddContainerLookupCode(), GetEscaped(), wxTst::CRCppEmitter::GetInstance(), and wxTst::CRCppEmitter::MakeVarName().
| wxString wxTst::CRTextUpdateEvent::GetEscaped | ( | const wxString & | str | ) | const [protected, virtual] |
Make given string escaped (e.g. "\" -> "\\"); used for emitting new text value.
| str | string to escape |
Definition at line 180 of file CRTextUpdateEvent.cpp.
Referenced by EmitCpp().
| bool wxTst::CRTextUpdateEvent::IsIrrelevant | ( | ) | const [virtual] |
Return true for text updates of double typed spin controls.
Reimplemented from wxTst::CRCapturedEvent.
Definition at line 48 of file CRTextUpdateEvent.cpp.
| bool wxTst::CRTextUpdateEvent::IsPending | ( | ) | const [virtual] |
Return true because text update events are assembled into one.
Reimplemented from wxTst::CRCapturedEvent.
Definition at line 42 of file CRTextUpdateEvent.cpp.
| void wxTst::CRTextUpdateEvent::Process | ( | CRCapturedEvent ** | pendingEvt | ) | [virtual] |
Process event, only called after checking for handling ability.
| pendingEvt | current pending event with respect to code emitting (or NULL if none is pending) |
Implements wxTst::CRCapturedEvent.
Definition at line 54 of file CRTextUpdateEvent.cpp.
References wxTst::CRWindowHierarchyHandler::FindContainerName(), wxTst::CRCapturedEvent::GetEvent(), wxTst::CRWindowHierarchyHandler::GetInstance(), wxTst::EventSimulationHelper::IsSettingSpinCtrlValue(), wxTst::CRCapturedEvent::m_event, and wxTst::EventSimulationHelper::SetSpinCtrlValue().
1.5.5