rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvDefaultSpinBoxLFHandler Class Reference

Object look-and-feel class. More...

#include <ilviews/gadgets/spinbox.h>

Inheritance diagram for IlvDefaultSpinBoxLFHandler:
IlvSpinBoxLFHandler IlvObjectLFHandler IlvSpinBoxMLFHandler IlvSpinBoxWLFHandler IlvSpinBoxVXLFHandler IlvSpinBoxW95LFHandler

Public Member Functions

virtual void drawArrow (const IlvSpinBox *, const IlvArrowButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the arrow of a spin box. More...
 
virtual void drawBackground (const IlvSpinBox *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a spin box. More...
 
virtual void drawContents (const IlvSpinBox *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a spin box. More...
 
virtual IlBoolean handleEvent (IlvSpinBox *, IlvEvent &) const
 Is called to handle the events of a spin box. More...
 
- Public Member Functions inherited from IlvSpinBoxLFHandler
 IlvSpinBoxLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void computeArrowRects (const IlvSpinBox *spin, IlvRect &decrArrow, IlvRect &incrArrow, IlvRect &internal, const IlvTransformer *t) const =0
 Is called to compute the bounding boxes of spin box items. More...
 
virtual void drawFrame (const IlvSpinBox *spin, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the frame of a spin box. More...
 

Detailed Description

Object look-and-feel class.

Library: ilvadvgdt

The predefined object look-and-feel handlers of the spin box are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.

Member Function Documentation

virtual void IlvDefaultSpinBoxLFHandler::drawArrow ( const IlvSpinBox spin,
const IlvArrowButton arrow,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the arrow of a spin box.

Parameters
spinThe spin box.
arrowThe arrow button.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvSpinBoxLFHandler.

virtual void IlvDefaultSpinBoxLFHandler::drawBackground ( const IlvSpinBox spin,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a spin box.

Parameters
spinThe spin box.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvSpinBoxLFHandler.

virtual void IlvDefaultSpinBoxLFHandler::drawContents ( const IlvSpinBox spin,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the contents of a spin box.

Parameters
spinThe spin box.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvSpinBoxLFHandler.

virtual IlBoolean IlvDefaultSpinBoxLFHandler::handleEvent ( IlvSpinBox spin,
IlvEvent event 
) const
virtual

Is called to handle the events of a spin box.

Parameters
spinThe spin box.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implements IlvSpinBoxLFHandler.


© 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.