VCF::ColumnItem Class Reference
A ColumnItem item is used to represent a single header column. More...
#include <vcf/ApplicationKit/ColumnItem.h>
Inheritance diagram for VCF::ColumnItem:

Public Member Functions | |
| virtual | ~ColumnItem () |
| virtual double | getWidth ()=0 |
| returns the width of the coumn. | |
| virtual void | setWidth (const double &width)=0 |
| sets the width of the column | |
| virtual void | setCaption (const String &caption)=0 |
| sets the caption of the column. | |
| virtual String | getCaption ()=0 |
| returns the caption for the column item | |
| virtual void | setCaptionAlignment (const TextAlignmentType &alignment)=0 |
| sets the alignment of the caption. | |
| virtual TextAlignmentType | getCaptionAlignment ()=0 |
| gets the current alignment type fopr the column. | |
Detailed Description
A ColumnItem item is used to represent a single header column.ColumnItems can be found in the HeaderControl, and ListViewControl, and are used to display a series of rectangular shapes that each represent a column vertical column.
Constructor & Destructor Documentation
|
|
|
Member Function Documentation
|
|
returns the caption for the column item
Implemented in VCF::DefaultColumnItem. |
|
|
gets the current alignment type fopr the column.
Implemented in VCF::DefaultColumnItem. |
|
|
returns the width of the coumn. The width should always be greater than or equal to 0 Implemented in VCF::DefaultColumnItem. |
|
|
sets the caption of the column. If the text is wider than the current width of the column it will be truncated to fit and drawn with an ellipsis ("...")
Implemented in VCF::DefaultColumnItem. |
|
|
sets the alignment of the caption. Setting the caption alignment determines how the caption is drawn and to which side the text is aligned. You can align it to the left, right, or center.
Implemented in VCF::DefaultColumnItem. |
|
|
sets the width of the column
Implemented in VCF::DefaultColumnItem. |
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/ColumnItem.h
