rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvDefaultButtonLFHandler Class Reference

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

#include <ilviews/gadgets/button.h>

Inheritance diagram for IlvDefaultButtonLFHandler:
IlvButtonLFHandler IlvObjectLFHandler IlvButtonMLFHandler IlvButtonWLFHandler IlvButtonVXLFHandler IlvButtonW95LFHandler

List of all members.

Public Member Functions

virtual void drawGadgetItem (const IlvButton *, const IlvGadgetItem *, IlvPort *port, const IlvRect &rect, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the gadget item encapsulated by the button.
virtual IlBoolean handleEvent (IlvButton *button, IlvEvent &event) const
 Is called to handle the events of a button.

Detailed Description

Object look-and-feel class.

Library: ilvgadgt

The predefined object look-and-feel handlers of the button 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 IlvDefaultButtonLFHandler::drawGadgetItem ( const IlvButton button,
const IlvGadgetItem item,
IlvPort dst,
const IlvRect rect,
const IlvTransformer t,
const IlvRegion clip 
) const [virtual]

Is called to draw the gadget item encapsulated by the button.

Parameters:
button The button.
item The gadget item to draw.
dst The destination port.
rect The rectangle where to draw the item.
t The transformer. Not Used.
clip The clipping region.

Implements IlvButtonLFHandler.

virtual IlBoolean IlvDefaultButtonLFHandler::handleEvent ( IlvButton button,
IlvEvent event 
) const [virtual]

Is called to handle the events of a button.

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

Implements IlvButtonLFHandler.

 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.