|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
路由事件参数基类。 更多...
#include <ywgtevt.h>


Public 类型 | |
| enum | RoutingStrategy { Bubble = 0, Tunnel = 1, Direct = 2 } |
| 事件路由策略枚举。 更多... | |
Public 成员函数 | |
| RoutedEventArgs (IWidget &wgt, RoutingStrategy strategy=Direct) | |
Public 成员函数 继承自 YSLib::UI::UIEventArgs | |
| UIEventArgs (IWidget &wgt) | |
| UIEventArgs (const UIEventArgs &)=default | |
| 复制构造:默认实现。 | |
| UIEventArgs & | operator= (const UIEventArgs &)=default |
| 复制赋值:默认实现。 | |
| IWidget & | GetSender () const ynothrow |
| void | SetSender (IWidget &wgt) |
Public 属性 | |
| RoutingStrategy | Strategy |
| 事件路由策略。 | |
| bool | Handled |
| 事件已经被处理。 | |
|
inline |
| bool YSLib::UI::RoutedEventArgs::Handled |
事件已经被处理。
参考自 YSLib::UI::GUIState::ResponseKey() , 以及 YSLib::UI::GUIState::ResponseTouch().
| RoutingStrategy YSLib::UI::RoutedEventArgs::Strategy |
事件路由策略。
参考自 YSLib::UI::GUIState::ResponseKey() , 以及 YSLib::UI::GUIState::ResponseTouch().