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

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

#include <ilviews/gadgets/windows/matrix.h>

Inheritance diagram for IlvMatrixWLFHandler:
IlvDefaultMatrixLFHandler IlvMatrixLFHandler IlvObjectLFHandler IlvMatrixVXLFHandler IlvMatrixW95LFHandler

Public Member Functions

 IlvMatrixWLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawRelief (const IlvMatrix *, IlUShort, IlUShort, IlvPort *, const IlvRect &, const IlvRect *) const
 Is called to draw the relief of a matrix item. More...
 
virtual void drawSelection (const IlvMatrix *, IlvPort *, const IlvRect &, const IlvRect *) const
 Is called to draw the selection of a matrix item. More...
 
virtual const IlvPalettegetSelectionPalette (const IlvMatrix *m, const IlvAbstractMatrixItem *item) const
 Returns the palette used to draw the selection in the matrix. More...
 
virtual const IlvPalettegetTextPalette (const IlvMatrix *m, const IlvAbstractMatrixItem *item) const
 Returns the palette used to draw the text in the matrix. More...
 
- Public Member Functions inherited from IlvDefaultMatrixLFHandler
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 const IlvPalettegetInsensitivePalette (const IlvMatrix *, const IlvAbstractMatrixItem *item) const
 Returns the palette used to draw the selection in the matrix. More...
 
virtual const IlvPalettegetReliefPalette (const IlvMatrix *, const IlvAbstractMatrixItem *item) const
 Returns the palette used to draw the relief in the matrix. More...
 
virtual const 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...
 
virtual void itemBBox (const IlvMatrix *matrix, IlUShort col, IlUShort row, IlvRect &r, const IlvTransformer *t) const override
 Calculates matrix item bounding box. More...
 
virtual const IlvPalettestylePalette (const IlvPalette *base, const IlvMatrix *matrix, const IlvAbstractMatrixItem *item) const
 Adds look and feel styling to a palette. CSS look and feel specific, allows different style for each matrix item. Classic look and feel handlers return the palette unmodified. More...
 
- Public Member Functions inherited from IlvMatrixLFHandler
 IlvMatrixLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvawlook

The class for the Microsoft Windows object look-and-feel handler of the matrix gadget.

Constructor & Destructor Documentation

◆ IlvMatrixWLFHandler()

IlvMatrixWLFHandler::IlvMatrixWLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvMatrixWLFHandler instance and initializes it with lfh.

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

Member Function Documentation

◆ drawRelief()

virtual void IlvMatrixWLFHandler::drawRelief ( const IlvMatrix matrix,
IlUShort  colno,
IlUShort  rowno,
IlvPort dst,
const IlvRect rect,
const IlvRect clip 
) const
virtual

Is called to draw the relief of a matrix item.

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

Implements IlvMatrixLFHandler.

Reimplemented in IlvMatrixW95LFHandler, and IlvMatrixVXLFHandler.

◆ drawSelection()

virtual void IlvMatrixWLFHandler::drawSelection ( const IlvMatrix matrix,
IlvPort dst,
const IlvRect rect,
const IlvRect clip 
) const
virtual

Is called to draw the selection of a matrix item.

Parameters
matrixThe matrix.
dstThe destination port.
rectThe rectangle where to draw the selection.
clipThe clipping rectangle.

Implements IlvMatrixLFHandler.

◆ getSelectionPalette()

virtual const IlvPalette* IlvMatrixWLFHandler::getSelectionPalette ( const IlvMatrix matrix,
const IlvAbstractMatrixItem item 
) const
virtual

Returns the palette used to draw the selection in the matrix.

Parameters
matrixThe matrix.
itemMatrix item that the palette is used for. CSS look and feel specific, allows different style for each item. if set null, matrix style is used. Classic look and feel handlers ignore the parameter.
Returns
IlvPalette used to draw the selection in the matrix.

Implements IlvMatrixLFHandler.

◆ getTextPalette()

virtual const IlvPalette* IlvMatrixWLFHandler::getTextPalette ( const IlvMatrix ,
const IlvAbstractMatrixItem item 
) const
virtual

Returns the palette used to draw the text in the matrix.

Parameters
matrixThe matrix.
itemMatrix item that the palette is used for. CSS look and feel specific, allows different style for each item. if set null, matrix style is used. Classic look and feel handlers ignore the parameter.
Returns
IlvPalette used to draw the text in the matrix.

Implements IlvMatrixLFHandler.