Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvSliderLFHandler Class Referenceabstract

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

#include <ilviews/gadgets/slider.h>

Inheritance diagram for IlvSliderLFHandler:
IlvObjectLFHandler IlvDefaultSliderLFHandler IlvSliderCSSLFHandler IlvSliderMLFHandler IlvSliderWLFHandler IlvSliderVXLFHandler IlvSliderW95LFHandler

Public Member Functions

 IlvSliderLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void computeBBox (const IlvSlider *slider, IlvRect &track, IlvRect &thumb, const IlvTransformer *t) const =0
 Is called to compute the bounding boxes of the slider components. More...
 
virtual void drawBackground (const IlvSlider *slider, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the background of a slider gadget. More...
 
virtual void drawContents (const IlvSlider *slider, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the contents of a slider gadget. More...
 
virtual void drawFrame (const IlvSlider *slider, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the frame of a slider gadget. More...
 
virtual void drawThumb (const IlvSlider *slider, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const =0
 Is called to draw the thumb of a slider gadget. More...
 
virtual void drawTrack (const IlvSlider *slider, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const =0
 Is called to draw the track of a slider gadget. More...
 
virtual IlBoolean handleEvent (IlvSlider *slider, IlvEvent &event) const =0
 Is called to handle the events of a slider gadget. More...
 
virtual IlInt positionToValue (const IlvSlider *slider, const IlvPoint &point, const IlvTransformer *t) const =0
 Is called to compute the value of the slider at a specified point. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvgadgt

The base class for the object look-and-feel handlers of the slider gadget.

Constructor & Destructor Documentation

§ IlvSliderLFHandler()

IlvSliderLFHandler::IlvSliderLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvSliderLFHandler instance and initializes it with lfh.

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

Member Function Documentation

§ computeBBox()

virtual void IlvSliderLFHandler::computeBBox ( const IlvSlider slider,
IlvRect track,
IlvRect thumb,
const IlvTransformer t 
) const
pure virtual

Is called to compute the bounding boxes of the slider components.

Parameters
sliderThe slider.
trackThe returned bounding box of the track of the slider.
thumbThe returned bounding box of the thumb of the slider.
tThe transformer.

Implemented in IlvSliderCSSLFHandler, IlvSliderVXLFHandler, IlvSliderW95LFHandler, IlvSliderWLFHandler, and IlvSliderMLFHandler.

§ drawBackground()

virtual void IlvSliderLFHandler::drawBackground ( const IlvSlider slider,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the background of a slider gadget.

Parameters
sliderThe slider.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvDefaultSliderLFHandler, and IlvSliderCSSLFHandler.

§ drawContents()

virtual void IlvSliderLFHandler::drawContents ( const IlvSlider slider,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the contents of a slider gadget.

Parameters
sliderThe slider.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvDefaultSliderLFHandler, IlvSliderCSSLFHandler, IlvSliderVXLFHandler, IlvSliderW95LFHandler, and IlvSliderMLFHandler.

§ drawFrame()

virtual void IlvSliderLFHandler::drawFrame ( const IlvSlider slider,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the frame of a slider gadget.

Parameters
sliderThe slider.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvDefaultSliderLFHandler, and IlvSliderCSSLFHandler.

§ drawThumb()

virtual void IlvSliderLFHandler::drawThumb ( const IlvSlider slider,
IlvPort dst,
const IlvRect rect,
const IlvRegion clip 
) const
pure virtual

Is called to draw the thumb of a slider gadget.

Parameters
sliderThe slider.
dstThe destination port.
rectThe rectangle where to draw the thumb.
clipThe clipping region.

Implemented in IlvSliderCSSLFHandler, IlvSliderVXLFHandler, IlvSliderW95LFHandler, IlvSliderWLFHandler, and IlvSliderMLFHandler.

§ drawTrack()

virtual void IlvSliderLFHandler::drawTrack ( const IlvSlider slider,
IlvPort dst,
const IlvRect rect,
const IlvRegion clip 
) const
pure virtual

Is called to draw the track of a slider gadget.

Parameters
sliderThe slider.
dstThe destination port.
rectThe rectangle where to draw the track.
clipThe clipping region.

Implemented in IlvSliderCSSLFHandler, IlvSliderVXLFHandler, IlvSliderW95LFHandler, IlvSliderWLFHandler, and IlvSliderMLFHandler.

§ handleEvent()

virtual IlBoolean IlvSliderLFHandler::handleEvent ( IlvSlider slider,
IlvEvent event 
) const
pure virtual

Is called to handle the events of a slider gadget.

Parameters
sliderThe slider.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implemented in IlvDefaultSliderLFHandler, and IlvSliderCSSLFHandler.

§ positionToValue()

virtual IlInt IlvSliderLFHandler::positionToValue ( const IlvSlider slider,
const IlvPoint point,
const IlvTransformer t 
) const
pure virtual

Is called to compute the value of the slider at a specified point.

Parameters
sliderThe slider.
pointThe point.
tThe transformer.

Implemented in IlvSliderCSSLFHandler, IlvSliderMLFHandler, and IlvSliderWLFHandler.


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