MWidgets::BaseEventHandler Class Reference

Abstract class for event handlers, used in Widget::ProcessMessage. More...

#include <eventhandler.h>

Inheritance diagram for MWidgets::BaseEventHandler:

MWidgets::EventHandler< T > MWidgets::MouseEventHandler< T > MWidgets::WindowSizeEventHandler< T > List of all members.

Public Member Functions

virtual void Call (Widget *sender)
 Method call real handler.
virtual void Call (Widget *sender, int x, int y, DWORD buttonMask)
 Method call real handler.
virtual void Call (Widget *sender, int left, int top, int right, int bottom)
 Method call real handler.

Detailed Description

Abstract class for event handlers, used in Widget::ProcessMessage.

Definition at line 15 of file eventhandler.h.


Member Function Documentation

void MWidgets::BaseEventHandler::Call ( Widget sender,
int  left,
int  top,
int  right,
int  bottom 
) [virtual]

Method call real handler.

Parameters:
sender poiter to sender object.
left left coordinate of client area.
top top coordinate of client area.
right rightcoordinate of client area.
bottom bottom coordinate of client area.

Reimplemented in MWidgets::WindowSizeEventHandler< T >.

Definition at line 25 of file eventhandler.cpp.

void MWidgets::BaseEventHandler::Call ( Widget sender,
int  x,
int  y,
DWORD  buttonMask 
) [virtual]

Method call real handler.

Parameters:
sender poiter to sender object.
x x-coordinate of the cursor.
y y-coordinate of the cursor.
buttonMask Indicates whether various virtual keys are down,see WM_LBUTTONDOWN.

Reimplemented in MWidgets::MouseEventHandler< T >.

Definition at line 21 of file eventhandler.cpp.

void MWidgets::BaseEventHandler::Call ( Widget sender  )  [virtual]

Method call real handler.

Parameters:
sender poiter to sender object.

Reimplemented in MWidgets::EventHandler< T >.

Definition at line 17 of file eventhandler.cpp.

Referenced by MWidgets::TextBox::OnChange(), MWidgets::ComboBox::OnChange(), MWidgets::Button::OnClick(), MWidgets::Widget::OnCreate(), MWidgets::Widget::OnLeftButtonDown(), MWidgets::Widget::OnRightButtonDown(), and MWidgets::Widget::OnSize().


The documentation for this class was generated from the following files:
Generated on Thu Oct 26 13:47:46 2006 for MWidgets by  doxygen 1.4.7