Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvStringListLFHandler Class Referenceabstract

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

#include <ilviews/gadgets/slist.h>

Inheritance diagram for IlvStringListLFHandler:
IlvObjectLFHandler IlvDefaultStringListLFHandler IlvStringListCSSLFHandler IlvStringListMLFHandler IlvStringListWLFHandler

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 IlBoolean handleGadgetEvent (IlvStringList *slist, IlvEvent &event) const =0
 Is called to handle the events of a string list. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvadvgdt

The base class for the object look-and-feel handlers of the string list.

Constructor & Destructor Documentation

§ IlvStringListLFHandler()

IlvStringListLFHandler::IlvStringListLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvStringListLFHandler instance and initializes it with lfh.

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

Member Function Documentation

§ drawBackground()

virtual void IlvStringListLFHandler::drawBackground ( const IlvStringList slist,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the background of a string list.

Parameters
slistThe string list.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvDefaultStringListLFHandler.

§ drawFrame()

virtual void IlvStringListLFHandler::drawFrame ( const IlvStringList slist,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the frame of a string list.

Parameters
slistThe string list.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvDefaultStringListLFHandler.

§ drawGadgetContents()

virtual void IlvStringListLFHandler::drawGadgetContents ( const IlvStringList slist,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the contents of a string list.

Parameters
slistThe string list.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvDefaultStringListLFHandler.

§ drawGadgetItem()

virtual void IlvStringListLFHandler::drawGadgetItem ( const IlvStringList slist,
const IlvGadgetItem item,
IlvPort dst,
const IlvRect bbox,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw a string list item.

Parameters
slistThe string list.
itemThe string list item to draw.
dstThe destination port.
bboxThe rectangle where to draw the item.
tThe transformer. Not Used.
clipThe clipping region.

Implemented in IlvDefaultStringListLFHandler, IlvStringListCSSLFHandler, and IlvStringListMLFHandler.

§ focusFollowSelection()

virtual IlBoolean IlvStringListLFHandler::focusFollowSelection ( ) const
pure virtual

Indicates whether the focus should follow the selection.

Returns
IlTrue if the focus should follow the selection.

Implemented in IlvStringListCSSLFHandler, IlvStringListMLFHandler, and IlvStringListWLFHandler.

§ getItemHeight()

virtual IlvDim IlvStringListLFHandler::getItemHeight ( const IlvStringList slist,
IlUShort  pos 
) const
pure 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.

Implemented in IlvStringListCSSLFHandler, IlvStringListMLFHandler, and IlvStringListWLFHandler.

§ handleGadgetEvent()

virtual IlBoolean IlvStringListLFHandler::handleGadgetEvent ( IlvStringList slist,
IlvEvent event 
) const
pure virtual

Is called to handle the events of a string list.

Parameters
slistThe string list.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implemented in IlvDefaultStringListLFHandler.


© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.