Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvDefaultScrollBarLFHandler Class Reference

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

#include <ilviews/gadgets/scrollb.h>

Inheritance diagram for IlvDefaultScrollBarLFHandler:
IlvScrollBarLFHandler IlvObjectLFHandler IlvScrollBarCSSLFHandler IlvScrollBarMLFHandler IlvScrollBarWLFHandler IlvScrollBarVXLFHandler IlvScrollBarW95LFHandler

Public Member Functions

virtual void drawContents (const IlvScrollBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a scroll bar. More...
 
virtual IlBoolean handleEvent (IlvScrollBar *, IlvEvent &e) const
 Is called to handle the events of a scroll bar. More...
 
- Public Member Functions inherited from IlvScrollBarLFHandler
 IlvScrollBarLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void computeBBox (const IlvScrollBar *sb, IlvRect &arrow1, IlvRect &internal, IlvRect &arrow2, IlvRect &thumb, const IlvTransformer *t) const =0
 Is called to compute the bounding boxes of the scroll bar parts. More...
 
virtual void drawArrow (const IlvScrollBar *sb, IlvPosition position, IlvPort *dst, const IlvRect &arrow, const IlvRegion *clip) const =0
 Is called to draw the arrows of a scroll bar. More...
 
virtual void drawBackground (const IlvScrollBar *sb, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the background of a scroll bar. More...
 
virtual void drawFrame (const IlvScrollBar *sb, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the frame of a scroll bar. More...
 
virtual void drawInternal (const IlvScrollBar *sb, IlvPort *dst, const IlvRect &internal, const IlvRect &thumb, const IlvRegion *clip) const =0
 Is called to draw the internal part of a scroll bar. More...
 
virtual IlBoolean isValidPosition (const IlvScrollBar *sb, const IlvPoint &point, const IlvTransformer *t) const =0
 Indicates whether a given position is valid for the scroll bar. More...
 

Detailed Description

Object look-and-feel class.

Library: ilvgadgt

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

Member Function Documentation

§ drawContents()

virtual void IlvDefaultScrollBarLFHandler::drawContents ( const IlvScrollBar sb,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the contents of a scroll bar.

Parameters
sbThe scroll bar.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvScrollBarLFHandler.

Reimplemented in IlvScrollBarWLFHandler, IlvScrollBarCSSLFHandler, and IlvScrollBarMLFHandler.

§ handleEvent()

virtual IlBoolean IlvDefaultScrollBarLFHandler::handleEvent ( IlvScrollBar sb,
IlvEvent event 
) const
virtual

Is called to handle the events of a scroll bar.

Parameters
sbThe scroll bar.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implements IlvScrollBarLFHandler.


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