rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvSpinBoxLFHandler Class Reference

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

#include <ilviews/gadgets/spinbox.h>

Inheritance diagram for IlvSpinBoxLFHandler:
IlvObjectLFHandler IlvDefaultSpinBoxLFHandler IlvSpinBoxMLFHandler IlvSpinBoxWLFHandler IlvSpinBoxVXLFHandler IlvSpinBoxW95LFHandler

List of all members.

Public Member Functions

 IlvSpinBoxLFHandler (IlvLookFeelHandler *lfh)
 Constructor.
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.
virtual void drawArrow (const IlvSpinBox *spin, const IlvArrowButton *arrow, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the arrow of a spin box.
virtual void drawBackground (const IlvSpinBox *spin, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the background of a spin box.
virtual void drawContents (const IlvSpinBox *spin, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the contents of a spin box.
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.
virtual IlBoolean handleEvent (IlvSpinBox *spin, IlvEvent &event) const =0
 Is called to handle the events of a spin box.

Detailed Description

Object Look-and-Feel class.

Library: ilvadvgdt

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


Constructor & Destructor Documentation

IlvSpinBoxLFHandler::IlvSpinBoxLFHandler ( IlvLookFeelHandler lfh  ) 

Constructor.

Creates a new IlvSpinBoxLFHandler 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 IlvSpinBoxLFHandler::computeArrowRects ( const IlvSpinBox spin,
IlvRect decrArrow,
IlvRect incrArrow,
IlvRect internal,
const IlvTransformer t 
) const [pure virtual]

Is called to compute the bounding boxes of spin box items.

Parameters:
spin The spin box.
decrArrow The returned bounding box of the decrement arrow.
incrArrow The returned bounding box of the increment arrow.
internal The internal bounding box where to draw the objects of the spin box.
t The transformer.

Implemented in IlvSpinBoxMLFHandler, IlvSpinBoxVXLFHandler, IlvSpinBoxW95LFHandler, and IlvSpinBoxWLFHandler.

virtual void IlvSpinBoxLFHandler::drawArrow ( const IlvSpinBox spin,
const IlvArrowButton arrow,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [pure virtual]

Is called to draw the arrow of a spin box.

Parameters:
spin The spin box.
arrow The arrow button.
dst The destination port.
t The transformer.
clip The clipping region.

Implemented in IlvDefaultSpinBoxLFHandler.

virtual void IlvSpinBoxLFHandler::drawBackground ( const IlvSpinBox spin,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [pure virtual]

Is called to draw the background of a spin box.

Parameters:
spin The spin box.
dst The destination port.
t The transformer.
clip The clipping region.

Implemented in IlvDefaultSpinBoxLFHandler.

virtual void IlvSpinBoxLFHandler::drawContents ( const IlvSpinBox spin,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [pure virtual]

Is called to draw the contents of a spin box.

Parameters:
spin The spin box.
dst The destination port.
t The transformer.
clip The clipping region.

Implemented in IlvDefaultSpinBoxLFHandler.

virtual void IlvSpinBoxLFHandler::drawFrame ( const IlvSpinBox spin,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [pure virtual]

Is called to draw the frame of a spin box.

Parameters:
spin The spin box.
dst The destination port.
t The transformer.
clip The clipping region.

Implemented in IlvSpinBoxMLFHandler, IlvSpinBoxVXLFHandler, IlvSpinBoxW95LFHandler, and IlvSpinBoxWLFHandler.

virtual IlBoolean IlvSpinBoxLFHandler::handleEvent ( IlvSpinBox spin,
IlvEvent event 
) const [pure virtual]

Is called to handle the events of a spin box.

Parameters:
spin The spin box.
event The event to handle.
Returns:
IlTrue if the event has been consumed.

Implemented in IlvDefaultSpinBoxLFHandler.

 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.