Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_TV_DataBrowserRow Class Reference

Inheritance diagram for CP_TV_DataBrowserRow:

CP_NoCopy List of all members.

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_DataBrowserGetOwnerDataBrowser ()
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_ArrayGetChildRowList ()
CP_TV_DataBrowserRowFindRow (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_DataBrowserfOwnerDataBrowser
UInt32 fID
CP_DataBrowserCellData_ArrayfRowData
CP_Rows_ArrayfChildRows
CP_Rect fRowBounds
SInt16 fRowIndent
UInt32 fRowFlags

Private Member Functions

Events
bool HandleClickInDisclosure (const CP_Point &inMouseLocation)

Constructor & Destructor Documentation

CP_TV_DataBrowserRow::CP_TV_DataBrowserRow CP_TV_DataBrowser inOwnerDataBrowser,
UInt32  inID = 0
 

Constructor.

CP_TV_DataBrowserRow::~CP_TV_DataBrowserRow  )  throw () [virtual]
 

Destructor.


Member Function Documentation

CP_S_TV_DB_CellData CP_TV_DataBrowserRow::GetCellData SInt32  inCol  ) 
 

void CP_TV_DataBrowserRow::SetCellData SInt32  inCol,
CP_S_TV_DB_CellData inCellData
 

void CP_TV_DataBrowserRow::Draw CP_Canvas inDestCanvas  ) 
 

void CP_TV_DataBrowserRow::HandleContentHandlerEditing SInt32  inColumn  ) 
 

void CP_TV_DataBrowserRow::HandleClick const CP_Point inMouseLocation  )  [virtual]
 

CP_TV_DataBrowser* CP_TV_DataBrowserRow::GetOwnerDataBrowser  ) 
 

CP_Rect CP_TV_DataBrowserRow::GetBounds  )  const
 

Returns the bounds of this row.

Exceptions:
none 
Returns:
CP_Rect const Bounds of the row.

CP_Rect CP_TV_DataBrowserRow::GetColBounds SInt32  inRow,
SInt32  inColumn
const
 

SInt16 CP_TV_DataBrowserRow::GetRowIndent  ) 
 

UInt32 CP_TV_DataBrowserRow::GetFlags  ) 
 

UInt32 CP_TV_DataBrowserRow::GetID  )  const
 

Returns the identifier of this row.

Exceptions:
none 
Returns:
UInt32 const Identifier for this row.

void CP_TV_DataBrowserRow::SetID UInt32  inID  ) 
 

Sets the identifier of this row.

Parameters:
inID Identifier for this row.
Exceptions:
none 
Returns:
void

bool CP_TV_DataBrowserRow::HasChildren  )  const
 

void CP_TV_DataBrowserRow::AddChild CP_TV_DataBrowserRow inChildRow  ) 
 

void CP_TV_DataBrowserRow::Expand  ) 
 

void CP_TV_DataBrowserRow::Collapse  ) 
 

bool CP_TV_DataBrowserRow::IsExpanded  ) 
 

CP_Rows_Array* CP_TV_DataBrowserRow::GetChildRowList  ) 
 

CP_TV_DataBrowserRow * CP_TV_DataBrowserRow::FindRow UInt32  inID  ) 
 

void CP_TV_DataBrowserRow::SetBounds const CP_Rect inBounds  ) 
 

void CP_TV_DataBrowserRow::SetRowHeight SInt32  inRowHeight  ) 
 

void CP_TV_DataBrowserRow::SetRowIndent SInt16  inIndent  ) 
 

void CP_TV_DataBrowserRow::SetFlags UInt32  inFlags  ) 
 

void CP_TV_DataBrowserRow::SetNumberColumns SInt32  inRow,
SInt32  inNumberCols
 

void CP_TV_DataBrowserRow::HandleExpanding  )  [virtual]
 

void CP_TV_DataBrowserRow::HandleCollapsing  )  [virtual]
 

void CP_TV_DataBrowserRow::DrawDisclosure CP_Canvas inDestCanvas,
const CP_Rect inDisclosureBounds
[protected, virtual]
 

CP_Rect CP_TV_DataBrowserRow::GetDisclosureBounds  )  const [protected]
 

SInt32 CP_TV_DataBrowserRow::GetColumn const CP_Point inMouseLocation  )  [protected]
 

void CP_TV_DataBrowserRow::OnExpand  )  [protected, virtual]
 

void CP_TV_DataBrowserRow::OnCollapse  )  [protected, virtual]
 

bool CP_TV_DataBrowserRow::HandleClickInDisclosure const CP_Point inMouseLocation  )  [private]
 


Member Data Documentation

CP_TV_DataBrowser* CP_TV_DataBrowserRow::fOwnerDataBrowser [protected]
 

UInt32 CP_TV_DataBrowserRow::fID [protected]
 

The CP_TV_DataBrowser that contains this row

CP_DataBrowserCellData_Array* CP_TV_DataBrowserRow::fRowData [protected]
 

The identifier of this row

CP_Rows_Array* CP_TV_DataBrowserRow::fChildRows [protected]
 

holds any user taged data for this row.

CP_Rect CP_TV_DataBrowserRow::fRowBounds [protected]
 

List of child rows for this row.

SInt16 CP_TV_DataBrowserRow::fRowIndent [protected]
 

The bounds of this row.

UInt32 CP_TV_DataBrowserRow::fRowFlags [protected]
 

Distance to edge of first column.


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:02:23 2005 for CPLAT by  doxygen 1.4.0