rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvDefaultScrolledGadgetLFHandler Class Reference

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

#include <ilviews/gadgets/scgadget.h>

Inheritance diagram for IlvDefaultScrolledGadgetLFHandler:
IlvScrolledGadgetLFHandler IlvObjectLFHandler IlvScrolledGadgetMLFHandler IlvScrolledGadgetWLFHandler IlvScrolledGadgetVXLFHandler IlvScrolledGadgetW95LFHandler

List of all members.

Public Member Functions

virtual void drawContents (const IlvScrolledGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a scrolled gadget.
virtual void drawScrollBar (const IlvScrolledGadget *, IlvPort *dst, IlvDirection dir, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw an internal scroll bar of a scrolled gadget.
virtual IlBoolean handleEvent (IlvScrolledGadget *sc, IlvEvent &e) const
 Is called to handle the events of a scrolled gadget.
virtual IlBoolean handleScrollBarsEvent (IlvScrolledGadget *sc, IlvEvent &event) const
 Is called to handle the events of the scroll bars of a scrolled gadget.
virtual void visibleBBox (const IlvScrolledGadget *obj, IlvRect &bbox, const IlvTransformer *t) const
 Is called to compute the visible area of the scrolled gadget.

Detailed Description

Object look-and-feel class.

Library: ilvadvgdt

The predefined object look-and-feel handlers of the scrolled gadget 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 IlvDefaultScrolledGadgetLFHandler::drawContents ( const IlvScrolledGadget gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [virtual]

Is called to draw the contents of a scrolled gadget.

Parameters:
gadget The scrolled gadget.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvScrolledGadgetLFHandler.

virtual void IlvDefaultScrolledGadgetLFHandler::drawScrollBar ( const IlvScrolledGadget gadget,
IlvPort dst,
IlvDirection  dir,
const IlvTransformer t,
const IlvRegion clip 
) const [virtual]

Is called to draw an internal scroll bar of a scrolled gadget.

Parameters:
gadget The scrolled gadget.
dst The destination port.
dir The orientation of the scroll bar.
t The transformer.
clip The clipping region.

Implements IlvScrolledGadgetLFHandler.

virtual IlBoolean IlvDefaultScrolledGadgetLFHandler::handleEvent ( IlvScrolledGadget gadget,
IlvEvent event 
) const [virtual]

Is called to handle the events of a scrolled gadget.

Parameters:
gadget The scrolled gadget.
event The event to handle.
Returns:
IlTrue if the event has been consumed.

Implements IlvScrolledGadgetLFHandler.

virtual IlBoolean IlvDefaultScrolledGadgetLFHandler::handleScrollBarsEvent ( IlvScrolledGadget gadget,
IlvEvent event 
) const [virtual]

Is called to handle the events of the scroll bars of a scrolled gadget.

Parameters:
gadget The scrolled gadget.
event The event to handle.
Returns:
IlTrue if the event has been consumed.

Implements IlvScrolledGadgetLFHandler.

virtual void IlvDefaultScrolledGadgetLFHandler::visibleBBox ( const IlvScrolledGadget gadget,
IlvRect rect,
const IlvTransformer t 
) const [virtual]

Is called to compute the visible area of the scrolled gadget.

Parameters:
gadget The scrolled gadget.
rect The returned rectangle of the visible area.
t The transformer.

Implements IlvScrolledGadgetLFHandler.

 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.