wxTst::CRSliderUpdateEvent Class Reference

Handle slider update events. More...

#include <CRSliderUpdateEvent.h>

Inheritance diagram for wxTst::CRSliderUpdateEvent:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CRSliderUpdateEvent (wxEvent *event)
 Constructor.
virtual void EmitCpp ()
 Emit event simulation specific C++ code.
virtual bool IsPending () const
 Return true because slider update events are assembled into one.
virtual void Process (CRCapturedEvent **pendingEvt)
 Process event, only called after checking for handling ability.
virtual ~CRSliderUpdateEvent ()
 Destructor.


Detailed Description

Handle slider update events.

Understandably, moving the slider creates several events -- intermediate positions are taken into account as well; cf. text control text update events. Moreover, a range of different events are created:

TODO: Maybe sometimes it is desirable to create intermediate events, so capturing wxEVT_SCROLL_THUMBRELEASE should be used in general, and for in special cases (where intermediate events are of interest) this behaviour should be switched to on???

Definition at line 42 of file CRSliderUpdateEvent.h.


Constructor & Destructor Documentation

wxTst::CRSliderUpdateEvent::CRSliderUpdateEvent ( wxEvent *  event  ) 

Constructor.

Parameters:
event event to handle

Definition at line 25 of file CRSliderUpdateEvent.cpp.

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

Destructor.

Definition at line 32 of file CRSliderUpdateEvent.cpp.


Member Function Documentation

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

bool wxTst::CRSliderUpdateEvent::IsPending (  )  const [virtual]

Return true because slider update events are assembled into one.

Returns:
true

Reimplemented from wxTst::CRCapturedEvent.

Definition at line 38 of file CRSliderUpdateEvent.cpp.

void wxTst::CRSliderUpdateEvent::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 44 of file CRSliderUpdateEvent.cpp.

References wxTst::CRWindowHierarchyHandler::FindContainerName(), wxTst::CRCapturedEvent::GetEvent(), wxTst::CRWindowHierarchyHandler::GetInstance(), and wxTst::CRCapturedEvent::m_event.


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