Object Look-and-Feel class. More...
#include <ilviews/gadgets/slist.h>
Public Member Functions | |
| IlvStringListLFHandler (IlvLookFeelHandler *lfh) | |
| Constructor. More... | |
| virtual void | drawBackground (const IlvStringList *slist, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
| Is called to draw the background of a string list. More... | |
| virtual void | drawFrame (const IlvStringList *slist, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
| Is called to draw the frame of a string list. More... | |
| virtual void | drawGadgetContents (const IlvStringList *slist, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
| Is called to draw the contents of a string list. More... | |
| virtual void | drawGadgetItem (const IlvStringList *slist, const IlvGadgetItem *item, IlvPort *dst, const IlvRect &bbox, const IlvTransformer *t, const IlvRegion *clip) const =0 |
| Is called to draw a string list item. More... | |
| virtual IlBoolean | focusFollowSelection () const =0 |
| Indicates whether the focus should follow the selection. More... | |
| virtual IlvDim | getItemHeight (const IlvStringList *slist, IlUShort pos) const =0 |
| Is called to get the height of the specified item of a string list. More... | |
| virtual IlvDim | getItemWidth (const IlvStringList *slist, IlUShort pos) const =0 |
| Is called to get the width of the specified item of a string list. More... | |
| virtual IlBoolean | handleGadgetEvent (IlvStringList *slist, IlvEvent &event) const =0 |
| Is called to handle the events of a string list. More... | |
Object Look-and-Feel class.
Library: ilvadvgdt
The base class for the object look-and-feel handlers of the string list.
| IlvStringListLFHandler::IlvStringListLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvStringListLFHandler instance and initializes it with lfh.
| lfh | The look-and-feel handler which this handler will be associated to. |
|
pure virtual |
Is called to draw the background of a string list.
| slist | The string list. |
| dst | The destination port. |
| t | The transformer. |
| clip | The clipping region. |
Implemented in IlvDefaultStringListLFHandler.
|
pure virtual |
Is called to draw the frame of a string list.
| slist | The string list. |
| dst | The destination port. |
| t | The transformer. |
| clip | The clipping region. |
Implemented in IlvDefaultStringListLFHandler.
|
pure virtual |
Is called to draw the contents of a string list.
| slist | The string list. |
| dst | The destination port. |
| t | The transformer. |
| clip | The clipping region. |
Implemented in IlvDefaultStringListLFHandler.
|
pure virtual |
Is called to draw a string list item.
| slist | The string list. |
| item | The string list item to draw. |
| dst | The destination port. |
| bbox | The rectangle where to draw the item. |
| t | The transformer. Not Used. |
| clip | The clipping region. |
Implemented in IlvDefaultStringListLFHandler, IlvStringListMLFHandler, and IlvStringListCSSLFHandler.
|
pure virtual |
Indicates whether the focus should follow the selection.
IlTrue if the focus should follow the selection. Implemented in IlvStringListWLFHandler, IlvStringListMLFHandler, and IlvStringListCSSLFHandler.
|
pure virtual |
Is called to get the height of the specified item of a string list.
| slist | The string list. |
| pos | The index of the string list item. |
Implemented in IlvStringListWLFHandler, IlvStringListMLFHandler, and IlvStringListCSSLFHandler.
|
pure virtual |
Is called to get the width of the specified item of a string list.
| slist | The string list. |
| pos | The index of the string list item. |
Implemented in IlvDefaultStringListLFHandler, and IlvStringListCSSLFHandler.
|
pure virtual |
Is called to handle the events of a string list.
| slist | The string list. |
| event | The event to handle. |
IlTrue if the event has been consumed. Implemented in IlvDefaultStringListLFHandler.