SkyGI::ListViewRow Class Reference

Inheritance diagram for SkyGI::ListViewRow:
[legend]
Collaboration diagram for SkyGI::ListViewRow:
[legend]
List of all members.

Public Member Functions

 ListViewRow (void *vpCookie=NULL)
virtual ~ListViewRow ()
void Append (ListViewNode *pListViewNode)
ListViewNodeGetNode (int iIndex) const
int GetNodes ()
FontGetFont ()
void SetListView (ListView *pListView)
virtual void Paint (const Rect &rFrame, const Rect &rDirty)
ListViewGetListView ()
virtual void Select (bool bSelect, const InputEvent &nInputEvent)
bool IsSelected ()
void SetIcon (Image *pImage)
ImageGetIcon ()
void * GetCookie ()
void SetCookie (void *vpCookie)
virtual bool IsLessThan (const ListViewRow *pRow, int iColumn) const
int Height ()
int SetHeight (int iHeight)
void SetRect (const Rect &rRect)
Rect GetRect ()
void SetDefaultHeight (int iDefaultHeight)
void Show (bool bShow=true)
bool IsVisible ()
void Append (ListViewRow *pListViewRow)
int GetRowCount (bool bRecursive=false)
ListViewRowGetFirst ()
ListViewRowGetNext ()
ListViewRowGetPrev ()
void RemoveAll (bool bDelete=true)
void SortRows (int iSortColumn, bool bSortChildren)
void RemoveRow (ListViewRow *pRow, bool bDelete=true)
ListViewRowGetParent ()
void SetIndent (int iIndent)
int GetIndent ()
bool Collapsed ()
void Collapse (bool bCollapse)
Rect GetCollapseBoxRect ()
void SetCollapsedImage (Image *pImage)
void SetExpandedImage (Image *pImage)
virtual void MouseDown (const InputEvent &nInputEvent)
virtual void MouseUp (const InputEvent &nInputEvent)
virtual void MouseMove (const InputEvent &nInputEvent)
virtual void MouseEnter (const InputEvent &nInputEvent)
virtual void MouseLeave (const InputEvent &nInputEvent)
virtual void OnContextMenu (ListViewRow *pRow, const InputEvent &nInputEvent)
virtual void SetToolTip (ToolTip *pToolTip, int iPopupDelay=-1, Point pOffset=Point(0, 0))
virtual void SetVisibleState (bool bVisible, bool bChild)

Public Attributes

signal2< ListViewRow *, const
InputEvent & > 
ContextMenu
signal1< const InputEvent & > Selected

Friends

class ListView

Detailed Description

Examples:

listview.cpp, and networkinterface.cpp.


Constructor & Destructor Documentation

ListViewRow::ListViewRow ( void *  vpCookie = NULL  ) 

ListViewRow::~ListViewRow (  )  [virtual]


Member Function Documentation

void ListViewRow::Append ( ListViewNode pListViewNode  ) 

Examples:
listview.cpp, and networkinterface.cpp.

ListViewNode * ListViewRow::GetNode ( int  iIndex  )  const

Examples:
listview.cpp, and networkinterface.cpp.

int SkyGI::ListViewRow::GetNodes (  )  [inline]

Examples:
listview.cpp.

Font * ListViewRow::GetFont (  ) 

void ListViewRow::SetListView ( ListView pListView  ) 

void ListViewRow::Paint ( const Rect rFrame,
const Rect rDirty 
) [virtual]

ListView* SkyGI::ListViewRow::GetListView (  )  [inline]

void ListViewRow::Select ( bool  bSelect,
const InputEvent nInputEvent 
) [virtual]

Reimplemented in SkyGI::ListViewQueryRow.

bool ListViewRow::IsSelected (  ) 

void ListViewRow::SetIcon ( Image pImage  ) 

Examples:
listview.cpp.

Image * ListViewRow::GetIcon (  ) 

void * ListViewRow::GetCookie (  ) 

void ListViewRow::SetCookie ( void *  vpCookie  ) 

bool ListViewRow::IsLessThan ( const ListViewRow pRow,
int  iColumn 
) const [virtual]

int ListViewRow::Height (  ) 

int ListViewRow::SetHeight ( int  iHeight  ) 

Set the height for a ListViewRow

Description:
If you set the height for ListViewRow which already is inserted into the list make sure to call ListView::Refresh to force a recomputation of the ListViewRow rectangles
See also:
ListView::Refresh, Height, ListView::Append

void ListViewRow::SetRect ( const Rect rRect  ) 

Rect SkyGI::ListViewRow::GetRect (  )  [inline]

void ListViewRow::SetDefaultHeight ( int  iDefaultHeight  ) 

void ListViewRow::Show ( bool  bShow = true  ) 

Show/Hide a ListViewRow

Description:
If you show/hide a ListViewRow which is already inserted into a ListView make sure to call ListView::Refresh after this function to force a recomputation of the ListViewRow rectangles
See also:
ListView::Refresh, Height, ListView::Append
Examples:
listview.cpp.

bool ListViewRow::IsVisible (  ) 

void ListViewRow::Append ( ListViewRow pListViewRow  ) 

int ListViewRow::GetRowCount ( bool  bRecursive = false  ) 

Examples:
listview.cpp.

ListViewRow* SkyGI::ListViewRow::GetFirst (  )  [inline]

Examples:
listview.cpp.

ListViewRow* SkyGI::ListViewRow::GetNext (  )  [inline]

Examples:
listview.cpp.

ListViewRow* SkyGI::ListViewRow::GetPrev (  )  [inline]

void ListViewRow::RemoveAll ( bool  bDelete = true  ) 

void ListViewRow::SortRows ( int  iSortColumn,
bool  bSortChildren 
)

void ListViewRow::RemoveRow ( ListViewRow pRow,
bool  bDelete = true 
)

ListViewRow* SkyGI::ListViewRow::GetParent (  )  [inline]

void SkyGI::ListViewRow::SetIndent ( int  iIndent  )  [inline]

int SkyGI::ListViewRow::GetIndent (  )  [inline]

bool ListViewRow::Collapsed (  ) 

void ListViewRow::Collapse ( bool  bCollapse  ) 

Rect ListViewRow::GetCollapseBoxRect (  ) 

void SkyGI::ListViewRow::SetCollapsedImage ( Image pImage  )  [inline]

void SkyGI::ListViewRow::SetExpandedImage ( Image pImage  )  [inline]

void ListViewRow::MouseDown ( const InputEvent nInputEvent  )  [virtual]

Reimplemented in SkyGI::ListViewQueryRow.

void ListViewRow::MouseUp ( const InputEvent nInputEvent  )  [virtual]

void ListViewRow::MouseMove ( const InputEvent nInputEvent  )  [virtual]

void ListViewRow::MouseEnter ( const InputEvent nInputEvent  )  [virtual]

void ListViewRow::MouseLeave ( const InputEvent nInputEvent  )  [virtual]

void ListViewRow::OnContextMenu ( ListViewRow pRow,
const InputEvent nInputEvent 
) [virtual]

void ListViewRow::SetToolTip ( ToolTip pToolTip,
int  iPopupDelay = -1,
Point  pOffset = Point(0, 0) 
) [virtual]

void ListViewRow::SetVisibleState ( bool  bVisible,
bool  bChild 
) [virtual]


Friends And Related Function Documentation

friend class ListView [friend]


Member Data Documentation

signal2<ListViewRow*, const InputEvent&> SkyGI::ListViewRow::ContextMenu

signal1<const InputEvent&> SkyGI::ListViewRow::Selected


Generated on Thu Dec 13 18:14:31 2007 for SkyGI by  doxygen 1.5.1-p1