Pyro higlevel API
Public Member Functions | List of all members
os::TreeViewCheckNode Class Reference
Inheritance diagram for os::TreeViewCheckNode:
os::TreeViewStringNode os::TreeViewNode os::ListViewRow

Public Member Functions

 TreeViewCheckNode (os::Messenger *target=NULL)
 
virtual ~TreeViewCheckNode ()
 
virtual void Paint (const Rect &cFrame, View *pcView, uint nColumn, bool bSelected, bool bHighlighted, bool bHasFocus)
 
virtual bool HitTest (View *pcView, const Rect &cFrame, int nColumn, Point cPos)
 
void Toggle (os::View *pcView, os::TreeView *pcOwner=NULL)
 
void SetChecked (bool bChecked)
 
bool IsChecked ()
 
- Public Member Functions inherited from os::TreeViewStringNode
 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 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 ()
 
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...
 

Constructor & Destructor Documentation

TreeViewCheckNode::TreeViewCheckNode ( os::Messenger target = NULL)
TreeViewCheckNode::~TreeViewCheckNode ( )
virtual

Member Function Documentation

bool TreeViewCheckNode::HitTest ( View pcView,
const Rect cFrame,
int  nColumn,
Point  cPos 
)
virtual
bool TreeViewCheckNode::IsChecked ( )
void TreeViewCheckNode::Paint ( const Rect cFrame,
View pcView,
uint  nColumn,
bool  bSelected,
bool  bHighlighted,
bool  bHasFocus 
)
virtual
void TreeViewCheckNode::SetChecked ( bool  bChecked)

Referenced by Toggle().

void TreeViewCheckNode::Toggle ( os::View pcView,
os::TreeView pcOwner = NULL 
)