NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
wxTreeListItem Class Reference
Collaboration diagram for wxTreeListItem:

Public Member Functions

 wxTreeListItem ()
 
 wxTreeListItem (wxTreeListMainWindow *owner, wxTreeListItem *parent, const wxArrayString &text, int image, int selImage, wxTreeItemData *data)
 
 ~wxTreeListItem ()
 
wxArrayTreeListItems & GetChildren ()
 
const wxString GetText (int column) const
 
int GetImage (wxTreeItemIcon which=wxTreeItemIcon_Normal) const
 
int GetImage (int column, wxTreeItemIcon which=wxTreeItemIcon_Normal) const
 
wxTreeItemData * GetData () const
 
wxTreeItemData * GetData (int column) const
 
const wxString * GetToolTip () const
 
int GetCurrentImage () const
 
void SetHasPlus (bool has=true)
 
void SetText (int column, const wxString &text)
 
void SetImage (int image, wxTreeItemIcon which)
 
void SetImage (int column, int image, wxTreeItemIcon which)
 
void SetData (wxTreeItemData *data)
 
void SetData (int column, wxTreeItemData *data)
 
void SetBold (bool bold)
 
void SetBold (int column, bool bold)
 
void SetToolTip (const wxString &tip)
 
bool HasChildren () const
 
bool IsSelected () const
 
bool IsExpanded () const
 
bool HasPlus () const
 
bool IsBold () const
 
bool IsBold (int column) const
 
bool IsVirtual () const
 
int GetX () const
 
int GetY () const
 
void SetX (int x)
 
void SetY (int y)
 
int GetHeight () const
 
int GetWidth () const
 
void SetHeight (int height)
 
void SetWidth (int width)
 
int GetTextX () const
 
void SetTextX (int text_x)
 
wxTreeListItemGetItemParent () const
 
void SetItemParent (wxTreeListItem *parent)
 
size_t GetChildrenCount (bool recursively=true) const
 
void GetSize (int &x, int &y, const wxTreeListMainWindow *)
 
wxTreeListItemHitTest (const wxPoint &point, const wxTreeListMainWindow *, int &flags, int &column, int level)
 
void DeleteChildren ()
 
void Insert (wxTreeListItem *child, size_t index)
 
void Expand ()
 
void Collapse ()
 
void SetHilight (bool set=true)
 
wxTreeItemAttr * GetAttributes (int column) const
 
wxTreeItemAttr * GetAttributes () const
 
wxTreeItemAttr & Attr (int column)
 
wxTreeItemAttr & Attr ()
 

Private Attributes

wxTreeListMainWindowm_owner
 
wxArrayTreeListItems m_children
 
wxTreeListItemm_parent
 
wxCoord m_x
 
wxCoord m_y
 
wxCoord m_text_x
 
short m_width
 
unsigned char m_height
 
short m_images [wxTreeItemIcon_Max]
 
wxString * m_toolTip
 
int m_isCollapsed: 1
 
int m_hasHilight: 1
 
int m_hasPlus: 1
 
wxArrayString m_text
 
wxTreeListItemCellAttr m_props_row
 
wxTreeListItemCellAttrHash m_props_cell
 

Detailed Description

Definition at line 902 of file treelistctrl.cpp.

Constructor & Destructor Documentation

◆ wxTreeListItem() [1/2]

wxTreeListItem::wxTreeListItem ( )
inline

Definition at line 907 of file treelistctrl.cpp.

◆ wxTreeListItem() [2/2]

wxTreeListItem::wxTreeListItem ( wxTreeListMainWindow owner,
wxTreeListItem parent,
const wxArrayString &  text,
int  image,
int  selImage,
wxTreeItemData *  data 
)

◆ ~wxTreeListItem()

wxTreeListItem::~wxTreeListItem ( )

Definition at line 1991 of file treelistctrl.cpp.

References _T, m_children, m_props_cell, and m_toolTip.

Member Function Documentation

◆ Attr() [1/2]

wxTreeItemAttr & wxTreeListItem::Attr ( )
inline

Definition at line 1230 of file treelistctrl.cpp.

◆ Attr() [2/2]

wxTreeItemAttr & wxTreeListItem::Attr ( int  column)
inline

◆ Collapse()

void wxTreeListItem::Collapse ( )
inline

Definition at line 1187 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::Collapse().

◆ DeleteChildren()

void wxTreeListItem::DeleteChildren ( )

Definition at line 2005 of file treelistctrl.cpp.

References m_children.

◆ Expand()

void wxTreeListItem::Expand ( )
inline

◆ GetAttributes() [1/2]

wxTreeItemAttr * wxTreeListItem::GetAttributes ( ) const
inline

Definition at line 1209 of file treelistctrl.cpp.

◆ GetAttributes() [2/2]

wxTreeItemAttr * wxTreeListItem::GetAttributes ( int  column) const
inline

◆ GetChildren()

◆ GetChildrenCount()

size_t wxTreeListItem::GetChildrenCount ( bool  recursively = true) const

Definition at line 2010 of file treelistctrl.cpp.

References m_children.

Referenced by wxTreeListMainWindow::GetCount().

◆ GetCurrentImage()

int wxTreeListItem::GetCurrentImage ( ) const

Definition at line 2164 of file treelistctrl.cpp.

References GetImage(), IsExpanded(), IsSelected(), and NO_IMAGE.

Referenced by wxTreeListMainWindow::GetItemWidth(), and wxTreeListMainWindow::PaintItem().

Here is the call graph for this function:

◆ GetData() [1/2]

wxTreeItemData * wxTreeListItem::GetData ( ) const
inline

Definition at line 952 of file treelistctrl.cpp.

◆ GetData() [2/2]

wxTreeItemData * wxTreeListItem::GetData ( int  column) const
inline

Definition at line 956 of file treelistctrl.cpp.

◆ GetHeight()

int wxTreeListItem::GetHeight ( ) const
inline

◆ GetImage() [1/2]

int wxTreeListItem::GetImage ( int  column,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
) const
inline

Definition at line 940 of file treelistctrl.cpp.

References wxTreeListCtrl::GetMainColumn(), and NO_IMAGE.

Here is the call graph for this function:

◆ GetImage() [2/2]

int wxTreeListItem::GetImage ( wxTreeItemIcon  which = wxTreeItemIcon_Normal) const
inline

Definition at line 936 of file treelistctrl.cpp.

Referenced by GetCurrentImage(), and wxTreeListMainWindow::PaintItem().

◆ GetItemParent()

◆ GetSize()

void wxTreeListItem::GetSize ( int &  x,
int &  y,
const wxTreeListMainWindow theButton 
)

Definition at line 2023 of file treelistctrl.cpp.

References wxTreeListMainWindow::GetLineHeight(), GetWidth(), IsExpanded(), m_children, m_x, and m_y.

Referenced by wxTreeListMainWindow::AdjustMyScrollbars(), and wxTreeListMainWindow::ScrollTo().

Here is the call graph for this function:

◆ GetText()

const wxString wxTreeListItem::GetText ( int  column) const
inline

Definition at line 929 of file treelistctrl.cpp.

References wxTreeListCtrl::GetItemText().

Referenced by wxTreeListMainWindow::CalculateSize(), wxTreeListMainWindow::EditLabel(), wxTreeListMainWindow::GetItemWidth(), and wxTreeListMainWindow::PaintItem().

Here is the call graph for this function:

◆ GetTextX()

int wxTreeListItem::GetTextX ( ) const
inline

Definition at line 1142 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::EditLabel().

◆ GetToolTip()

const wxString * wxTreeListItem::GetToolTip ( ) const
inline

Definition at line 963 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::OnMouse().

◆ GetWidth()

int wxTreeListItem::GetWidth ( ) const
inline

◆ GetX()

int wxTreeListItem::GetX ( ) const
inline

◆ GetY()

◆ HasChildren()

◆ HasPlus()

◆ HitTest()

◆ Insert()

void wxTreeListItem::Insert ( wxTreeListItem child,
size_t  index 
)
inline

Definition at line 1178 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::DoInsertItem().

◆ IsBold() [1/2]

bool wxTreeListItem::IsBold ( ) const
inline

◆ IsBold() [2/2]

bool wxTreeListItem::IsBold ( int  column) const
inline

Definition at line 1093 of file treelistctrl.cpp.

◆ IsExpanded()

◆ IsSelected()

◆ IsVirtual()

bool wxTreeListItem::IsVirtual ( ) const
inline

Definition at line 1099 of file treelistctrl.cpp.

◆ SetBold() [1/2]

void wxTreeListItem::SetBold ( bool  bold)
inline

Definition at line 1036 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::SetItemBold().

◆ SetBold() [2/2]

void wxTreeListItem::SetBold ( int  column,
bool  bold 
)
inline

Definition at line 1040 of file treelistctrl.cpp.

◆ SetData() [1/2]

void wxTreeListItem::SetData ( int  column,
wxTreeItemData *  data 
)
inline

Definition at line 1022 of file treelistctrl.cpp.

◆ SetData() [2/2]

void wxTreeListItem::SetData ( wxTreeItemData *  data)
inline

Definition at line 1018 of file treelistctrl.cpp.

◆ SetHasPlus()

void wxTreeListItem::SetHasPlus ( bool  has = true)
inline

◆ SetHeight()

void wxTreeListItem::SetHeight ( int  height)
inline

Definition at line 1133 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::CalculateSize().

◆ SetHilight()

◆ SetImage() [1/2]

void wxTreeListItem::SetImage ( int  column,
int  image,
wxTreeItemIcon  which 
)
inline

Definition at line 997 of file treelistctrl.cpp.

References wxTreeListCtrl::GetMainColumn().

Here is the call graph for this function:

◆ SetImage() [2/2]

void wxTreeListItem::SetImage ( int  image,
wxTreeItemIcon  which 
)
inline

Definition at line 993 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::SetItemImage().

◆ SetItemParent()

void wxTreeListItem::SetItemParent ( wxTreeListItem parent)
inline

Definition at line 1155 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::SetItemParent().

◆ SetText()

void wxTreeListItem::SetText ( int  column,
const wxString &  text 
)
inline

Definition at line 980 of file treelistctrl.cpp.

References wxTreeListCtrl::GetColumnCount().

Referenced by wxTreeListMainWindow::SetItemText().

Here is the call graph for this function:

◆ SetTextX()

void wxTreeListItem::SetTextX ( int  text_x)
inline

Definition at line 1146 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::PaintItem().

◆ SetToolTip()

void wxTreeListItem::SetToolTip ( const wxString &  tip)
inline

Definition at line 1057 of file treelistctrl.cpp.

◆ SetWidth()

void wxTreeListItem::SetWidth ( int  width)
inline

Definition at line 1137 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::CalculateSize().

◆ SetX()

void wxTreeListItem::SetX ( int  x)
inline

◆ SetY()

void wxTreeListItem::SetY ( int  y)
inline

Member Data Documentation

◆ m_children

wxArrayTreeListItems wxTreeListItem::m_children
private

◆ m_hasHilight

int wxTreeListItem::m_hasHilight
private

Definition at line 1275 of file treelistctrl.cpp.

Referenced by wxTreeListItem().

◆ m_hasPlus

int wxTreeListItem::m_hasPlus
private

Definition at line 1276 of file treelistctrl.cpp.

Referenced by wxTreeListItem().

◆ m_height

unsigned char wxTreeListItem::m_height
private

Definition at line 1266 of file treelistctrl.cpp.

Referenced by wxTreeListItem().

◆ m_images

short wxTreeListItem::m_images[wxTreeItemIcon_Max]
private

Definition at line 1269 of file treelistctrl.cpp.

Referenced by wxTreeListItem().

◆ m_isCollapsed

int wxTreeListItem::m_isCollapsed
private

Definition at line 1274 of file treelistctrl.cpp.

Referenced by wxTreeListItem().

◆ m_owner

wxTreeListMainWindow* wxTreeListItem::m_owner
private

Definition at line 1256 of file treelistctrl.cpp.

Referenced by wxTreeListItem().

◆ m_parent

wxTreeListItem* wxTreeListItem::m_parent
private

Definition at line 1259 of file treelistctrl.cpp.

Referenced by wxTreeListItem().

◆ m_props_cell

wxTreeListItemCellAttrHash wxTreeListItem::m_props_cell
private

Definition at line 1282 of file treelistctrl.cpp.

Referenced by ~wxTreeListItem().

◆ m_props_row

wxTreeListItemCellAttr wxTreeListItem::m_props_row
private

Definition at line 1281 of file treelistctrl.cpp.

Referenced by wxTreeListItem().

◆ m_text

wxArrayString wxTreeListItem::m_text
private

Definition at line 1280 of file treelistctrl.cpp.

◆ m_text_x

wxCoord wxTreeListItem::m_text_x
private

Definition at line 1264 of file treelistctrl.cpp.

Referenced by HitTest(), and wxTreeListItem().

◆ m_toolTip

wxString* wxTreeListItem::m_toolTip
private

Definition at line 1271 of file treelistctrl.cpp.

Referenced by wxTreeListItem(), and ~wxTreeListItem().

◆ m_width

short wxTreeListItem::m_width
private

Definition at line 1265 of file treelistctrl.cpp.

Referenced by wxTreeListItem().

◆ m_x

wxCoord wxTreeListItem::m_x
private

Definition at line 1262 of file treelistctrl.cpp.

Referenced by GetSize(), HitTest(), and wxTreeListItem().

◆ m_y

wxCoord wxTreeListItem::m_y
private

Definition at line 1263 of file treelistctrl.cpp.

Referenced by GetSize(), HitTest(), and wxTreeListItem().


The documentation for this class was generated from the following file: