Views
Gadgets Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvDefaultMatrixLFHandler Class Reference

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

#include <ilviews/gadgets/matrix.h>

Inheritance diagram for IlvDefaultMatrixLFHandler:
IlvMatrixLFHandler IlvObjectLFHandler IlvMatrixCSSLFHandler IlvMatrixMLFHandler IlvMatrixWLFHandler IlvMatrixVXLFHandler IlvMatrixW95LFHandler

Public Member Functions

virtual void drawBackground (const IlvMatrix *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a matrix. More...
 
virtual void drawFrame (const IlvMatrix *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a matrix. More...
 
virtual void drawItem (const IlvMatrix *, IlvPort *, IlUShort, IlUShort, const IlvRect &, const IlvRect &) const
 Is called to draw a matrix item. More...
 
virtual IlvPalettegetWindowBackground (const IlvMatrix *) const
 Returns the palette used to draw the background of the matrix. More...
 
virtual IlBoolean handleMatrixEvent (IlvMatrix *, IlvEvent &) const
 Is called to handle the events of a matrix. More...
 
- Public Member Functions inherited from IlvMatrixLFHandler
 IlvMatrixLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawRelief (const IlvMatrix *matrix, IlUShort colno, IlUShort rowno, IlvPort *dst, const IlvRect &rect, const IlvRect *clip) const =0
 Is called to draw the relief of a matrix item. More...
 
virtual void drawSelection (const IlvMatrix *matrix, IlvPort *dst, const IlvRect &rect, const IlvRect *clip) const =0
 Is called to draw the selection of a matrix item. More...
 
virtual IlvPalettegetSelectionPalette (const IlvMatrix *matrix) const =0
 Returns the palette used to draw the selection in the matrix. More...
 

Detailed Description

Object look-and-feel class.

Library: ilvadvgdt

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

Member Function Documentation

◆ drawBackground()

virtual void IlvDefaultMatrixLFHandler::drawBackground ( const IlvMatrix matrix,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a matrix.

Parameters
matrixThe matrix.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvMatrixLFHandler.

◆ drawFrame()

virtual void IlvDefaultMatrixLFHandler::drawFrame ( const IlvMatrix matrix,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the frame of a matrix.

Parameters
matrixThe matrix.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvMatrixLFHandler.

◆ drawItem()

virtual void IlvDefaultMatrixLFHandler::drawItem ( const IlvMatrix matrix,
IlvPort dst,
IlUShort  colno,
IlUShort  rowno,
const IlvRect itembbox,
const IlvRect clip 
) const
virtual

Is called to draw a matrix item.

Parameters
matrixThe matrix.
dstThe destination port.
colnoThe column number.
rownoThe row number.
itembboxThe rectangle where to draw the item.
clipThe clipping rectangle.

Implements IlvMatrixLFHandler.

◆ getWindowBackground()

virtual IlvPalette* IlvDefaultMatrixLFHandler::getWindowBackground ( const IlvMatrix matrix) const
virtual

Returns the palette used to draw the background of the matrix.

Parameters
matrixThe matrix.
Returns
The palette used to draw the background of the matrix.

Implements IlvMatrixLFHandler.

◆ handleMatrixEvent()

virtual IlBoolean IlvDefaultMatrixLFHandler::handleMatrixEvent ( IlvMatrix matrix,
IlvEvent event 
) const
virtual

Is called to handle the events of a matrix.

Parameters
matrixThe matrix.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implements IlvMatrixLFHandler.