|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
带滚动条的文本列表框。 更多...
#include <ComboList.h>


Public 类型 | |
| using | ListType = TextList::ListType |
| using | ViewArgs = TextList::ViewArgs |
| using | HViewEvent = TextList::HViewEvent |
| using | IndexType = TextList::IndexType |
| using | ItemType = TextList::ItemType |
| using | iterator = ystdex::subscriptive_iterator< ListBox, IWidget > |
Public 类型 继承自 YSLib::UI::ScrollableContainer | |
| using | iterator = ystdex::subscriptive_iterator< ScrollableContainer, IWidget > |
Protected 属性 | |
| TextList | tlContent |
Protected 属性 继承自 YSLib::UI::ScrollableContainer | |
| HorizontalScrollBar | hsbHorizontal |
| 控制水平可视区域的水平滚动条。 更多... | |
| VerticalScrollBar | vsbVertical |
| 控制竖直可视区域的竖直滚动条。 更多... | |
Protected 属性 继承自 YSLib::UI::Control | |
| GetBoundControlPtr | |
额外继承的成员函数 | |
Protected 成员函数 继承自 YSLib::UI::ScrollableContainer | |
| Size | FixLayout (const Size &) |
| 固定布局。 更多... | |
Protected 成员函数 继承自 YSLib::UI::Control | |
| Control (const Rect &, HBrush, Drawing::Color=Drawing::ColorSpace::Black) | |
| 构造:使用指定边界、背景画刷和前景色。 更多... | |
| Control (const Control &) | |
| 复制构造:除容器为空外深复制。 更多... | |
| DefDeMoveCtor (Control) virtual PDefH(IWidget * | |
| 取按键-指针设备输入默认事件组映射。 更多... | |
| const KeyInput & | ImplRet (nullptr) void OnTouch_Close(CursorEventArgs &&) |
| 处理屏幕事件:关闭显示。 更多... | |
| using YSLib::UI::ListBox::HViewEvent = TextList::HViewEvent |
在文件 ComboList.h 第 53 行定义.
| using YSLib::UI::ListBox::IndexType = TextList::IndexType |
在文件 ComboList.h 第 55 行定义.
| using YSLib::UI::ListBox::ItemType = TextList::ItemType |
在文件 ComboList.h 第 57 行定义.
| using YSLib::UI::ListBox::iterator = ystdex::subscriptive_iterator<ListBox, IWidget> |
在文件 ComboList.h 第 59 行定义.
| using YSLib::UI::ListBox::ListType = TextList::ListType |
在文件 ComboList.h 第 51 行定义.
| using YSLib::UI::ListBox::ViewArgs = TextList::ViewArgs |
在文件 ComboList.h 第 52 行定义.
在文件 ComboList.cpp 第 61 行定义.
参考 YSLib::UI::Widget::Background, YSLib::UI::ScrollableContainer::FixLayout(), YSLib::UI::AScrollBar::GetTrackRef(), YSLib::UI::SetSizeOf(), tlContent , 以及 YSLib::UI::ScrollableContainer::vsbVertical.

| YSLib::UI::ListBox::DefDeMoveCtor | ( | ListBox | ) |
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged YSLib::UI::ListBox::DefEventGetter | ( | ynothrow | , |
| HIndexEvent | , | ||
| Selected | , | ||
| tlContent. | Selected | ||
| ) |
< 视图变更事件。
| Selected | 项目选择状态变更事件。 |
| tlContent ListType::size_type i tlContent YSLib::UI::ListBox::DefGetterMem | ( | const ynothrow | , |
| ListType::size_type | , | ||
| SelectedIndex | , | ||
| tlContent | |||
| ) | const |
| tlContent ListType::size_type i tlContent const ListType tlContent YSLib::UI::ListBox::DefGetterMem | ( | ynothrow | , |
| ListType & | , | ||
| ListRef | , | ||
| tlContent | |||
| ) |
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed YSLib::UI::ListBox::DefSetterMem | ( | const shared_ptr< ListType > & | , |
| List | , | ||
| tlContent | |||
| ) |
< 项目选中确定事件。
设置文本列表。
设置选中项。
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed ListType::size_type i YSLib::UI::ListBox::ImplBodyMem | ( | tlContent | , |
| SetSelected | , | ||
| i | |||
| ) |
按内容大小依次调整列表视图中选中和首个项目的索引。
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed ListType::size_type i YSLib::UI::ListBox::ImplBodyMem | ( | tlContent | , |
| AdjustViewForContent | |||
| ) |
调整视图长度。
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed ListType::size_type i YSLib::UI::ListBox::ImplBodyMem | ( | tlContent | , |
| AdjustViewLength | |||
| ) |
清除选中项。
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed ListType::size_type i YSLib::UI::ListBox::ImplBodyMem | ( | tlContent | , |
| ClearSelected | |||
| ) |
查找项。
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed ListType::size_type i const ItemType& text YSLib::UI::ListBox::ImplBodyMem | ( | tlContent | , |
| Find | , | ||
| text | |||
| ) |
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed ListType::size_type i const ItemType& text YSLib::UI::ListBox::ImplBodyMem | ( | tlContent | , |
| ResetView | |||
| ) | const |
按指定大小上限和内容调整大小。
| sup | 指定调整的大小的上限,当为 Size() 时忽略大小限制。 |
| s | 指定大小,分量为 0 时对应分量大小由内容确定(其中宽度含边距)。 |
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed ListType::size_type i YSLib::UI::ListBox::AdjustViewForContent |
在文件 ComboList.h 第 114 行定义.
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed ListType::size_type i YSLib::UI::ListBox::AdjustViewLength |
在文件 ComboList.h 第 122 行定义.
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed ListType::size_type i YSLib::UI::ListBox::ClearSelected |
在文件 ComboList.h 第 130 行定义.
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged YSLib::UI::ListBox::Confirmed |
在文件 ComboList.h 第 92 行定义.
| tlContent YSLib::UI::ListBox::Contains |
在文件 ComboList.h 第 78 行定义.
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed ListType::size_type i YSLib::UI::ListBox::Find |
在文件 ComboList.h 第 138 行定义.
| tlContent ListType::size_type i YSLib::UI::ListBox::HeadIndex |
在文件 ComboList.h 第 81 行定义.
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged YSLib::UI::ListBox::HIndexEvent |
在文件 ComboList.h 第 92 行定义.
| tlContent ListType::size_type i tlContent const ListType tlContent YSLib::UI::ListBox::HViewEvent |
在文件 ComboList.h 第 88 行定义.
在文件 ComboList.h 第 85 行定义.
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed ListType::size_type i const ItemType& text YSLib::UI::ListBox::ResetView |
在文件 ComboList.h 第 141 行定义.
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed ListType::size_type i const ItemType& text Size YSLib::UI::ListBox::s = {}) |
在文件 ComboList.h 第 151 行定义.
| tlContent ListType::size_type i tlContent const ListType tlContent tlContent ViewChanged tlContent Confirmed YSLib::UI::ListBox::SetSelected |
在文件 ComboList.h 第 105 行定义.
|
protected |
在文件 ComboList.h 第 66 行定义.
参考自 ListBox().
在文件 ComboList.h 第 88 行定义.