![]() 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 | |
| IlvMatrixLFHandler (IlvLookFeelHandler *lfh) | |
| Constructor. | |
| virtual void | drawBackground (const IlvMatrix *matrix, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
| Is called to draw the background of a matrix. | |
| virtual void | drawFrame (const IlvMatrix *matrix, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
| Is called to draw the frame of a matrix. | |
| virtual void | drawItem (const IlvMatrix *matrix, IlvPort *dst, IlUShort colno, IlUShort rowno, const IlvRect &itembbox, const IlvRect &clip) const =0 |
| Is called to draw a matrix item. | |
| 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. | |
| 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. | |
| virtual IlvPalette * | getSelectionPalette (const IlvMatrix *matrix) const =0 |
| Returns the palette used to draw the selection in the matrix. | |
| virtual IlvPalette * | getWindowBackground (const IlvMatrix *matrix) const =0 |
| Returns the palette used to draw the background of the matrix. | |
| virtual IlBoolean | handleMatrixEvent (IlvMatrix *matrix, IlvEvent &event) const =0 |
| Is called to handle the events of a matrix. | |
Object Look-and-Feel class.
Library: ilvadvgdt
The base class for the object look-and-feel handlers of the matrix gadget.
| IlvMatrixLFHandler::IlvMatrixLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvMatrixLFHandler instance and initializes it with lfh.
| lfh | The look-and-feel handler which this handler will be associated to. |
| virtual void IlvMatrixLFHandler::drawBackground | ( | const IlvMatrix * | matrix, | |
| IlvPort * | dst, | |||
| const IlvTransformer * | t, | |||
| const IlvRegion * | clip | |||
| ) | const [pure virtual] |
Is called to draw the background of a matrix.
| matrix | The matrix. | |
| dst | The destination port. | |
| t | The transformer. | |
| clip | The clipping region. |
Implemented in IlvDefaultMatrixLFHandler.
| virtual void IlvMatrixLFHandler::drawFrame | ( | const IlvMatrix * | matrix, | |
| IlvPort * | dst, | |||
| const IlvTransformer * | t, | |||
| const IlvRegion * | clip | |||
| ) | const [pure virtual] |
Is called to draw the frame of a matrix.
| matrix | The matrix. | |
| dst | The destination port. | |
| t | The transformer. | |
| clip | The clipping region. |
Implemented in IlvDefaultMatrixLFHandler.
| virtual void IlvMatrixLFHandler::drawItem | ( | const IlvMatrix * | matrix, | |
| IlvPort * | dst, | |||
| IlUShort | colno, | |||
| IlUShort | rowno, | |||
| const IlvRect & | itembbox, | |||
| const IlvRect & | clip | |||
| ) | const [pure 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. |
Implemented in IlvDefaultMatrixLFHandler.
| virtual void IlvMatrixLFHandler::drawRelief | ( | const IlvMatrix * | matrix, | |
| IlUShort | colno, | |||
| IlUShort | rowno, | |||
| IlvPort * | dst, | |||
| const IlvRect & | rect, | |||
| const IlvRect * | clip | |||
| ) | const [pure virtual] |
Is called to draw the relief of a matrix item.
| matrix | The matrix. | |
| colno | The column number. | |
| rowno | The row number. | |
| dst | The destination port. | |
| rect | The rectangle where to draw the relief. | |
| clip | The clipping rectangle. |
Implemented in IlvMatrixMLFHandler, IlvMatrixVXLFHandler, IlvMatrixW95LFHandler, and IlvMatrixWLFHandler.
| virtual void IlvMatrixLFHandler::drawSelection | ( | const IlvMatrix * | matrix, | |
| IlvPort * | dst, | |||
| const IlvRect & | rect, | |||
| const IlvRect * | clip | |||
| ) | const [pure virtual] |
Is called to draw the selection of a matrix item.
| matrix | The matrix. | |
| dst | The destination port. | |
| rect | The rectangle where to draw the selection. | |
| clip | The clipping rectangle. |
Implemented in IlvMatrixMLFHandler, and IlvMatrixWLFHandler.
| virtual IlvPalette* IlvMatrixLFHandler::getSelectionPalette | ( | const IlvMatrix * | matrix | ) | const [pure virtual] |
Returns the palette used to draw the selection in the matrix.
| matrix | The matrix. |
Implemented in IlvMatrixMLFHandler, and IlvMatrixWLFHandler.
| virtual IlvPalette* IlvMatrixLFHandler::getWindowBackground | ( | const IlvMatrix * | matrix | ) | const [pure virtual] |
Returns the palette used to draw the background of the matrix.
| matrix | The matrix. |
Implemented in IlvDefaultMatrixLFHandler.
| virtual IlBoolean IlvMatrixLFHandler::handleMatrixEvent | ( | IlvMatrix * | matrix, | |
| IlvEvent & | event | |||
| ) | const [pure 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. Implemented in IlvDefaultMatrixLFHandler.
© 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.