SL_Extern::wxListCtrl Class Reference

#include <listctrl.h>

Inherits SL_Extern::wxGenericListCtrl.

Collaboration diagram for SL_Extern::wxListCtrl:
Collaboration graph
[legend]

Public Member Functions

 wxListCtrl ()
 wxListCtrl (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxLC_ICON, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxListCtrlNameStr)
bool Create (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxLC_ICON, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxListCtrlNameStr)
bool GetColumn (int col, wxListItem &item) const
bool SetColumn (int col, wxListItem &item)
int GetColumnWidth (int col) const
bool SetColumnWidth (int col, int width)
int GetCountPerPage () const
wxRect GetViewRect () const
bool GetItem (wxListItem &info) const
bool SetItem (wxListItem &info)
long SetItem (long index, int col, const wxString &label, int imageId=-1)
int GetItemState (long item, long stateMask) const
bool SetItemState (long item, long state, long stateMask)
bool SetItemImage (long item, int image, int selImage=-1)
bool SetItemColumnImage (long item, long column, int image)
wxString GetItemText (long item) const
void SetItemText (long item, const wxString &str)
wxUIntPtr GetItemData (long item) const
bool SetItemData (long item, long data)
bool GetItemRect (long item, wxRect &rect, int code=wxLIST_RECT_BOUNDS) const
bool GetItemPosition (long item, wxPoint &pos) const
bool SetItemPosition (long item, const wxPoint &pos)
int GetItemCount () const
int GetColumnCount () const
void SetItemSpacing (int spacing, bool isSmall=false)
wxSize GetItemSpacing () const
void SetItemTextColour (long item, const wxColour &col)
wxColour GetItemTextColour (long item) const
void SetItemBackgroundColour (long item, const wxColour &col)
wxColour GetItemBackgroundColour (long item) const
void SetItemFont (long item, const wxFont &f)
wxFont GetItemFont (long item) const
int GetSelectedItemCount () const
wxColour GetTextColour () const
void SetTextColour (const wxColour &col)
long GetTopItem () const
void SetSingleStyle (long style, bool add=true)
void SetWindowStyleFlag (long style)
void RecreateWindow ()
long GetNextItem (long item, int geometry=wxLIST_NEXT_ALL, int state=wxLIST_STATE_DONTCARE) const
wxImageListGetImageList (int which) const
void SetImageList (wxImageList *imageList, int which)
void AssignImageList (wxImageList *imageList, int which)
bool Arrange (int flag=wxLIST_ALIGN_DEFAULT)
void ClearAll ()
bool DeleteItem (long item)
bool DeleteAllItems ()
bool DeleteAllColumns ()
bool DeleteColumn (int col)
void SetItemCount (long count)
wxTextCtrl * EditLabel (long item, wxClassInfo *textControlClass=CLASSINFO(wxTextCtrl))
wxTextCtrl * GetEditControl () const
void Edit (long item)
bool EnsureVisible (long item)
long FindItem (long start, const wxString &str, bool partial=false)
long FindItem (long start, wxUIntPtr data)
long FindItem (long start, const wxPoint &pt, int direction)
long HitTest (const wxPoint &point, int &flags, long *pSubItem=NULL) const
long InsertItem (wxListItem &info)
long InsertItem (long index, const wxString &label)
long InsertItem (long index, int imageIndex)
long InsertItem (long index, const wxString &label, int imageIndex)
long InsertColumn (long col, wxListItem &info)
long InsertColumn (long col, const wxString &heading, int format=wxLIST_FORMAT_LEFT, int width=-1)
bool ScrollList (int dx, int dy)
bool SortItems (wxListCtrlCompare fn, long data)
bool Update (long item)
virtual void Update ()
bool InReportView () const
bool IsVirtual () const
bool HasHeader () const
void RefreshItem (long item)
void RefreshItems (long itemFrom, long itemTo)
virtual wxVisualAttributes GetDefaultAttributes () const
void OnInternalIdle ()
void OnSize (wxSizeEvent &event)
virtual void Refresh (bool eraseBackground=true, const wxRect *rect=NULL)
virtual void Freeze ()
virtual void Thaw ()
virtual bool SetBackgroundColour (const wxColour &colour)
virtual bool SetForegroundColour (const wxColour &colour)
virtual wxColour GetBackgroundColour () const
virtual wxColour GetForegroundColour () const
virtual bool SetFont (const wxFont &font)
virtual bool SetCursor (const wxCursor &cursor)
virtual int GetScrollPos (int orient) const
virtual void SetScrollPos (int orient, int pos, bool refresh=true)
virtual bool ShouldInheritColours () const
virtual void SetFocus ()

Static Public Member Functions

static wxVisualAttributes GetClassDefaultAttributes (wxWindowVariant variant=wxWINDOW_VARIANT_NORMAL)

Data Fields

wxImageListm_imageListNormal
wxImageListm_imageListSmall
wxImageListm_imageListState
bool m_ownsImageListNormal
bool m_ownsImageListSmall
bool m_ownsImageListState
wxListHeaderWindow * m_headerWin
wxListMainWindow * m_mainWin
wxCoord m_headerHeight

Protected Member Functions

virtual bool DoPopupMenu (wxMenu *menu, int x, int y)
virtual void DoClientToScreen (int *x, int *y) const
virtual void DoScreenToClient (int *x, int *y) const
virtual wxSize DoGetBestSize () const
virtual wxString OnGetItemText (long item, long column) const
virtual int OnGetItemImage (long item) const
virtual int OnGetItemColumnImage (long item, long column) const
virtual wxListItemAttr * OnGetItemAttr (long item) const

Friends

class wxListMainWindow

Detailed Description

Definition at line 269 of file listctrl.h.


Constructor & Destructor Documentation

SL_Extern::wxListCtrl::wxListCtrl (  )  [inline]

Definition at line 272 of file listctrl.h.

SL_Extern::wxListCtrl::wxListCtrl ( wxWindow *  parent,
wxWindowID  winid = wxID_ANY,
const wxPoint pos = wxDefaultPosition,
const wxSize size = wxDefaultSize,
long  style = wxLC_ICON,
const wxValidator &  validator = wxDefaultValidator,
const wxString name = wxListCtrlNameStr 
) [inline]

Definition at line 274 of file listctrl.h.


Member Function Documentation

bool SL_Extern::wxGenericListCtrl::Arrange ( int  flag = wxLIST_ALIGN_DEFAULT  )  [inherited]
void SL_Extern::wxGenericListCtrl::AssignImageList ( wxImageList imageList,
int  which 
) [inherited]
void SL_Extern::wxGenericListCtrl::ClearAll (  )  [inherited]
bool SL_Extern::wxGenericListCtrl::Create ( wxWindow *  parent,
wxWindowID  winid = wxID_ANY,
const wxPoint pos = wxDefaultPosition,
const wxSize size = wxDefaultSize,
long  style = wxLC_ICON,
const wxValidator &  validator = wxDefaultValidator,
const wxString name = wxListCtrlNameStr 
) [inherited]
bool SL_Extern::wxGenericListCtrl::DeleteAllColumns (  )  [inherited]
bool SL_Extern::wxGenericListCtrl::DeleteAllItems (  )  [inherited]
bool SL_Extern::wxGenericListCtrl::DeleteColumn ( int  col  )  [inherited]
bool SL_Extern::wxGenericListCtrl::DeleteItem ( long  item  )  [inherited]
virtual void SL_Extern::wxGenericListCtrl::DoClientToScreen ( int *  x,
int *  y 
) const [protected, virtual, inherited]
virtual wxSize SL_Extern::wxGenericListCtrl::DoGetBestSize (  )  const [protected, virtual, inherited]
virtual bool SL_Extern::wxGenericListCtrl::DoPopupMenu ( wxMenu *  menu,
int  x,
int  y 
) [protected, virtual, inherited]
virtual void SL_Extern::wxGenericListCtrl::DoScreenToClient ( int *  x,
int *  y 
) const [protected, virtual, inherited]
void SL_Extern::wxGenericListCtrl::Edit ( long  item  )  [inline, inherited]

Definition at line 130 of file listctrl.h.

wxTextCtrl* SL_Extern::wxGenericListCtrl::EditLabel ( long  item,
wxClassInfo *  textControlClass = CLASSINFO(wxTextCtrl) 
) [inherited]
bool SL_Extern::wxGenericListCtrl::EnsureVisible ( long  item  )  [inherited]
long SL_Extern::wxGenericListCtrl::FindItem ( long  start,
const wxPoint pt,
int  direction 
) [inherited]
long SL_Extern::wxGenericListCtrl::FindItem ( long  start,
wxUIntPtr  data 
) [inherited]
long SL_Extern::wxGenericListCtrl::FindItem ( long  start,
const wxString str,
bool  partial = false 
) [inherited]
virtual void SL_Extern::wxGenericListCtrl::Freeze (  )  [virtual, inherited]
virtual wxColour SL_Extern::wxGenericListCtrl::GetBackgroundColour (  )  const [virtual, inherited]
static wxVisualAttributes SL_Extern::wxGenericListCtrl::GetClassDefaultAttributes ( wxWindowVariant  variant = wxWINDOW_VARIANT_NORMAL  )  [static, inherited]
bool SL_Extern::wxGenericListCtrl::GetColumn ( int  col,
wxListItem &  item 
) const [inherited]
int SL_Extern::wxGenericListCtrl::GetColumnCount (  )  const [inherited]
int SL_Extern::wxGenericListCtrl::GetColumnWidth ( int  col  )  const [inherited]
int SL_Extern::wxGenericListCtrl::GetCountPerPage (  )  const [inherited]
virtual wxVisualAttributes SL_Extern::wxGenericListCtrl::GetDefaultAttributes (  )  const [inline, virtual, inherited]

Definition at line 169 of file listctrl.h.

wxTextCtrl* SL_Extern::wxGenericListCtrl::GetEditControl (  )  const [inherited]
virtual wxColour SL_Extern::wxGenericListCtrl::GetForegroundColour (  )  const [virtual, inherited]
wxImageList* SL_Extern::wxGenericListCtrl::GetImageList ( int  which  )  const [inherited]
bool SL_Extern::wxGenericListCtrl::GetItem ( wxListItem &  info  )  const [inherited]
wxColour SL_Extern::wxGenericListCtrl::GetItemBackgroundColour ( long  item  )  const [inherited]
int SL_Extern::wxGenericListCtrl::GetItemCount (  )  const [inherited]
wxUIntPtr SL_Extern::wxGenericListCtrl::GetItemData ( long  item  )  const [inherited]
wxFont SL_Extern::wxGenericListCtrl::GetItemFont ( long  item  )  const [inherited]
bool SL_Extern::wxGenericListCtrl::GetItemPosition ( long  item,
wxPoint pos 
) const [inherited]
bool SL_Extern::wxGenericListCtrl::GetItemRect ( long  item,
wxRect rect,
int  code = wxLIST_RECT_BOUNDS 
) const [inherited]
wxSize SL_Extern::wxGenericListCtrl::GetItemSpacing (  )  const [inherited]
int SL_Extern::wxGenericListCtrl::GetItemState ( long  item,
long  stateMask 
) const [inherited]
wxString SL_Extern::wxGenericListCtrl::GetItemText ( long  item  )  const [inherited]
wxColour SL_Extern::wxGenericListCtrl::GetItemTextColour ( long  item  )  const [inherited]
long SL_Extern::wxGenericListCtrl::GetNextItem ( long  item,
int  geometry = wxLIST_NEXT_ALL,
int  state = wxLIST_STATE_DONTCARE 
) const [inherited]
virtual int SL_Extern::wxGenericListCtrl::GetScrollPos ( int  orient  )  const [virtual, inherited]
int SL_Extern::wxGenericListCtrl::GetSelectedItemCount (  )  const [inherited]
wxColour SL_Extern::wxGenericListCtrl::GetTextColour (  )  const [inherited]
long SL_Extern::wxGenericListCtrl::GetTopItem (  )  const [inherited]
wxRect SL_Extern::wxGenericListCtrl::GetViewRect (  )  const [inherited]
bool SL_Extern::wxGenericListCtrl::HasHeader (  )  const [inline, inherited]

Definition at line 157 of file listctrl.h.

long SL_Extern::wxGenericListCtrl::HitTest ( const wxPoint point,
int &  flags,
long *  pSubItem = NULL 
) const [inherited]
bool SL_Extern::wxGenericListCtrl::InReportView (  )  const [inline, inherited]

Definition at line 151 of file listctrl.h.

long SL_Extern::wxGenericListCtrl::InsertColumn ( long  col,
const wxString heading,
int  format = wxLIST_FORMAT_LEFT,
int  width = -1 
) [inherited]
long SL_Extern::wxGenericListCtrl::InsertColumn ( long  col,
wxListItem &  info 
) [inherited]
long SL_Extern::wxGenericListCtrl::InsertItem ( long  index,
const wxString label,
int  imageIndex 
) [inherited]
long SL_Extern::wxGenericListCtrl::InsertItem ( long  index,
int  imageIndex 
) [inherited]
long SL_Extern::wxGenericListCtrl::InsertItem ( long  index,
const wxString label 
) [inherited]
long SL_Extern::wxGenericListCtrl::InsertItem ( wxListItem &  info  )  [inherited]
bool SL_Extern::wxGenericListCtrl::IsVirtual (  )  const [inline, inherited]

Definition at line 154 of file listctrl.h.

virtual wxListItemAttr* SL_Extern::wxGenericListCtrl::OnGetItemAttr ( long  item  )  const [protected, virtual, inherited]
virtual int SL_Extern::wxGenericListCtrl::OnGetItemColumnImage ( long  item,
long  column 
) const [protected, virtual, inherited]
virtual int SL_Extern::wxGenericListCtrl::OnGetItemImage ( long  item  )  const [protected, virtual, inherited]
virtual wxString SL_Extern::wxGenericListCtrl::OnGetItemText ( long  item,
long  column 
) const [protected, virtual, inherited]
void SL_Extern::wxGenericListCtrl::OnInternalIdle (  )  [inherited]
void SL_Extern::wxGenericListCtrl::OnSize ( wxSizeEvent &  event  )  [inherited]
void SL_Extern::wxGenericListCtrl::RecreateWindow (  )  [inline, inherited]

Definition at line 112 of file listctrl.h.

virtual void SL_Extern::wxGenericListCtrl::Refresh ( bool  eraseBackground = true,
const wxRect rect = NULL 
) [virtual, inherited]
void SL_Extern::wxGenericListCtrl::RefreshItem ( long  item  )  [inherited]
void SL_Extern::wxGenericListCtrl::RefreshItems ( long  itemFrom,
long  itemTo 
) [inherited]
bool SL_Extern::wxGenericListCtrl::ScrollList ( int  dx,
int  dy 
) [inherited]
virtual bool SL_Extern::wxGenericListCtrl::SetBackgroundColour ( const wxColour &  colour  )  [virtual, inherited]
bool SL_Extern::wxGenericListCtrl::SetColumn ( int  col,
wxListItem &  item 
) [inherited]
bool SL_Extern::wxGenericListCtrl::SetColumnWidth ( int  col,
int  width 
) [inherited]
virtual bool SL_Extern::wxGenericListCtrl::SetCursor ( const wxCursor &  cursor  )  [virtual, inherited]
virtual void SL_Extern::wxGenericListCtrl::SetFocus (  )  [virtual, inherited]
virtual bool SL_Extern::wxGenericListCtrl::SetFont ( const wxFont &  font  )  [virtual, inherited]
virtual bool SL_Extern::wxGenericListCtrl::SetForegroundColour ( const wxColour &  colour  )  [virtual, inherited]
void SL_Extern::wxGenericListCtrl::SetImageList ( wxImageList imageList,
int  which 
) [inherited]
long SL_Extern::wxGenericListCtrl::SetItem ( long  index,
int  col,
const wxString label,
int  imageId = -1 
) [inherited]
bool SL_Extern::wxGenericListCtrl::SetItem ( wxListItem &  info  )  [inherited]
void SL_Extern::wxGenericListCtrl::SetItemBackgroundColour ( long  item,
const wxColour &  col 
) [inherited]
bool SL_Extern::wxGenericListCtrl::SetItemColumnImage ( long  item,
long  column,
int  image 
) [inherited]
void SL_Extern::wxGenericListCtrl::SetItemCount ( long  count  )  [inherited]
bool SL_Extern::wxGenericListCtrl::SetItemData ( long  item,
long  data 
) [inherited]
void SL_Extern::wxGenericListCtrl::SetItemFont ( long  item,
const wxFont &  f 
) [inherited]
bool SL_Extern::wxGenericListCtrl::SetItemImage ( long  item,
int  image,
int  selImage = -1 
) [inherited]
bool SL_Extern::wxGenericListCtrl::SetItemPosition ( long  item,
const wxPoint pos 
) [inherited]
void SL_Extern::wxGenericListCtrl::SetItemSpacing ( int  spacing,
bool  isSmall = false 
) [inherited]
bool SL_Extern::wxGenericListCtrl::SetItemState ( long  item,
long  state,
long  stateMask 
) [inherited]
void SL_Extern::wxGenericListCtrl::SetItemText ( long  item,
const wxString str 
) [inherited]
void SL_Extern::wxGenericListCtrl::SetItemTextColour ( long  item,
const wxColour &  col 
) [inherited]
virtual void SL_Extern::wxGenericListCtrl::SetScrollPos ( int  orient,
int  pos,
bool  refresh = true 
) [virtual, inherited]
void SL_Extern::wxGenericListCtrl::SetSingleStyle ( long  style,
bool  add = true 
) [inherited]
void SL_Extern::wxGenericListCtrl::SetTextColour ( const wxColour &  col  )  [inherited]
void SL_Extern::wxGenericListCtrl::SetWindowStyleFlag ( long  style  )  [inherited]
virtual bool SL_Extern::wxGenericListCtrl::ShouldInheritColours (  )  const [inline, virtual, inherited]

Definition at line 205 of file listctrl.h.

bool SL_Extern::wxGenericListCtrl::SortItems ( wxListCtrlCompare  fn,
long  data 
) [inherited]
virtual void SL_Extern::wxGenericListCtrl::Thaw (  )  [virtual, inherited]
virtual void SL_Extern::wxGenericListCtrl::Update (  )  [inline, virtual, inherited]

Definition at line 148 of file listctrl.h.

bool SL_Extern::wxGenericListCtrl::Update ( long  item  )  [inherited]

Friends And Related Function Documentation

friend class wxListMainWindow [friend, inherited]

Definition at line 246 of file listctrl.h.


Field Documentation

Definition at line 219 of file listctrl.h.

wxListHeaderWindow* SL_Extern::wxGenericListCtrl::m_headerWin [inherited]

Definition at line 217 of file listctrl.h.

Definition at line 211 of file listctrl.h.

Definition at line 212 of file listctrl.h.

Definition at line 213 of file listctrl.h.

wxListMainWindow* SL_Extern::wxGenericListCtrl::m_mainWin [inherited]

Definition at line 218 of file listctrl.h.

Definition at line 214 of file listctrl.h.

Definition at line 214 of file listctrl.h.

Definition at line 214 of file listctrl.h.


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

Generated on Thu Dec 29 00:12:02 2011 for SpringLobby by doxygen 1.6.3