VCF::DefaultTableCellItem Class Reference
#include <vcf/ApplicationKit/DefaultTableCellItem.h>
Inheritance diagram for VCF::DefaultTableCellItem:
List of all members.
Member Typedef Documentation
Constructor & Destructor Documentation
| VCF::DefaultTableCellItem::DefaultTableCellItem |
( |
|
) |
|
|
| virtual VCF::DefaultTableCellItem::~DefaultTableCellItem |
( |
|
) |
[virtual] |
|
Member Function Documentation
| virtual bool VCF::DefaultTableCellItem::canPaint |
( |
|
) |
const [inline, virtual] |
|
|
|
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.
Reimplemented from VCF::Item. |
| virtual bool VCF::DefaultTableCellItem::containsPoint |
( |
Point * |
pt |
) |
[virtual] |
|
| virtual TableItemEditor* VCF::DefaultTableCellItem::createItemEditor |
( |
|
) |
[virtual] |
|
|
|
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. - Returns:
- TableItemEditor an new instance of an editor, or NULL if no editing is supported. If isReadonly() returns true, then this should return NULL regardless of whether or not the item implementation supports and editor or not.
- See also:
- isReadonly()
Implements VCF::TableCellItem. |
| virtual String VCF::DefaultTableCellItem::getCaption |
( |
|
) |
[virtual] |
|
| virtual const Color& VCF::DefaultTableCellItem::getColor |
( |
|
) |
[virtual] |
|
| virtual CellID VCF::DefaultTableCellItem::getID |
( |
|
) |
[inline, virtual] |
|
| virtual uint32 VCF::DefaultTableCellItem::getIndex |
( |
|
) |
[inline, virtual] |
|
| virtual double VCF::DefaultTableCellItem::getTextCellHeight |
( |
|
) |
[virtual] |
|
| virtual double VCF::DefaultTableCellItem::getTextCellWidth |
( |
|
) |
[virtual] |
|
|
|
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. |
| virtual bool VCF::DefaultTableCellItem::isDropHighlighted |
( |
|
) |
[inline, virtual] |
|
| virtual bool VCF::DefaultTableCellItem::isEditable |
( |
|
) |
[inline, virtual] |
|
| virtual bool VCF::DefaultTableCellItem::isFixed |
( |
|
) |
[virtual] |
|
| virtual bool VCF::DefaultTableCellItem::isFocused |
( |
|
) |
[inline, virtual] |
|
| virtual bool VCF::DefaultTableCellItem::isReadonly |
( |
|
) |
[inline, virtual] |
|
|
|
Identifies if this item is in a readonly state, or if it's possible to edit it.
Implements VCF::TableCellItem. |
| void VCF::DefaultTableCellItem::onFontChanged |
( |
Event * |
e |
) |
[protected] |
|
| virtual void VCF::DefaultTableCellItem::paint |
( |
GraphicsContext * |
context, |
|
|
Rect * |
paintRect |
|
) |
[virtual] |
|
| virtual void VCF::DefaultTableCellItem::setCaption |
( |
const String & |
caption |
) |
[virtual] |
|
| virtual void VCF::DefaultTableCellItem::setColor |
( |
Color * |
color |
) |
[virtual] |
|
| virtual void VCF::DefaultTableCellItem::setDropHighlighted |
( |
const bool & |
val |
) |
[virtual] |
|
| virtual void VCF::DefaultTableCellItem::setFocused |
( |
const bool & |
val |
) |
[virtual] |
|
| virtual void VCF::DefaultTableCellItem::setID |
( |
const CellID & |
val |
) |
[inline, virtual] |
|
| virtual void VCF::DefaultTableCellItem::setIndex |
( |
const uint32 & |
index |
) |
[inline, virtual] |
|
| virtual void VCF::DefaultTableCellItem::setReadonly |
( |
const bool & |
val |
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file: