Matrix Item Editor Factory class.
More...
#include <ilviews/gadgets/matrix.h>
Matrix Item Editor Factory class.
Library: ilvadvgdt
The base class for the editor factories of IlvMatrixItemEditor
objects.
- See also
Set()
, Get()
.
◆ createEditor()
Is called to create the editor for the specified matrix location.
The default implementation returns a new instance of the IlvDefaultMatrixItemEditor
class.
- Parameters
-
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. |
- Returns
- The created editor.
- See also
IlvMatrixItemEditor
.
◆ Get()
Returns the editor factory connected to matrix.
- Parameters
-
- Returns
- The matrix item editor factory connected to matrix, or
0
if the matrix has no editor factory.
- See also
Set()
.
◆ Set()
Sets the specified editor factory to matrix.
If an instance of IlvMatrixItemEditorFactory
was already connected with matrix, this instance is removed, but not deleted.
- Parameters
-
matrix | The matrix. |
factory | The factory. |
- Returns
- The old editor factory instance, if any,
0
otherwise.
- See also
Get()
.