|
CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
类 BUI::CTreeModelNode 继承关系图:Public 成员函数 | |
| CTreeModelNode () | |
| ~CTreeModelNode () | |
| BOOL | IsVisable (UINT mask) const |
| void | SetCellVisable (BOOL show) |
| 设置节点可见性 | |
| void | SetCellMatched (BOOL matched) |
| 设置节点匹配状态 | |
| void | SetClickAction (std::shared_ptr< IActionNotify > action) |
| 设置节点单击事件 | |
| void | SetExpandRect (int x, int y, int w, int h) |
| 设置扩展按钮矩形区域 | |
| BOOL | PtInExpandRect (POINT pt) |
| 鼠标命中测试扩展按钮 | |
| int | NodeDepth () const |
| 节点深度 | |
| void | OnTranslateLanguage () |
| 语言切换 | |
| BOOL | IsHasChild () |
Public 成员函数 继承自 BUI::CheckBoxMode | |
| CheckBoxMode () | |
| ~CheckBoxMode () | |
| void | SetCheckState (SelectState state) |
| SelectState | CheckState () const |
| void | SetCheckBoxRect (int x, int y, int w, int h) |
| BOOL | PtInCheckBox (POINT pt) const |
| RECT | CheckBoxRect () const |
| void | SetCheckBoxAction (std::shared_ptr< IActionNotify > &action) |
Public 成员函数 继承自 BUI::CTreeRowCell | |
| CTreeRowCell () | |
| ~CTreeRowCell () | |
| UINT | Size () const |
| 单元格总数 | |
| BOOL | InsertDataCell (int column, std::shared_ptr< CNodeSpanCell > &cell) |
| 插入单元格 | |
| void | AppendDataCell (std::shared_ptr< CNodeSpanCell > &cell) |
| 在末尾添加单元格 | |
| void | RemoveDataCell (int column) |
| 删除单元格 | |
| void | Clear () |
| 清除所有单元格 | |
| CNodeSpanCell * | GetSubCell (int col) |
| 获得单元格 | |
| void | OnAllocNodeCell (int nCol, int count) |
| void | OnDeleteCol (int nCol, int count) |
| void | OnNodeCollapsed () |
| void | OnSetNodeRect (int col, int x, int y, int w, int h) |
| void | OnDrawTreeCell (int col, ISurface *pSurface, RECT rcCell, const GColor &color_text, UINT textAlignFlag) |
| BOOL | SetCellSelected (int start, int end, BOOL bSelt) |
Public 属性 | |
| RECT | rc_row |
| RECT | rc_expand |
| BOOL | is_collapsed |
| UINT | visable_flag |
| int | context_x |
| int | row_y |
| int | depth |
| int | line_number |
| ItemState | m_state |
| CTreeModelNode * | prev |
| CTreeModelNode * | next |
| CTreeModelNode * | parent |
| CTreeModelNode * | first_child |
| CTreeModelNode * | last_child |
| CTreeModelNode * | prev_sibling |
| CTreeModelNode * | next_sibling |
| std::shared_ptr< IActionNotify > | click_action |
额外继承的成员函数 | |
Protected 属性 继承自 BUI::CheckBoxMode | |
| RECT | m_rc_checkbox |
| SelectState | m_check_state |
| std::shared_ptr< IActionNotify > | m_checkbox_action |
Protected 属性 继承自 BUI::CTreeRowCell | |
| std::vector< std::shared_ptr< CNodeSpanCell > > | m_row_of_cells |
| BUI::CTreeModelNode::CTreeModelNode | ( | ) |
| BUI::CTreeModelNode::~CTreeModelNode | ( | ) |
| BOOL BUI::CTreeModelNode::IsHasChild | ( | ) |
| int BUI::CTreeModelNode::NodeDepth | ( | ) | const |
节点深度
| void BUI::CTreeModelNode::OnTranslateLanguage | ( | ) |
语言切换
| void BUI::CTreeModelNode::SetCellMatched | ( | BOOL | matched | ) |
设置节点匹配状态
| void BUI::CTreeModelNode::SetCellVisable | ( | BOOL | show | ) |
设置节点可见性
| void BUI::CTreeModelNode::SetClickAction | ( | std::shared_ptr< IActionNotify > | action | ) |
设置节点单击事件
| void BUI::CTreeModelNode::SetExpandRect | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
设置扩展按钮矩形区域
| std::shared_ptr<IActionNotify> BUI::CTreeModelNode::click_action |
| int BUI::CTreeModelNode::context_x |
| int BUI::CTreeModelNode::depth |
| CTreeModelNode* BUI::CTreeModelNode::first_child |
| BOOL BUI::CTreeModelNode::is_collapsed |
| CTreeModelNode* BUI::CTreeModelNode::last_child |
| int BUI::CTreeModelNode::line_number |
| ItemState BUI::CTreeModelNode::m_state |
| CTreeModelNode* BUI::CTreeModelNode::next |
| CTreeModelNode* BUI::CTreeModelNode::next_sibling |
| CTreeModelNode* BUI::CTreeModelNode::parent |
| CTreeModelNode* BUI::CTreeModelNode::prev |
| CTreeModelNode* BUI::CTreeModelNode::prev_sibling |
| RECT BUI::CTreeModelNode::rc_expand |
| RECT BUI::CTreeModelNode::rc_row |
| int BUI::CTreeModelNode::row_y |
| UINT BUI::CTreeModelNode::visable_flag |