Public Member Functions | |
CGridCell (const CPaintInfo &paintInfo, const CGridLine &gridLine, const CColumn *column, CImageList *imageList, int imageId, bool stretchImage, const Common::CFormat *format) | |
Constructor. | |
CGridCell (const CGridCell &cell) | |
Copy constructor. | |
const CPaintInfo & | GetPaintInfo () const |
Gets paint info. | |
CPaintInfo & | GetPaintInfo () |
Gets paint info. Const version. | |
const CGridLine & | GetGridLine () const |
Gets the line that contains a cell. | |
const CColumn * | GetColumn () const |
Gets a column. | |
CImageList * | GetImageList () const |
Gets an image list to draw images in a cell. | |
int | GetImageId () const |
Gets an index of an image in the image list. | |
bool | GetStretchImage () const |
Indicates whether an image is stretched to vertical size of cell. | |
const Common::CFormat * | CetTextFormat () const |
Gets text format to draw text in a cell. | |
void | SetTextFormat (const Common::CFormat *format) |
Sets a new text format to draw the text in a cell. | |
CString | GetFormattedMfcString () const |
Gets MFC string to show in a cell. | |
TString | GetFormattedStlString () const |
Gets STL string to show in a cell. | |
Common::CValue | GetValue () const |
Gets non-formatted value retrieved from a field of a corresponded data object. | |
void | SetImageList (CImageList *imageList) |
Sets a new image list. | |
void | SetImageId (int imageId) |
Sets a new image index. | |
void | SetStretchImage (bool stretch) |
Sets the new value that enables image stretching. | |
void | RequestNextPaint (int msec) |
Request a new painting routine for the given cell after the specified time. |
CGridCell | ( | const CPaintInfo & | paintInfo, | |
const CGridLine & | gridLine, | |||
const CColumn * | column, | |||
CImageList * | imageList, | |||
int | imageId, | |||
bool | stretch, | |||
const Common::CFormat * | format | |||
) |
Constructor.
[in] | paintInfo | Contains colors, rectangles, font, text adjustement to draw a cell |
[in] | gridLine | Contains grid line information. |
[in] | column | Grid column |
[in] | imageList | List of the images that are drawn in cells |
[in] | imageId | Image index |
[in] | stretch | Indicates that an image should be stretched to a cell height. |
[in] | format | Text format |
const CPaintInfo & GetPaintInfo | ( | ) | const [inline] |
Gets paint info.
CPaintInfo & GetPaintInfo | ( | ) | [inline] |
Gets paint info. Const version.
const CGridLine & GetGridLine | ( | ) | const [inline] |
CImageList * GetImageList | ( | ) | const [inline] |
Gets an image list to draw images in a cell.
int GetImageId | ( | ) | const [inline] |
bool GetStretchImage | ( | ) | const [inline] |
Indicates whether an image is stretched to vertical size of cell.
CString GetFormattedMfcString | ( | ) | const |
Gets MFC string to show in a cell.
TString GetFormattedStlString | ( | ) | const |
Gets STL string to show in a cell.
Common::CValue GetValue | ( | ) | const |
Gets non-formatted value retrieved from a field of a corresponded data object.
void SetImageList | ( | CImageList * | imageList | ) | [inline] |
Sets a new image list.
[in] | imageList | A new image list. |
void SetImageId | ( | int | imageId | ) | [inline] |
Sets a new image index.
[in] | imageId | a new image index. |
void SetStretchImage | ( | bool | stretch | ) | [inline] |
Sets the new value that enables image stretching.
[in] | stretch | Value, indicating whether it should stretch an image in the cell. |
void RequestNextPaint | ( | int | msec | ) |
Request a new painting routine for the given cell after the specified time.
[in] | msec | Period in milliseconds after which the cell will be redrawn |
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |