Pyro higlevel API
Classes | Public Member Functions | List of all members
os::TreeViewStringNode Class Reference

TreeView node containing strings. More...

Inheritance diagram for os::TreeViewStringNode:
os::TreeViewNode os::ListViewRow os::TreeViewCheckNode

Classes

class  Private
 

Public Member Functions

 TreeViewStringNode ()
 
virtual ~TreeViewStringNode ()
 
void AttachToView (View *pcView, int nColumn)
 
void SetRect (const Rect &cRect, int nColumn)
 
virtual float GetWidth (View *pcView, int nColumn)
 
virtual float GetHeight (View *pcView)
 
virtual void Paint (const Rect &cFrame, View *pcView, uint nColumn, bool bSelected, bool bHighlighted, bool bHasFocus)
 
virtual bool IsLessThan (const ListViewRow *pcOther, uint nColumn) const
 
void AppendString (const String &cString)
 
void SetString (int nIndex, const String &cString)
 
const StringGetString (int nIndex) const
 
void SetIcon (Image *pcIcon)
 
ImageGetIcon () const
 
uint32 GetTextFlags () const
 
void SetTextFlags (uint32 nTextFlags) const
 
- Public Member Functions inherited from os::TreeViewNode
 TreeViewNode ()
 
virtual ~TreeViewNode ()
 
virtual bool HitTest (View *pcView, const Rect &cFrame, int nColumn, Point cPos)
 
void SetIndent (uint nIndent)
 Set indentation depth. More...
 
uint GetIndent () const
 Get indentation depth. More...
 
void SetExpanded (bool bExpanded)
 Set expanded state. More...
 
bool IsExpanded () const
 Get expanded state. More...
 
TreeViewGetOwner () const
 Get owner. More...
 
bool IsLastSibling () const
 Check if node has more siblings. More...
 
- Public Member Functions inherited from os::ListViewRow
 ListViewRow ()
 
virtual ~ListViewRow ()
 
virtual void SetCookie (Variant cCookie)
 
virtual Variant GetCookie (void)
 
void SetIsSelectable (bool bSelectable)
 
bool IsSelectable () const
 
bool IsSelected () const
 
bool IsHighlighted () const
 
void SetIsVisible (bool bVisible)
 
bool IsVisible () const
 

Additional Inherited Members

- Protected Member Functions inherited from os::TreeViewNode
void _DrawExpanderCross (View *pcView, const Rect &cRect)
 Draw expander cross. More...
 
Rect _ExpanderCrossPos (const Rect &cFrame) const
 Get expander position. More...
 
void _SetOwner (TreeView *pcOwner)
 Set owner. More...
 
void _SetLinePositions (uint32 nLPos)
 Set line positions. More...
 
uint32 _GetLinePositions () const
 Get line positions. More...
 
void _SetLastSibling (bool bIsLast)
 Set LastSibling. More...
 

Detailed Description

Description:
See Also
Author
Henrik Isaksson (henri.nosp@m.k@is.nosp@m.aksso.nosp@m.n.tk)

Constructor & Destructor Documentation

TreeViewStringNode::TreeViewStringNode ( )
TreeViewStringNode::~TreeViewStringNode ( )
virtual

Member Function Documentation

void TreeViewStringNode::AppendString ( const String cString)
void TreeViewStringNode::AttachToView ( View pcView,
int  nColumn 
)
virtual
float TreeViewStringNode::GetHeight ( View pcView)
virtual
Image * TreeViewStringNode::GetIcon ( ) const
const String & TreeViewStringNode::GetString ( int  nIndex) const
uint32 TreeViewStringNode::GetTextFlags ( ) const
float TreeViewStringNode::GetWidth ( View pcView,
int  nColumn 
)
virtual
bool TreeViewStringNode::IsLessThan ( const ListViewRow pcOther,
uint  nColumn 
) const
virtual

Implements os::TreeViewNode.

References GetString().

void TreeViewStringNode::Paint ( const Rect cFrame,
View pcView,
uint  nColumn,
bool  bSelected,
bool  bHighlighted,
bool  bHasFocus 
)
virtual
void TreeViewStringNode::SetIcon ( Image pcIcon)
void TreeViewStringNode::SetRect ( const Rect cRect,
int  nColumn 
)
virtual

Implements os::TreeViewNode.

void TreeViewStringNode::SetString ( int  nIndex,
const String cString 
)
void TreeViewStringNode::SetTextFlags ( uint32  nTextFlags) const