Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

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

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

#include <ilviews/gadgets/css/button.h>

Inheritance diagram for IlvButtonCSSLFHandler:
IlvDefaultButtonLFHandler IlvButtonLFHandler IlvObjectLFHandler

Public Member Functions

 IlvButtonCSSLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
void computeDefaultButtonRegion (const IlvButton *button, IlvRegion &region, const IlvTransformer *) const
 Is called to compute the bounding box of a default button. More...
 
virtual void drawBackground (const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a button. More...
 
void drawButtonAsDefault (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the default button. More...
 
virtual void drawContents (const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a button. More...
 
virtual void drawFrame (const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a button. More...
 
- Public Member Functions inherited from IlvDefaultButtonLFHandler
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...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvcsslook
The class for the CSS object look and feel handler of the button gadget.

Constructor & Destructor Documentation

§ IlvButtonCSSLFHandler()

IlvButtonCSSLFHandler::IlvButtonCSSLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvButtonCSSLFHandler instance and initializes it with lfh.

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

Member Function Documentation

§ computeDefaultButtonRegion()

void IlvButtonCSSLFHandler::computeDefaultButtonRegion ( const IlvButton button,
IlvRegion region,
const IlvTransformer t 
) const
virtual

Is called to compute the bounding box of a default button.

Parameters
buttonThe button.
regionThe region affected by the default button drawing.
tThe transformer.

Implements IlvButtonLFHandler.

§ drawBackground()

virtual void IlvButtonCSSLFHandler::drawBackground ( const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a button.

Parameters
buttonThe button.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvButtonLFHandler.

§ drawButtonAsDefault()

void IlvButtonCSSLFHandler::drawButtonAsDefault ( const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the default button.

Parameters
buttonThe button.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvButtonLFHandler.

§ drawContents()

virtual void IlvButtonCSSLFHandler::drawContents ( const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the contents of a button.

Parameters
buttonThe button.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvButtonLFHandler.

§ drawFrame()

virtual void IlvButtonCSSLFHandler::drawFrame ( const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the frame of a button.

Parameters
buttonThe button.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvButtonLFHandler.


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