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

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

#include <ilviews/gadgets/combo.h>

Inheritance diagram for IlvComboBoxLFHandler:
IlvObjectLFHandler IlvDefaultComboBoxLFHandler IlvComboBoxCSSLFHandler IlvComboBoxMLFHandler IlvComboBoxWLFHandler IlvComboBoxVXLFHandler IlvComboBoxW95LFHandler

Public Member Functions

 IlvComboBoxLFHandler (IlvLookFeelHandler *lfh)
 Initializes a new IlvComboBoxLFHandler instance. More...
 
virtual void drawArrow (const IlvComboBox *combo, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const =0
 Is called to draw the arrow of a combo box. More...
 
virtual void drawBackground (const IlvComboBox *combo, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the background of a combo box. More...
 
virtual void drawContents (const IlvComboBox *combo, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the contents of a combo box. More...
 
virtual void drawFrame (const IlvComboBox *combo, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the frame of a combo box. More...
 
virtual IlBoolean handleEvent (IlvComboBox *combo, IlvEvent &event) const =0
 Is called to handle the events of a combo box. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvgadgt

The base class for the object look-and-feel handlers of the combo box.

Constructor & Destructor Documentation

◆ IlvComboBoxLFHandler()

IlvComboBoxLFHandler::IlvComboBoxLFHandler ( IlvLookFeelHandler lfh)

Initializes a new IlvComboBoxLFHandler instance.

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

Member Function Documentation

◆ drawArrow()

virtual void IlvComboBoxLFHandler::drawArrow ( const IlvComboBox combo,
IlvPort dst,
const IlvRect rect,
const IlvRegion clip 
) const
pure virtual

Is called to draw the arrow of a combo box.

Parameters
comboThe combo box.
dstThe destination port.
rectThe rectangle where to draw the arrow.
clipThe clipping region.

Implemented in IlvComboBoxWLFHandler, IlvComboBoxW95LFHandler, IlvComboBoxVXLFHandler, IlvComboBoxMLFHandler, and IlvComboBoxCSSLFHandler.

◆ drawBackground()

virtual void IlvComboBoxLFHandler::drawBackground ( const IlvComboBox combo,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the background of a combo box.

Parameters
comboThe combo box.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvComboBoxWLFHandler, IlvComboBoxW95LFHandler, IlvComboBoxVXLFHandler, and IlvDefaultComboBoxLFHandler.

◆ drawContents()

virtual void IlvComboBoxLFHandler::drawContents ( const IlvComboBox combo,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the contents of a combo box.

Parameters
comboThe combo box.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvComboBoxWLFHandler, IlvComboBoxMLFHandler, and IlvComboBoxCSSLFHandler.

◆ drawFrame()

virtual void IlvComboBoxLFHandler::drawFrame ( const IlvComboBox combo,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the frame of a combo box.

Parameters
comboThe combo box.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvComboBoxWLFHandler, IlvComboBoxW95LFHandler, IlvComboBoxVXLFHandler, IlvComboBoxMLFHandler, IlvComboBoxCSSLFHandler, and IlvDefaultComboBoxLFHandler.

◆ handleEvent()

virtual IlBoolean IlvComboBoxLFHandler::handleEvent ( IlvComboBox combo,
IlvEvent event 
) const
pure virtual

Is called to handle the events of a combo box.

Parameters
comboThe combo box.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implemented in IlvDefaultComboBoxLFHandler.