Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

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

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

#include <ilviews/gadgets/button.h>

Inheritance diagram for IlvDefaultButtonLFHandler:
IlvButtonLFHandler IlvObjectLFHandler IlvButtonMLFHandler IlvButtonWLFHandler IlvButtonVXLFHandler IlvButtonW95LFHandler

Public Member Functions

virtual void drawGadgetItem (const IlvButton *, const IlvGadgetItem *, IlvPort *, const IlvRect &, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the gadget item encapsulated by the button. More...
 
virtual IlBoolean handleEvent (IlvButton *, IlvEvent &) const
 Is called to handle the events of a button. More...
 
- Public Member Functions inherited from IlvButtonLFHandler
 IlvButtonLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void computeDefaultButtonRegion (const IlvButton *button, IlvRegion &region, const IlvTransformer *t) const =0
 Is called to compute the bounding box of a default button. More...
 
virtual void drawBackground (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the background of a button. More...
 
virtual void drawButtonAsDefault (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the default button. More...
 
virtual void drawContents (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the contents of a button. More...
 
virtual void drawFrame (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the frame of a button. More...
 

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
buttonThe button.
itemThe gadget item to draw.
dstThe destination port.
rectThe rectangle where to draw the item.
tThe transformer. Not Used.
clipThe clipping region.

Implements IlvButtonLFHandler.

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

Is called to handle the events of a button.

Parameters
buttonThe button.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implements IlvButtonLFHandler.


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