Inheritance diagram for CP_TV_DataBrowserRow:
Public Member Functions | |
virtual | ~CP_TV_DataBrowserRow () throw () |
Destructor. | |
virtual void | HandleExpanding () |
virtual void | HandleCollapsing () |
Constructor / Destructor | |
CP_TV_DataBrowserRow (CP_TV_DataBrowser *inOwnerDataBrowser, UInt32 inID=0) | |
Constructor. | |
Data | |
CP_S_TV_DB_CellData | GetCellData (SInt32 inCol) |
void | SetCellData (SInt32 inCol, CP_S_TV_DB_CellData &inCellData) |
Drawing | |
void | Draw (CP_Canvas &inDestCanvas) |
Editing | |
void | HandleContentHandlerEditing (SInt32 inColumn) |
Events | |
virtual void | HandleClick (const CP_Point &inMouseLocation) |
Getters | |
CP_TV_DataBrowser * | GetOwnerDataBrowser () |
CP_Rect | GetBounds () const |
CP_Rect | GetColBounds (SInt32 inRow, SInt32 inColumn) const |
SInt16 | GetRowIndent () |
UInt32 | GetFlags () |
Identifier | |
UInt32 | GetID () const |
void | SetID (UInt32 inID) |
Parent / Child Rows | |
bool | HasChildren () const |
void | AddChild (CP_TV_DataBrowserRow *inChildRow) |
void | Expand () |
void | Collapse () |
bool | IsExpanded () |
CP_Rows_Array * | GetChildRowList () |
CP_TV_DataBrowserRow * | FindRow (UInt32 inID) |
Setters | |
void | SetBounds (const CP_Rect &inBounds) |
void | SetRowHeight (SInt32 inRowHeight) |
void | SetRowIndent (SInt16 inIndent) |
void | SetFlags (UInt32 inFlags) |
void | SetNumberColumns (SInt32 inRow, SInt32 inNumberCols) |
Protected Member Functions | |
SInt32 | GetColumn (const CP_Point &inMouseLocation) |
virtual void | OnExpand () |
virtual void | OnCollapse () |
Disclosure | |
virtual void | DrawDisclosure (CP_Canvas &inDestCanvas, const CP_Rect &inDisclosureBounds) |
CP_Rect | GetDisclosureBounds () const |
Protected Attributes | |
CP_TV_DataBrowser * | fOwnerDataBrowser |
UInt32 | fID |
CP_DataBrowserCellData_Array * | fRowData |
CP_Rows_Array * | fChildRows |
CP_Rect | fRowBounds |
SInt16 | fRowIndent |
UInt32 | fRowFlags |
Private Member Functions | |
Events | |
bool | HandleClickInDisclosure (const CP_Point &inMouseLocation) |
|
Constructor. |
|
Destructor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the bounds of this row.
|
|
|
|
|
|
|
|
Returns the identifier of this row.
|
|
Sets the identifier of this row.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The CP_TV_DataBrowser that contains this row |
|
The identifier of this row |
|
holds any user taged data for this row. |
|
List of child rows for this row. |
|
The bounds of this row. |
|
Distance to edge of first column. |