VCF::DefaultTableCellItem Class Reference
#include <vcf/ApplicationKit/DefaultTableCellItem.h>
Inheritance diagram for VCF::DefaultTableCellItem:

Public Member Functions | |
| DefaultTableCellItem () | |
| virtual | ~DefaultTableCellItem () |
| virtual bool | containsPoint (Point *pt) |
| This is called to determine if a given point is within the bounds of the item. | |
| virtual uint32 | getIndex () |
| Returns the index of the item within it's model. | |
| virtual void | setIndex (const uint32 &index) |
| virtual void * | getData () |
| Returns some application defined data. | |
| virtual void | setData (void *data) |
| Sets the application defined data. | |
| virtual void | paint (GraphicsContext *context, Rect *paintRect) |
| virtual TableItemEditor * | createItemEditor () |
| Calling this will create a new table item editor. | |
| virtual bool | isSelected () |
| virtual bool | isReadonly () |
| Identifies if this item is in a readonly state, or if it's possible to edit it. | |
| virtual bool | isFixed () |
| virtual bool | isFocused () |
| virtual bool | isDropHighlighted () |
| virtual bool | isEditable () |
| virtual void | setSelected (const bool &val) |
| virtual void | setReadonly (const bool &val) |
| virtual void | setFocused (const bool &val) |
| virtual void | setDropHighlighted (const bool &val) |
| virtual void | setFixed (const bool &val) |
| virtual String | getCaption () |
| virtual void | setCaption (const String &caption) |
| virtual Rect * | getBounds () |
| returns the Bounds for the Item or NULL if not applicable. | |
| virtual int32 | getImageIndex () |
| virtual void | setImageIndex (const int32 &imageIndex) |
| virtual bool | canPaint () |
| indicates whether the item can paint itself. | |
| virtual void | setBounds (Rect *bounds) |
| virtual int32 | getStateImageIndex () |
| not supported | |
| virtual void | setModel (Model *model) |
| Sets the model that this item is a part of. | |
| virtual void | setStateImageIndex (const int32 &index) |
| not supported | |
| virtual double | getTextCellWidth (GraphicsContext *context) |
| rerturns the width of the cell, taking into account the text of the cell, and any other formatting rules the cell wants to consider. | |
| virtual double | getTextCellHeight (GraphicsContext *context) |
| virtual const Color & | getColor () |
| Returns a non modifiable color reference. | |
| virtual void | setColor (Color *color) |
| virtual const Font & | getFont () |
| Returns a non modifiable font reference. | |
| virtual void | setFont (Font *font) |
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
indicates whether the item can paint itself. In general this is often false, but when true, the control that contains the item should call the item's paint() method whenever the item needs repainting. Implements VCF::Item. |
|
|
This is called to determine if a given point is within the bounds of the item. The bounds may be slightly different than what is returned by getBounds(). For example, an item may not support getBounds(), but may have a non-rectangular region and may implement containsPoint() accordingly. Implements VCF::Item. |
|
|
Calling this will create a new table item editor. The implementor is responsible for returning an editor that is properly initialized with the data from the item.
Implements VCF::TableCellItem. |
|
|
returns the Bounds for the Item or NULL if not applicable.
Implements VCF::Item. |
|
|
Implements VCF::TableCellItem. |
|
|
Returns a non modifiable color reference. If you need to change the cell's color, you should call setColor().
Implements VCF::TableCellItem. |
|
|
Returns some application defined data. This can be anything you want, hence the void* storage. Implements VCF::Item. |
|
|
Returns a non modifiable font reference. If you need to change the cell's font, you should call setFont().
Implements VCF::TableCellItem. |
|
|
Implements VCF::Item. |
|
|
Returns the index of the item within it's model.
Implements VCF::Item. |
|
|
not supported
Implements VCF::Item. |
|
|
Implements VCF::TableCellItem. |
|
|
rerturns the width of the cell, taking into account the text of the cell, and any other formatting rules the cell wants to consider.
Implements VCF::TableCellItem. |
|
|
Implements VCF::TableCellItem. |
|
|
Implements VCF::TableCellItem. |
|
|
Implements VCF::TableCellItem. |
|
|
Implements VCF::TableCellItem. |
|
|
Identifies if this item is in a readonly state, or if it's possible to edit it.
Implements VCF::TableCellItem. |
|
|
Implements VCF::TableCellItem. |
|
||||||||||||
|
Implements VCF::Item. |
|
|
Implements VCF::Item. |
|
|
Implements VCF::TableCellItem. |
|
|
Implements VCF::TableCellItem. |
|
|
Sets the application defined data.
Implements VCF::Item. |
|
|
Implements VCF::TableCellItem. |
|
|
Implements VCF::TableCellItem. |
|
|
Implements VCF::TableCellItem. |
|
|
Implements VCF::TableCellItem. |
|
|
Implements VCF::Item. |
|
|
Implements VCF::Item. |
|
|
Sets the model that this item is a part of. Subclasses may need or want to customize this. Reimplemented from VCF::Item. |
|
|
Implements VCF::TableCellItem. |
|
|
Implements VCF::TableCellItem. |
|
|
not supported
Implements VCF::Item. |
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/DefaultTableCellItem.h
