Inheritance diagram for os::TreeViewNode:
Public Member Functions | |
TreeViewNode () | |
virtual | ~TreeViewNode () |
void | AttachToView (View *pcView, int nColumn)=0 |
void | SetRect (const Rect &cRect, int nColumn)=0 |
virtual float | GetWidth (View *pcView, int nColumn)=0 |
virtual float | GetHeight (View *pcView)=0 |
virtual void | Paint (const Rect &cFrame, View *pcView, uint nColumn, bool bSelected, bool bHighlighted, bool bHasFocus)=0 |
virtual bool | IsLessThan (const ListViewRow *pcOther, uint nColumn) const=0 |
virtual bool | HitTest (View *pcView, const Rect &cFrame, int nColumn, Point cPos) |
void | SetIndent (uint nIndent) |
Set indentation depth. | |
uint | GetIndent () const |
Get indentation depth. | |
void | SetExpanded (bool bExpanded) |
Set expanded state. | |
bool | IsExpanded () const |
Get expanded state. | |
TreeView * | GetOwner () const |
Get owner. | |
bool | IsLastSibling () const |
Check if node has more siblings. | |
Protected Member Functions | |
void | _DrawExpanderCross (View *pcView, const Rect &cRect) |
Draw expander cross. | |
Rect | _ExpanderCrossPos (const Rect &cFrame) const |
Get expander position. | |
void | _SetOwner (TreeView *pcOwner) |
Set owner. | |
void | _SetLinePositions (uint32 nLPos) |
Set line positions. | |
uint32 | _GetLinePositions () const |
Get line positions. | |
void | _SetLastSibling (bool bIsLast) |
Set LastSibling. | |
Friends | |
class | TreeView |
Classes | |
class | Private |
TreeViewNode::TreeViewNode | ( | ) |
TreeViewNode::~TreeViewNode | ( | ) | [virtual] |
void os::TreeViewNode::AttachToView | ( | View * | pcView, | |
int | nColumn | |||
) | [pure virtual] |
void os::TreeViewNode::SetRect | ( | const Rect & | cRect, | |
int | nColumn | |||
) | [pure virtual] |
virtual float os::TreeViewNode::GetWidth | ( | View * | pcView, | |
int | nColumn | |||
) | [pure virtual] |
virtual float os::TreeViewNode::GetHeight | ( | View * | pcView | ) | [pure virtual] |
virtual bool os::TreeViewNode::IsLessThan | ( | const ListViewRow * | pcOther, | |
uint | nColumn | |||
) | const [pure virtual] |
bool TreeViewNode::HitTest | ( | View * | pcView, | |
const Rect & | cFrame, | |||
int | nColumn, | |||
Point | cPos | |||
) | [virtual] |
Reimplemented from os::ListViewRow.
void TreeViewNode::SetIndent | ( | uint | nIndent | ) |
nIndent | Indentation depth. |
uint TreeViewNode::GetIndent | ( | ) | const |
void TreeViewNode::SetExpanded | ( | bool | bExpanded | ) |
bool TreeViewNode::IsExpanded | ( | ) | const |
TreeView * TreeViewNode::GetOwner | ( | ) | const |
bool TreeViewNode::IsLastSibling | ( | ) | const |
void TreeViewNode::_SetOwner | ( | TreeView * | pcOwner | ) | [protected] |
void TreeViewNode::_SetLinePositions | ( | uint32 | nLPos | ) | [protected] |
uint32 TreeViewNode::_GetLinePositions | ( | ) | const [protected] |
void TreeViewNode::_SetLastSibling | ( | bool | bIsLast | ) | [protected] |
friend class TreeView [friend] |