Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
wxcode::wxTreeListCtrl Class Reference

#include <treelistctrl.h>

Inheritance diagram for wxcode::wxTreeListCtrl:
Inheritance graph

Public Member Functions

 wxTreeListCtrl ()
 
 wxTreeListCtrl (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTR_DEFAULT_STYLE, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxTreeListCtrlNameStr)
 
virtual ~wxTreeListCtrl ()
 
bool Create (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTR_DEFAULT_STYLE, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxTreeListCtrlNameStr)
 
void Refresh (bool erase=TRUE, const wxRect *rect=NULL)
 
void SetFocus ()
 
size_t GetCount () const
 
unsigned int GetIndent () const
 
void SetIndent (unsigned int indent)
 
unsigned int GetLineSpacing () const
 
void SetLineSpacing (unsigned int spacing)
 
wxImageList * GetImageList () const
 
wxImageList * GetStateImageList () const
 
wxImageList * GetButtonsImageList () const
 
void SetImageList (wxImageList *imageList)
 
void SetStateImageList (wxImageList *imageList)
 
void SetButtonsImageList (wxImageList *imageList)
 
void AssignImageList (wxImageList *imageList)
 
void AssignStateImageList (wxImageList *imageList)
 
void AssignButtonsImageList (wxImageList *imageList)
 
void SetToolTip (const wxString &tip)
 
void SetToolTip (wxToolTip *tip)
 
void SetItemToolTip (const wxTreeItemId &item, const wxString &tip)
 
void AddColumn (const wxString &text, int width=DEFAULT_COL_WIDTH, int flag=wxALIGN_LEFT, int image=-1, bool shown=true, bool edit=false, const wxString &tooltip=wxEmptyString)
 
void AddColumn (const wxTreeListColumnInfo &colInfo)
 
void InsertColumn (int before, const wxString &text, int width=DEFAULT_COL_WIDTH, int flag=wxALIGN_LEFT, int image=-1, bool shown=true, bool edit=false, const wxString &tooltip=wxEmptyString)
 
void InsertColumn (int before, const wxTreeListColumnInfo &colInfo)
 
void RemoveColumn (int column)
 
int GetColumnCount () const
 
void SetMainColumn (int column)
 
int GetMainColumn () const
 
void SetColumn (int column, const wxTreeListColumnInfo &colInfo)
 
wxTreeListColumnInfo GetColumn (int column)
 
const wxTreeListColumnInfoGetColumn (int column) const
 
void SetColumnText (int column, const wxString &text)
 
wxString GetColumnText (int column) const
 
void SetColumnWidth (int column, int width)
 
int GetColumnWidth (int column) const
 
void SetColumnAlignment (int column, int flag)
 
int GetColumnAlignment (int column) const
 
void SetColumnImage (int column, int image)
 
int GetColumnImage (int column) const
 
void SetColumnShown (int column, bool shown=true)
 
bool IsColumnShown (int column) const
 
void SetColumnEditable (int column, bool edit=true)
 
bool IsColumnEditable (int column) const
 
wxString GetItemText (const wxTreeItemId &item) const
 
wxString GetItemText (const wxTreeItemId &item, int column) const
 
int GetItemImage (const wxTreeItemId &item, wxTreeItemIcon which=wxTreeItemIcon_Normal) const
 
int GetItemImage (const wxTreeItemId &item, int column) const
 
wxTreeItemData * GetItemData (const wxTreeItemId &item) const
 
wxTreeItemData * GetItemData (const wxTreeItemId &item, int column) const
 
bool GetItemBold (const wxTreeItemId &item) const
 
bool GetItemBold (const wxTreeItemId &item, int column) const
 
wxColour GetItemTextColour (const wxTreeItemId &item) const
 
wxColour GetItemTextColour (const wxTreeItemId &item, int column) const
 
wxColour GetItemBackgroundColour (const wxTreeItemId &item) const
 
wxColour GetItemBackgroundColour (const wxTreeItemId &item, int column) const
 
wxFont GetItemFont (const wxTreeItemId &item) const
 
wxFont GetItemFont (const wxTreeItemId &item, int column) const
 
void SetItemText (const wxTreeItemId &item, const wxString &text)
 
void SetItemText (const wxTreeItemId &item, int column, const wxString &text)
 
void SetItemImage (const wxTreeItemId &item, int image, wxTreeItemIcon which=wxTreeItemIcon_Normal)
 
void SetItemImage (const wxTreeItemId &item, int column, int image)
 
void SetItemData (const wxTreeItemId &item, wxTreeItemData *data)
 
void SetItemData (const wxTreeItemId &item, int column, wxTreeItemData *data)
 
void SetItemBold (const wxTreeItemId &item, bool bold=true)
 
void SetItemBold (const wxTreeItemId &item, int column, bool bold=true)
 
void SetItemTextColour (const wxTreeItemId &item, const wxColour &colour)
 
void SetItemTextColour (const wxTreeItemId &item, int column, const wxColour &colour)
 
void SetItemBackgroundColour (const wxTreeItemId &item, const wxColour &colour)
 
void SetItemBackgroundColour (const wxTreeItemId &item, int column, const wxColour &colour)
 
void SetItemFont (const wxTreeItemId &item, const wxFont &font)
 
void SetItemFont (const wxTreeItemId &item, int column, const wxFont &font)
 
void SetItemHasChildren (const wxTreeItemId &item, bool has=true)
 
bool IsVisible (const wxTreeItemId &item, bool fullRow=false, bool within=true) const
 
bool HasChildren (const wxTreeItemId &item) const
 
bool IsExpanded (const wxTreeItemId &item) const
 
bool IsSelected (const wxTreeItemId &item) const
 
bool IsBold (const wxTreeItemId &item) const
 
bool IsBold (const wxTreeItemId &item, int column) const
 
virtual bool SetFont (const wxFont &font)
 
virtual void SetWindowStyleFlag (long styles)
 
virtual long GetWindowStyleFlag () const
 
size_t GetChildrenCount (const wxTreeItemId &item, bool recursively=true)
 
wxTreeItemId GetRootItem () const
 
wxTreeItemId GetSelection () const
 
size_t GetSelections (wxArrayTreeItemIds &) const
 
wxTreeItemId GetItemParent (const wxTreeItemId &item) const
 
wxTreeItemId GetFirstChild (const wxTreeItemId &item, wxTreeItemIdValue &cookie) const
 
wxTreeItemId GetNextChild (const wxTreeItemId &item, wxTreeItemIdValue &cookie) const
 
wxTreeItemId GetPrevChild (const wxTreeItemId &item, wxTreeItemIdValue &cookie) const
 
wxTreeItemId GetLastChild (const wxTreeItemId &item, wxTreeItemIdValue &cookie) const
 
wxTreeItemId GetNextSibling (const wxTreeItemId &item) const
 
wxTreeItemId GetPrevSibling (const wxTreeItemId &item) const
 
wxTreeItemId GetNext (const wxTreeItemId &item) const
 
wxTreeItemId GetPrev (const wxTreeItemId &item) const
 
wxTreeItemId GetFirstExpandedItem () const
 
wxTreeItemId GetNextExpanded (const wxTreeItemId &item) const
 
wxTreeItemId GetPrevExpanded (const wxTreeItemId &item) const
 
wxTreeItemId GetFirstVisibleItem (bool fullRow=false) const
 
wxTreeItemId GetFirstVisible (bool fullRow=false, bool within=true) const
 
wxTreeItemId GetNextVisible (const wxTreeItemId &item, bool fullRow=false, bool within=true) const
 
wxTreeItemId GetPrevVisible (const wxTreeItemId &item, bool fullRow=false, bool within=true) const
 
wxTreeItemId GetLastVisible (bool fullRow=false, bool within=true) const
 
wxTreeItemId AddRoot (const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
wxTreeItemId PrependItem (const wxTreeItemId &parent, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
wxTreeItemId InsertItem (const wxTreeItemId &parent, const wxTreeItemId &idPrevious, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
wxTreeItemId InsertItem (const wxTreeItemId &parent, size_t index, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
wxTreeItemId AppendItem (const wxTreeItemId &parent, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
void Delete (const wxTreeItemId &item)
 
void DeleteChildren (const wxTreeItemId &item)
 
void DeleteRoot ()
 
void SetItemParent (const wxTreeItemId &parent, const wxTreeItemId &item)
 
void Expand (const wxTreeItemId &item)
 
void ExpandAll (const wxTreeItemId &item)
 
void Collapse (const wxTreeItemId &item)
 
void CollapseAndReset (const wxTreeItemId &item)
 
void Toggle (const wxTreeItemId &item)
 
void SetCurrentItem (const wxTreeItemId &item=(wxTreeItemId *) NULL)
 
void Unselect ()
 
void UnselectAll ()
 
bool SelectItem (const wxTreeItemId &item, const wxTreeItemId &last=(wxTreeItemId *) NULL, bool unselect_others=true)
 
void SelectAll ()
 
void EnsureVisible (const wxTreeItemId &item)
 
void ScrollTo (const wxTreeItemId &item)
 
wxTreeItemId HitTest (const wxPoint &point)
 
wxTreeItemId HitTest (const wxPoint &point, int &flags)
 
wxTreeItemId HitTest (const wxPoint &point, int &flags, int &column)
 
bool GetBoundingRect (const wxTreeItemId &item, wxRect &rect, bool textOnly=false) const
 
void EditLabel (const wxTreeItemId &item)
 
void EditLabel (const wxTreeItemId &item, int column)
 
void EndEdit (bool isCancelled)
 
virtual wxString OnGetItemText (wxTreeItemData *item, long column) const
 
virtual int OnCompareItems (const wxTreeItemId &item1, const wxTreeItemId &item2)
 
virtual int OnCompareItems (const wxTreeItemId &item1, const wxTreeItemId &item2, int column)
 
void SortChildren (const wxTreeItemId &item, int column=-1, bool reverseOrder=false)
 
wxTreeItemId FindItem (const wxTreeItemId &item, const wxString &str, int mode=0)
 
wxTreeItemId FindItem (const wxTreeItemId &item, int column, const wxString &str, int mode=0)
 
virtual bool SetBackgroundColour (const wxColour &colour)
 
virtual bool SetForegroundColour (const wxColour &colour)
 
void SetDragItem (const wxTreeItemId &item=(wxTreeItemId *) NULL)
 
virtual wxSize DoGetBestSize () const
 

Protected Member Functions

wxTreeListHeaderWindowGetHeaderWindow () const
 
wxTreeListMainWindowGetMainWindow () const
 
int GetHeaderHeight () const
 
void CalculateAndSetHeaderHeight ()
 
void DoHeaderLayout ()
 
void OnSize (wxSizeEvent &event)
 

Protected Attributes

wxTreeListHeaderWindowm_header_win
 
wxTreeListMainWindowm_main_win
 

Private Attributes

int m_headerHeight
 

Friends

class wxTreeListHeaderWindow
 
class wxTreeListMainWindow
 
class wxTreeListItem
 

Detailed Description

Definition at line 137 of file treelistctrl.h.

Constructor & Destructor Documentation

wxcode::wxTreeListCtrl::wxTreeListCtrl ( )
inline

Definition at line 146 of file treelistctrl.h.

wxcode::wxTreeListCtrl::wxTreeListCtrl ( wxWindow *  parent,
wxWindowID  id = -1,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTR_DEFAULT_STYLE,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = wxTreeListCtrlNameStr 
)
inline

Definition at line 150 of file treelistctrl.h.

References Create().

virtual wxcode::wxTreeListCtrl::~wxTreeListCtrl ( )
inlinevirtual

Definition at line 161 of file treelistctrl.h.

Member Function Documentation

void wxcode::wxTreeListCtrl::AddColumn ( const wxString &  text,
int  width = DEFAULT_COL_WIDTH,
int  flag = wxALIGN_LEFT,
int  image = -1,
bool  shown = true,
bool  edit = false,
const wxString &  tooltip = wxEmptyString 
)
inline

Definition at line 219 of file treelistctrl.h.

Referenced by ImagesTreeCtrl::CreateColumns().

void wxcode::wxTreeListCtrl::AddColumn ( const wxTreeListColumnInfo colInfo)
wxTreeItemId wxcode::wxTreeListCtrl::AddRoot ( const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 4878 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::AddRoot(), and m_main_win.

Referenced by ImagesTreeCtrl::Create().

wxTreeItemId wxcode::wxTreeListCtrl::AppendItem ( const wxTreeItemId &  parent,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)
void wxcode::wxTreeListCtrl::AssignButtonsImageList ( wxImageList *  imageList)
void wxcode::wxTreeListCtrl::AssignImageList ( wxImageList *  imageList)
void wxcode::wxTreeListCtrl::AssignStateImageList ( wxImageList *  imageList)
void wxcode::wxTreeListCtrl::CalculateAndSetHeaderHeight ( )
protected

Definition at line 4611 of file treelistctrl.cpp.

References DoHeaderLayout(), vigra_ext::EMoR::h, m_header_win, and m_headerHeight.

Referenced by SetFont().

void wxcode::wxTreeListCtrl::Collapse ( const wxTreeItemId &  item)

Definition at line 4929 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::Collapse(), and m_main_win.

void wxcode::wxTreeListCtrl::CollapseAndReset ( const wxTreeItemId &  item)
bool wxcode::wxTreeListCtrl::Create ( wxWindow *  parent,
wxWindowID  id = -1,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTR_DEFAULT_STYLE,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = wxTreeListCtrlNameStr 
)

Definition at line 4588 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl().

void wxcode::wxTreeListCtrl::Delete ( const wxTreeItemId &  item)
void wxcode::wxTreeListCtrl::DeleteChildren ( const wxTreeItemId &  item)
void wxcode::wxTreeListCtrl::DeleteRoot ( )

Definition at line 4920 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::DeleteRoot(), and m_main_win.

wxSize wxcode::wxTreeListCtrl::DoGetBestSize ( ) const
virtual

Definition at line 5116 of file treelistctrl.cpp.

References m_header_win, and m_main_win.

void wxcode::wxTreeListCtrl::DoHeaderLayout ( )
protected
void wxcode::wxTreeListCtrl::EditLabel ( const wxTreeItemId &  item)
inline

Definition at line 503 of file treelistctrl.h.

References GetMainColumn().

void wxcode::wxTreeListCtrl::EditLabel ( const wxTreeItemId &  item,
int  column 
)

Definition at line 4967 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::EditLabel(), and m_main_win.

void wxcode::wxTreeListCtrl::EndEdit ( bool  isCancelled)
void wxcode::wxTreeListCtrl::EnsureVisible ( const wxTreeItemId &  item)

Definition at line 4951 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::EnsureVisible(), and m_main_win.

void wxcode::wxTreeListCtrl::Expand ( const wxTreeItemId &  item)

Definition at line 4923 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::Expand(), and m_main_win.

void wxcode::wxTreeListCtrl::ExpandAll ( const wxTreeItemId &  item)
wxTreeItemId wxcode::wxTreeListCtrl::FindItem ( const wxTreeItemId &  item,
const wxString &  str,
int  mode = 0 
)
inline

Definition at line 524 of file treelistctrl.h.

References FindItem().

Referenced by FindItem().

wxTreeItemId wxcode::wxTreeListCtrl::FindItem ( const wxTreeItemId &  item,
int  column,
const wxString &  str,
int  mode = 0 
)

Definition at line 4988 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::FindItem(), and m_main_win.

bool wxcode::wxTreeListCtrl::GetBoundingRect ( const wxTreeItemId &  item,
wxRect &  rect,
bool  textOnly = false 
) const
wxImageList * wxcode::wxTreeListCtrl::GetButtonsImageList ( ) const
size_t wxcode::wxTreeListCtrl::GetChildrenCount ( const wxTreeItemId &  item,
bool  recursively = true 
)
wxTreeListColumnInfo wxcode::wxTreeListCtrl::GetColumn ( int  column)
const wxTreeListColumnInfo & wxcode::wxTreeListCtrl::GetColumn ( int  column) const

Definition at line 5057 of file treelistctrl.cpp.

References wxcode::wxTreeListHeaderWindow::GetColumn(), and m_header_win.

int wxcode::wxTreeListCtrl::GetColumnAlignment ( int  column) const
int wxcode::wxTreeListCtrl::GetColumnCount ( ) const
int wxcode::wxTreeListCtrl::GetColumnImage ( int  column) const
wxString wxcode::wxTreeListCtrl::GetColumnText ( int  column) const
int wxcode::wxTreeListCtrl::GetColumnWidth ( int  column) const
size_t wxcode::wxTreeListCtrl::GetCount ( ) const

Definition at line 4649 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetCount(), and m_main_win.

wxTreeItemId wxcode::wxTreeListCtrl::GetFirstChild ( const wxTreeItemId &  item,
wxTreeItemIdValue &  cookie 
) const
wxTreeItemId wxcode::wxTreeListCtrl::GetFirstExpandedItem ( ) const
wxTreeItemId wxcode::wxTreeListCtrl::GetFirstVisible ( bool  fullRow = false,
bool  within = true 
) const

Definition at line 4866 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetFirstVisible(), and m_main_win.

Referenced by GetFirstVisibleItem().

wxTreeItemId wxcode::wxTreeListCtrl::GetFirstVisibleItem ( bool  fullRow = false) const

Definition at line 4864 of file treelistctrl.cpp.

References GetFirstVisible().

int wxcode::wxTreeListCtrl::GetHeaderHeight ( ) const
inlineprotected

Definition at line 548 of file treelistctrl.h.

References m_headerHeight.

wxTreeListHeaderWindow* wxcode::wxTreeListCtrl::GetHeaderWindow ( ) const
inlineprotected
wxImageList * wxcode::wxTreeListCtrl::GetImageList ( ) const
unsigned int wxcode::wxTreeListCtrl::GetIndent ( ) const

Definition at line 4651 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetIndent(), and m_main_win.

wxColour wxcode::wxTreeListCtrl::GetItemBackgroundColour ( const wxTreeItemId &  item) const
wxColour wxcode::wxTreeListCtrl::GetItemBackgroundColour ( const wxTreeItemId &  item,
int  column 
) const
bool wxcode::wxTreeListCtrl::GetItemBold ( const wxTreeItemId &  item) const

Definition at line 4705 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetItemBold(), and m_main_win.

Referenced by IsBold().

bool wxcode::wxTreeListCtrl::GetItemBold ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 4707 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetItemBold(), and m_main_win.

wxTreeItemData * wxcode::wxTreeListCtrl::GetItemData ( const wxTreeItemId &  item) const
wxTreeItemData * wxcode::wxTreeListCtrl::GetItemData ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 4702 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetItemData(), and m_main_win.

wxFont wxcode::wxTreeListCtrl::GetItemFont ( const wxTreeItemId &  item) const

Definition at line 4720 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetItemFont(), and m_main_win.

wxFont wxcode::wxTreeListCtrl::GetItemFont ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 4722 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetItemFont(), and m_main_win.

int wxcode::wxTreeListCtrl::GetItemImage ( const wxTreeItemId &  item,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
) const
int wxcode::wxTreeListCtrl::GetItemImage ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 4697 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetItemImage(), and m_main_win.

wxTreeItemId wxcode::wxTreeListCtrl::GetItemParent ( const wxTreeItemId &  item) const
wxString wxcode::wxTreeListCtrl::GetItemText ( const wxTreeItemId &  item) const
inline
wxString wxcode::wxTreeListCtrl::GetItemText ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 4692 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetItemText(), and m_main_win.

wxColour wxcode::wxTreeListCtrl::GetItemTextColour ( const wxTreeItemId &  item) const
wxColour wxcode::wxTreeListCtrl::GetItemTextColour ( const wxTreeItemId &  item,
int  column 
) const
wxTreeItemId wxcode::wxTreeListCtrl::GetLastChild ( const wxTreeItemId &  item,
wxTreeItemIdValue &  cookie 
) const
wxTreeItemId wxcode::wxTreeListCtrl::GetLastVisible ( bool  fullRow = false,
bool  within = true 
) const
unsigned int wxcode::wxTreeListCtrl::GetLineSpacing ( ) const
int wxcode::wxTreeListCtrl::GetMainColumn ( ) const
wxTreeListMainWindow* wxcode::wxTreeListCtrl::GetMainWindow ( ) const
inlineprotected

Definition at line 544 of file treelistctrl.h.

References m_main_win.

Referenced by wxcode::wxTreeListMainWindow::PaintItem().

wxTreeItemId wxcode::wxTreeListCtrl::GetNext ( const wxTreeItemId &  item) const
wxTreeItemId wxcode::wxTreeListCtrl::GetNextChild ( const wxTreeItemId &  item,
wxTreeItemIdValue &  cookie 
) const
wxTreeItemId wxcode::wxTreeListCtrl::GetNextExpanded ( const wxTreeItemId &  item) const
wxTreeItemId wxcode::wxTreeListCtrl::GetNextSibling ( const wxTreeItemId &  item) const
wxTreeItemId wxcode::wxTreeListCtrl::GetNextVisible ( const wxTreeItemId &  item,
bool  fullRow = false,
bool  within = true 
) const
wxTreeItemId wxcode::wxTreeListCtrl::GetPrev ( const wxTreeItemId &  item) const

Definition at line 4852 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetPrev(), and m_main_win.

wxTreeItemId wxcode::wxTreeListCtrl::GetPrevChild ( const wxTreeItemId &  item,
wxTreeItemIdValue &  cookie 
) const

Definition at line 4834 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetPrevChild(), and m_main_win.

wxTreeItemId wxcode::wxTreeListCtrl::GetPrevExpanded ( const wxTreeItemId &  item) const
wxTreeItemId wxcode::wxTreeListCtrl::GetPrevSibling ( const wxTreeItemId &  item) const
wxTreeItemId wxcode::wxTreeListCtrl::GetPrevVisible ( const wxTreeItemId &  item,
bool  fullRow = false,
bool  within = true 
) const
wxTreeItemId wxcode::wxTreeListCtrl::GetRootItem ( ) const

Definition at line 4814 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetRootItem(), and m_main_win.

wxTreeItemId wxcode::wxTreeListCtrl::GetSelection ( ) const

Definition at line 4817 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::GetSelection(), and m_main_win.

size_t wxcode::wxTreeListCtrl::GetSelections ( wxArrayTreeItemIds &  arr) const
wxImageList * wxcode::wxTreeListCtrl::GetStateImageList ( ) const
long wxcode::wxTreeListCtrl::GetWindowStyleFlag ( ) const
virtual

Definition at line 4791 of file treelistctrl.cpp.

References m_main_win.

bool wxcode::wxTreeListCtrl::HasChildren ( const wxTreeItemId &  item) const

Definition at line 4802 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::HasChildren(), and m_main_win.

wxTreeItemId wxcode::wxTreeListCtrl::HitTest ( const wxPoint &  point)
inline
wxTreeItemId wxcode::wxTreeListCtrl::HitTest ( const wxPoint &  point,
int &  flags 
)
inline

Definition at line 492 of file treelistctrl.h.

References HitTest().

wxTreeItemId wxcode::wxTreeListCtrl::HitTest ( const wxPoint &  point,
int &  flags,
int &  column 
)

Definition at line 4957 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::HitTest(), and m_main_win.

void wxcode::wxTreeListCtrl::InsertColumn ( int  before,
const wxString &  text,
int  width = DEFAULT_COL_WIDTH,
int  flag = wxALIGN_LEFT,
int  image = -1,
bool  shown = true,
bool  edit = false,
const wxString &  tooltip = wxEmptyString 
)
inline

Definition at line 231 of file treelistctrl.h.

void wxcode::wxTreeListCtrl::InsertColumn ( int  before,
const wxTreeListColumnInfo colInfo 
)
wxTreeItemId wxcode::wxTreeListCtrl::InsertItem ( const wxTreeItemId &  parent,
const wxTreeItemId &  idPrevious,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 4888 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::InsertItem(), and m_main_win.

wxTreeItemId wxcode::wxTreeListCtrl::InsertItem ( const wxTreeItemId &  parent,
size_t  index,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 4898 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::InsertItem(), and m_main_win.

bool wxcode::wxTreeListCtrl::IsBold ( const wxTreeItemId &  item) const
inline

Definition at line 346 of file treelistctrl.h.

References GetMainColumn(), and IsBold().

Referenced by IsBold().

bool wxcode::wxTreeListCtrl::IsBold ( const wxTreeItemId &  item,
int  column 
) const
inline

Definition at line 347 of file treelistctrl.h.

References GetItemBold().

bool wxcode::wxTreeListCtrl::IsColumnEditable ( int  column) const
bool wxcode::wxTreeListCtrl::IsColumnShown ( int  column) const
bool wxcode::wxTreeListCtrl::IsExpanded ( const wxTreeItemId &  item) const
bool wxcode::wxTreeListCtrl::IsSelected ( const wxTreeItemId &  item) const

Definition at line 4808 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::IsSelected(), and m_main_win.

Referenced by ImagesTreeCtrl::OnLeftUp().

bool wxcode::wxTreeListCtrl::IsVisible ( const wxTreeItemId &  item,
bool  fullRow = false,
bool  within = true 
) const

Definition at line 4799 of file treelistctrl.cpp.

References wxcode::wxTreeListMainWindow::IsVisible(), and m_main_win.

int wxcode::wxTreeListCtrl::OnCompareItems ( const wxTreeItemId &  item1,
const wxTreeItemId &  item2 
)
virtual

Definition at line 4972 of file treelistctrl.cpp.

References GetItemText().

Referenced by wxcode::wxTreeListMainWindow::OnCompareItems().

int wxcode::wxTreeListCtrl::OnCompareItems ( const wxTreeItemId &  item1,
const wxTreeItemId &  item2,
int  column 
)
virtual

Definition at line 4978 of file treelistctrl.cpp.

References GetItemText().

wxString wxcode::wxTreeListCtrl::OnGetItemText ( wxTreeItemData *  item,
long  column 
) const
virtual

Definition at line 5123 of file treelistctrl.cpp.

Referenced by wxcode::wxTreeListMainWindow::GetItemText().

void wxcode::wxTreeListCtrl::OnSize ( wxSizeEvent &  event)
protected

Definition at line 4644 of file treelistctrl.cpp.

References DoHeaderLayout().

wxTreeItemId wxcode::wxTreeListCtrl::PrependItem ( const wxTreeItemId &  parent,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 4882 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::PrependItem().

void wxcode::wxTreeListCtrl::Refresh ( bool  erase = TRUE,
const wxRect *  rect = NULL 
)
void wxcode::wxTreeListCtrl::RemoveColumn ( int  column)
void wxcode::wxTreeListCtrl::ScrollTo ( const wxTreeItemId &  item)

Definition at line 4954 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::ScrollTo().

void wxcode::wxTreeListCtrl::SelectAll ( )

Definition at line 4948 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SelectAll().

Referenced by ImagesTreeCtrl::OnChar().

bool wxcode::wxTreeListCtrl::SelectItem ( const wxTreeItemId &  item,
const wxTreeItemId &  last = (wxTreeItemId*)NULL,
bool  unselect_others = true 
)

Definition at line 4944 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SelectItem().

bool wxcode::wxTreeListCtrl::SetBackgroundColour ( const wxColour &  colour)
virtual
void wxcode::wxTreeListCtrl::SetButtonsImageList ( wxImageList *  imageList)
void wxcode::wxTreeListCtrl::SetColumn ( int  column,
const wxTreeListColumnInfo colInfo 
)

Definition at line 5051 of file treelistctrl.cpp.

References m_header_win, and wxcode::wxTreeListHeaderWindow::SetColumn().

void wxcode::wxTreeListCtrl::SetColumnAlignment ( int  column,
int  flag 
)
void wxcode::wxTreeListCtrl::SetColumnEditable ( int  column,
bool  edit = true 
)
void wxcode::wxTreeListCtrl::SetColumnImage ( int  column,
int  image 
)
void wxcode::wxTreeListCtrl::SetColumnShown ( int  column,
bool  shown = true 
)
void wxcode::wxTreeListCtrl::SetColumnText ( int  column,
const wxString &  text 
)
void wxcode::wxTreeListCtrl::SetColumnWidth ( int  column,
int  width 
)
void wxcode::wxTreeListCtrl::SetCurrentItem ( const wxTreeItemId &  item = (wxTreeItemId*)NULL)
void wxcode::wxTreeListCtrl::SetDragItem ( const wxTreeItemId &  item = (wxTreeItemId*)NULL)

Definition at line 4991 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SetDragItem().

void wxcode::wxTreeListCtrl::SetFocus ( )
bool wxcode::wxTreeListCtrl::SetFont ( const wxFont &  font)
virtual
bool wxcode::wxTreeListCtrl::SetForegroundColour ( const wxColour &  colour)
virtual
void wxcode::wxTreeListCtrl::SetImageList ( wxImageList *  imageList)

Definition at line 4672 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SetImageList().

void wxcode::wxTreeListCtrl::SetIndent ( unsigned int  indent)

Definition at line 4654 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SetIndent().

void wxcode::wxTreeListCtrl::SetItemBackgroundColour ( const wxTreeItemId &  item,
const wxColour &  colour 
)
void wxcode::wxTreeListCtrl::SetItemBackgroundColour ( const wxTreeItemId &  item,
int  column,
const wxColour &  colour 
)
void wxcode::wxTreeListCtrl::SetItemBold ( const wxTreeItemId &  item,
bool  bold = true 
)
void wxcode::wxTreeListCtrl::SetItemBold ( const wxTreeItemId &  item,
int  column,
bool  bold = true 
)

Definition at line 4745 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SetItemBold().

void wxcode::wxTreeListCtrl::SetItemData ( const wxTreeItemId &  item,
wxTreeItemData *  data 
)

Definition at line 4738 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SetItemData().

void wxcode::wxTreeListCtrl::SetItemData ( const wxTreeItemId &  item,
int  column,
wxTreeItemData *  data 
)

Definition at line 4740 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SetItemData().

void wxcode::wxTreeListCtrl::SetItemFont ( const wxTreeItemId &  item,
const wxFont &  font 
)

Definition at line 4758 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SetItemFont().

void wxcode::wxTreeListCtrl::SetItemFont ( const wxTreeItemId &  item,
int  column,
const wxFont &  font 
)

Definition at line 4760 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SetItemFont().

void wxcode::wxTreeListCtrl::SetItemHasChildren ( const wxTreeItemId &  item,
bool  has = true 
)
void wxcode::wxTreeListCtrl::SetItemImage ( const wxTreeItemId &  item,
int  image,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
)
void wxcode::wxTreeListCtrl::SetItemImage ( const wxTreeItemId &  item,
int  column,
int  image 
)

Definition at line 4735 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SetItemImage().

void wxcode::wxTreeListCtrl::SetItemParent ( const wxTreeItemId &  parent,
const wxTreeItemId &  item 
)

Definition at line 5145 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SetItemParent().

void wxcode::wxTreeListCtrl::SetItemText ( const wxTreeItemId &  item,
const wxString &  text 
)
void wxcode::wxTreeListCtrl::SetItemText ( const wxTreeItemId &  item,
int  column,
const wxString &  text 
)

Definition at line 4730 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SetItemText().

void wxcode::wxTreeListCtrl::SetItemTextColour ( const wxTreeItemId &  item,
const wxColour &  colour 
)
void wxcode::wxTreeListCtrl::SetItemTextColour ( const wxTreeItemId &  item,
int  column,
const wxColour &  colour 
)
void wxcode::wxTreeListCtrl::SetItemToolTip ( const wxTreeItemId &  item,
const wxString &  tip 
)
void wxcode::wxTreeListCtrl::SetLineSpacing ( unsigned int  spacing)
void wxcode::wxTreeListCtrl::SetMainColumn ( int  column)

Definition at line 5018 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SetMainColumn().

void wxcode::wxTreeListCtrl::SetStateImageList ( wxImageList *  imageList)
void wxcode::wxTreeListCtrl::SetToolTip ( const wxString &  tip)
void wxcode::wxTreeListCtrl::SetToolTip ( wxToolTip *  tip)
void wxcode::wxTreeListCtrl::SetWindowStyleFlag ( long  styles)
virtual
void wxcode::wxTreeListCtrl::SortChildren ( const wxTreeItemId &  item,
int  column = -1,
bool  reverseOrder = false 
)

Definition at line 4985 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::SortChildren().

void wxcode::wxTreeListCtrl::Toggle ( const wxTreeItemId &  item)

Definition at line 4935 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::Toggle().

void wxcode::wxTreeListCtrl::Unselect ( )

Definition at line 4938 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::Unselect().

void wxcode::wxTreeListCtrl::UnselectAll ( )

Definition at line 4941 of file treelistctrl.cpp.

References m_main_win, and wxcode::wxTreeListMainWindow::UnselectAll().

Friends And Related Function Documentation

friend class wxTreeListHeaderWindow
friend

Definition at line 139 of file treelistctrl.h.

friend class wxTreeListItem
friend

Definition at line 141 of file treelistctrl.h.

friend class wxTreeListMainWindow
friend

Definition at line 140 of file treelistctrl.h.

Member Data Documentation

wxTreeListHeaderWindow* wxcode::wxTreeListCtrl::m_header_win
protected
int wxcode::wxTreeListCtrl::m_headerHeight
private

Definition at line 555 of file treelistctrl.h.

Referenced by CalculateAndSetHeaderHeight(), DoHeaderLayout(), and GetHeaderHeight().

wxTreeListMainWindow* wxcode::wxTreeListCtrl::m_main_win
protected

Definition at line 546 of file treelistctrl.h.

Referenced by AddRoot(), AppendItem(), AssignButtonsImageList(), AssignImageList(), AssignStateImageList(), Collapse(), CollapseAndReset(), Delete(), DeleteChildren(), DeleteRoot(), DoGetBestSize(), DoHeaderLayout(), EditLabel(), EndEdit(), EnsureVisible(), Expand(), ExpandAll(), FindItem(), GetBoundingRect(), GetButtonsImageList(), GetChildrenCount(), GetColumnCount(), GetCount(), GetFirstChild(), GetFirstExpandedItem(), GetFirstVisible(), GetImageList(), GetIndent(), GetItemBackgroundColour(), GetItemBold(), GetItemData(), GetItemFont(), GetItemImage(), GetItemParent(), GetItemText(), GetItemTextColour(), GetLastChild(), GetLastVisible(), GetLineSpacing(), GetMainColumn(), GetMainWindow(), GetNext(), GetNextChild(), GetNextExpanded(), GetNextSibling(), GetNextVisible(), GetPrev(), GetPrevChild(), GetPrevExpanded(), GetPrevSibling(), GetPrevVisible(), GetRootItem(), GetSelection(), GetSelections(), GetStateImageList(), GetWindowStyleFlag(), HasChildren(), HitTest(), InsertItem(), IsExpanded(), IsSelected(), IsVisible(), PrependItem(), Refresh(), ScrollTo(), SelectAll(), SelectItem(), SetBackgroundColour(), SetButtonsImageList(), SetCurrentItem(), SetDragItem(), SetFocus(), SetFont(), SetForegroundColour(), SetImageList(), SetIndent(), SetItemBackgroundColour(), SetItemBold(), SetItemData(), SetItemFont(), SetItemHasChildren(), SetItemImage(), SetItemParent(), SetItemText(), SetItemTextColour(), SetItemToolTip(), SetLineSpacing(), SetMainColumn(), SetStateImageList(), SetToolTip(), SetWindowStyleFlag(), SortChildren(), Toggle(), Unselect(), and UnselectAll().


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