![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Object look-and-feel class. More...
#include <ilviews/gadgets/matrix.h>
Public Member Functions | |
| virtual void | drawBackground (const IlvMatrix *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
| Is called to draw the background of a matrix. | |
| virtual void | drawFrame (const IlvMatrix *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
| Is called to draw the frame of a matrix. | |
| virtual void | drawItem (const IlvMatrix *, IlvPort *dst, IlUShort colno, IlUShort rowno, const IlvRect &itembbox, const IlvRect &clip) const |
| Is called to draw a matrix item. | |
| virtual IlvPalette * | getWindowBackground (const IlvMatrix *) const |
| Returns the palette used to draw the background of the matrix. | |
| virtual IlBoolean | handleMatrixEvent (IlvMatrix *, IlvEvent &) const |
| Is called to handle the events of a matrix. | |
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.
| 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.
| matrix | The matrix. | |
| dst | The destination port. | |
| t | The transformer. | |
| clip | The clipping region. |
Implements IlvMatrixLFHandler.
| 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.
| matrix | The matrix. | |
| dst | The destination port. | |
| t | The transformer. | |
| clip | The clipping region. |
Implements IlvMatrixLFHandler.
| 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.
| matrix | The matrix. | |
| dst | The destination port. | |
| colno | The column number. | |
| rowno | The row number. | |
| rect | The rectangle where to draw the item. | |
| clip | The clipping rectangle. |
Implements IlvMatrixLFHandler.
| virtual IlvPalette* IlvDefaultMatrixLFHandler::getWindowBackground | ( | const IlvMatrix * | matrix | ) | const [virtual] |
Returns the palette used to draw the background of the matrix.
| matrix | The matrix. |
Implements IlvMatrixLFHandler.
| virtual IlBoolean IlvDefaultMatrixLFHandler::handleMatrixEvent | ( | IlvMatrix * | matrix, | |
| IlvEvent & | event | |||
| ) | const [virtual] |
Is called to handle the events of a matrix.
| matrix | The matrix. | |
| event | The event to handle. |
IlTrue if the event has been consumed. Implements IlvMatrixLFHandler.
© 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.