rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvStringListMLFHandler Class Reference

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

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

Inheritance diagram for IlvStringListMLFHandler:
IlvDefaultStringListLFHandler IlvStringListLFHandler IlvObjectLFHandler

List of all members.

Public Member Functions

 IlvStringListMLFHandler (IlvLookFeelHandler *lfh)
 Constructor.
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.
virtual IlBoolean focusFollowSelection () const
 Indicates whether the focus should follow the selection.
virtual IlvDim getItemHeight (const IlvStringList *, IlUShort pos) const
 Is called to get the height of the specified item of a string list.

Detailed Description

Object Look-and-Feel class.

Library: ilvamlook

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


Constructor & Destructor Documentation

IlvStringListMLFHandler::IlvStringListMLFHandler ( IlvLookFeelHandler lfh  ) 

Constructor.

Creates a new IlvStringListMLFHandler instance and initializes it with lfh.

Parameters:
lfh The look-and-feel handler which this handler will be associated to.

Member Function Documentation

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

Is called to draw a string list item.

Parameters:
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.

Reimplemented from IlvDefaultStringListLFHandler.

virtual IlBoolean IlvStringListMLFHandler::focusFollowSelection (  )  const [virtual]

Indicates whether the focus should follow the selection.

Returns:
IlTrue if the focus should follow the selection.

Implements IlvStringListLFHandler.

virtual IlvDim IlvStringListMLFHandler::getItemHeight ( const IlvStringList slist,
IlUShort  pos 
) const [virtual]

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

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

Implements IlvStringListLFHandler.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, 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.