wxPGCell Class Reference

Base class for simple wxPropertyGrid cell information. More...

#include <propgrid.h>

Inheritance diagram for wxPGCell:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void Assign (const wxPGCell &cell)
const wxColour & GetBgCol () const
const wxBitmap & GetBitmap () const
const wxColour & GetFgCol () const
const wxFont & GetFont () const
const wxString & GetText () const
bool HasText () const
void SetBgCol (const wxColour &col)
void SetBitmap (const wxBitmap &bitmap)
void SetFgCol (const wxColour &col)
void SetFont (const wxFont &font)
void SetText (const wxString &text)
 wxPGCell (const wxString &text, const wxBitmap &bitmap=wxNullBitmap, const wxColour &fgCol=wxNullColour, const wxColour &bgCol=wxNullColour)
 wxPGCell ()
virtual ~wxPGCell ()

Protected Attributes

wxColour m_bgCol
wxBitmap m_bitmap
wxColour m_fgCol
wxFont m_font
wxString m_text

Detailed Description

Base class for simple wxPropertyGrid cell information.

Definition at line 633 of file propgrid.h.


Constructor & Destructor Documentation

wxPGCell::wxPGCell (  ) 
wxPGCell::wxPGCell ( const wxString &  text,
const wxBitmap &  bitmap = wxNullBitmap,
const wxColour &  fgCol = wxNullColour,
const wxColour &  bgCol = wxNullColour 
)
virtual wxPGCell::~wxPGCell (  )  [inline, virtual]

Definition at line 642 of file propgrid.h.


Member Function Documentation

void wxPGCell::Assign ( const wxPGCell cell  ) 

Copies content of one wxPGCell to this.

const wxColour& wxPGCell::GetBgCol (  )  const [inline]

Definition at line 663 of file propgrid.h.

const wxBitmap& wxPGCell::GetBitmap (  )  const [inline]

Definition at line 661 of file propgrid.h.

const wxColour& wxPGCell::GetFgCol (  )  const [inline]

Definition at line 662 of file propgrid.h.

const wxFont& wxPGCell::GetFont (  )  const [inline]

Definition at line 664 of file propgrid.h.

const wxString& wxPGCell::GetText (  )  const [inline]

Definition at line 660 of file propgrid.h.

bool wxPGCell::HasText (  )  const

Returns if the cell has valid text.

void wxPGCell::SetBgCol ( const wxColour &  col  )  [inline]

Definition at line 657 of file propgrid.h.

void wxPGCell::SetBitmap ( const wxBitmap &  bitmap  )  [inline]

Definition at line 655 of file propgrid.h.

void wxPGCell::SetFgCol ( const wxColour &  col  )  [inline]

Definition at line 656 of file propgrid.h.

void wxPGCell::SetFont ( const wxFont &  font  )  [inline]

Definition at line 658 of file propgrid.h.

void wxPGCell::SetText ( const wxString &  text  )  [inline]

Definition at line 654 of file propgrid.h.


Member Data Documentation

wxColour wxPGCell::m_bgCol [protected]

Definition at line 670 of file propgrid.h.

wxBitmap wxPGCell::m_bitmap [protected]

Definition at line 668 of file propgrid.h.

wxColour wxPGCell::m_fgCol [protected]

Definition at line 669 of file propgrid.h.

wxFont wxPGCell::m_font [protected]

Definition at line 671 of file propgrid.h.

wxString wxPGCell::m_text [protected]

Definition at line 667 of file propgrid.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


wxpropgrid
Author(s): Jaakko Salli
autogenerated on Fri Jan 11 11:37:53 2013