wxTst::CRTextUpdateEvent Class Reference

Handles text update events. More...

#include <CRTextUpdateEvent.h>

Inheritance diagram for wxTst::CRTextUpdateEvent:

Inheritance graph
[legend]
Collaboration diagram for wxTst::CRTextUpdateEvent:

Collaboration graph
[legend]

List of all members.

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.


Detailed Description

Handles text update events.

Definition at line 30 of file CRTextUpdateEvent.h.


Constructor & Destructor Documentation

wxTst::CRTextUpdateEvent::CRTextUpdateEvent ( wxEvent *  event  ) 

Constructor.

Parameters:
event event to handle

Definition at line 29 of file CRTextUpdateEvent.cpp.

wxTst::CRTextUpdateEvent::~CRTextUpdateEvent (  )  [virtual]

Destructor.

Definition at line 36 of file CRTextUpdateEvent.cpp.


Member Function Documentation

void wxTst::CRTextUpdateEvent::EmitCpp (  )  [virtual]

wxString wxTst::CRTextUpdateEvent::GetEscaped ( const wxString &  str  )  const [protected, virtual]

Make given string escaped (e.g. "\" -> "\\"); used for emitting new text value.

Parameters:
str string to escape
Returns:
escaped string

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.

Returns:
true, if this event is irrelevant

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.

Returns:
true

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.

Parameters:
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().


The documentation for this class was generated from the following files:

wxWidgets Logo Get wxGuiTesting at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated on Tue Mar 17 17:29:30 2009 for wxGuiTesting by doxygen 1.5.5