rwlogo

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave 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 IlvComboBoxMLFHandler IlvComboBoxWLFHandler IlvComboBoxVXLFHandler IlvComboBoxW95LFHandler

Public Member Functions

 IlvComboBoxLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawArrow (const IlvComboBox *combo, IlvPort *dst, const IlvRect &rect, const IlvRegion *t) 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 ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvComboBoxLFHandler instance and initializes it with lfh.

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

Member Function Documentation

virtual void IlvComboBoxLFHandler::drawArrow ( const IlvComboBox combo,
IlvPort dst,
const IlvRect rect,
const IlvRegion t 
) 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, IlvComboBoxVXLFHandler, IlvComboBoxW95LFHandler, and IlvComboBoxMLFHandler.

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 IlvDefaultComboBoxLFHandler, IlvComboBoxWLFHandler, IlvComboBoxVXLFHandler, and IlvComboBoxW95LFHandler.

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, and IlvComboBoxMLFHandler.

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 IlvDefaultComboBoxLFHandler, IlvComboBoxWLFHandler, IlvComboBoxVXLFHandler, IlvComboBoxW95LFHandler, and IlvComboBoxMLFHandler.

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.


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