Views
Gadgets Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvStringListWLFHandler Class Reference

Object Look-and-Feel class. More...

#include <ilviews/gadgets/windows/slist.h>

Inheritance diagram for IlvStringListWLFHandler:
IlvDefaultStringListLFHandler IlvStringListLFHandler IlvObjectLFHandler

Public Member Functions

 IlvStringListWLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual IlBoolean focusFollowSelection () const
 Indicates whether the focus should follow the selection. More...
 
virtual IlvDim getItemHeight (const IlvStringList *, IlUShort pos) const
 Is called to get the height of the specified item of a string list. More...
 
- Public Member Functions inherited from IlvDefaultStringListLFHandler
virtual void drawBackground (const IlvStringList *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a string list. More...
 
virtual void drawFrame (const IlvStringList *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a string list. More...
 
virtual void drawGadgetContents (const IlvStringList *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a string list. More...
 
virtual void drawGadgetItem (const IlvStringList *, const IlvGadgetItem *, IlvPort *port, const IlvRect &rect, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw a string list item. More...
 
virtual IlBoolean handleGadgetEvent (IlvStringList *, IlvEvent &event) const
 Is called to handle the events of a string list. More...
 
- Public Member Functions inherited from IlvStringListLFHandler
 IlvStringListLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvawlook

The class for the Microsoft Windows object look-and-feel handler of the string list.

Constructor & Destructor Documentation

◆ IlvStringListWLFHandler()

IlvStringListWLFHandler::IlvStringListWLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvStringListWLFHandler instance and initializes it with lfh.

Parameters
lfhThe look-and-feel handler which this handler will be associated to.

Member Function Documentation

◆ focusFollowSelection()

virtual IlBoolean IlvStringListWLFHandler::focusFollowSelection ( ) const
virtual

Indicates whether the focus should follow the selection.

Returns
IlTrue if the focus should follow the selection.

Implements IlvStringListLFHandler.

◆ getItemHeight()

virtual IlvDim IlvStringListWLFHandler::getItemHeight ( const IlvStringList slist,
IlUShort  pos 
) const
virtual

Is called to get the height of the specified item of a string list.

Parameters
slistThe string list.
posThe index of the string list item.
Returns
The height of the pos item in the string list slist.

Implements IlvStringListLFHandler.