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

Public Member Functions | |
| DefaultListItem () | |
| DefaultListItem (ListModel *model) | |
| DefaultListItem (ListModel *model, const String &caption) | |
| virtual | ~DefaultListItem () |
| void | init () |
| This is going to be removed from the bext release. | |
| 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 String | getCaption () |
| virtual void | setCaption (const String &caption) |
| virtual void | paint (GraphicsContext *context, Rect *paintRect) |
| virtual bool | isSelected () |
| virtual void | setSelected (const bool &selected) |
| virtual int32 | getImageIndex () |
| virtual void | setImageIndex (const int32 &imageIndex) |
| virtual Rect * | getBounds () |
| returns the Bounds for the Item or NULL if not applicable. | |
| virtual bool | canPaint () |
| indicates whether the item can paint itself. | |
| virtual void | addSubItem (const String &caption, void *data) |
| virtual void | addSubItem (ListItem::SubItem *subItem) |
| virtual void | removeSubItem (const uint32 &index) |
| virtual Enumerator< ListItem::SubItem * > * | getSubItems () |
| virtual ListItem::SubItem * | getSubItem (const uint32 &index) |
| virtual uint32 | getSubItemCount () |
| virtual void | subItemChanged (ListItem::SubItem *item) |
| virtual void | setBounds (Rect *bounds) |
| virtual int32 | getStateImageIndex () |
| not supported | |
| virtual void | setStateImageIndex (const int32 &index) |
| not supported | |
Constructor & Destructor Documentation
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
Member Function Documentation
|
|
Implements VCF::ListItem. |
|
||||||||||||
|
Implements VCF::ListItem. |
|
|
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. |
|
|
returns the Bounds for the Item or NULL if not applicable.
Implements VCF::Item. |
|
|
Implements VCF::ListItem. |
|
|
Returns some application defined data. This can be anything you want, hence the void* storage. Implements VCF::Item. |
|
|
Implements VCF::Item. |
|
|
Returns the index of the item within it's model.
Implements VCF::Item. |
|
|
not supported
Implements VCF::Item. |
|
|
Implements VCF::ListItem. |
|
|
Implements VCF::ListItem. |
|
|
Implements VCF::ListItem. |
|
|
This is going to be removed from the bext release.
Reimplemented from VCF::Object. |
|
|
Implements VCF::Item. |
|
||||||||||||
|
Implements VCF::Item. |
|
|
Implements VCF::ListItem. |
|
|
Implements VCF::Item. |
|
|
Implements VCF::ListItem. |
|
|
Sets the application defined data.
Implements VCF::Item. |
|
|
Implements VCF::Item. |
|
|
Implements VCF::Item. |
|
|
Implements VCF::Item. |
|
|
not supported
Implements VCF::Item. |
|
|
Implements VCF::ListItem. |
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/DefaultListItem.h
