![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Matrix Item Editor Factory class. More...
#include <ilviews/gadgets/matrix.h>
Public Member Functions | |
| IlvMatrixItemEditorFactory () | |
| Default constructor. | |
| virtual IlvMatrixItemEditor * | createEditor (IlvMatrix *matrix, IlUShort col, IlUShort row) const |
| Is called to create the editor for the specified matrix location. | |
Static Public Member Functions | |
| static IlvMatrixItemEditorFactory * | Get (const IlvMatrix *matrix) |
| Returns the editor factory connected to matrix. | |
| static IlvMatrixItemEditorFactory * | Set (IlvMatrix *matrix, IlvMatrixItemEditorFactory *facto) |
| Sets the specified editor factory to matrix. | |
Matrix Item Editor Factory class.
Library: ilvadvgdt
The base class for the editor factories of IlvMatrixItemEditor objects.
| virtual IlvMatrixItemEditor* IlvMatrixItemEditorFactory::createEditor | ( | IlvMatrix * | matrix, | |
| IlUShort | col, | |||
| IlUShort | row | |||
| ) | const [virtual] |
Is called to create the editor for the specified matrix location.
The default implementation returns a new instance of the IlvDefaultMatrixItemEditor class.
| matrix | The matrix where the editor will be used. | |
| col | The column of the matrix where the editor will be used. | |
| row | The row of the matrix where the editor will be used. |
IlvMatrixItemEditor | static IlvMatrixItemEditorFactory* IlvMatrixItemEditorFactory::Get | ( | const IlvMatrix * | matrix | ) | [static] |
Returns the editor factory connected to matrix.
0 if the matrix has no editor factory. | matrix | The matrix. |
Set. | static IlvMatrixItemEditorFactory* IlvMatrixItemEditorFactory::Set | ( | IlvMatrix * | matrix, | |
| IlvMatrixItemEditorFactory * | facto | |||
| ) | [static] |
Sets the specified editor factory to matrix.
If an instance of IlvMatrixItemEditorFactory was already connected with matrix, this instance is removed, but not deleted.
| matrix | The matrix. | |
| facto | The factory. |
0 otherwise. Get. © 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.