Rogue Wave Views Gadgets Package API Reference Guide |
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. More... | |
Static Public Member Functions | |
static IlvMatrixItemEditorFactory * | Get (const IlvMatrix *matrix) |
Returns the editor factory connected to matrix. More... | |
static IlvMatrixItemEditorFactory * | Set (IlvMatrix *matrix, IlvMatrixItemEditorFactory *factory) |
Sets the specified editor factory to matrix. More... | |
Matrix Item Editor Factory class.
Library: ilvadvgdt
The base class for the editor factories of IlvMatrixItemEditor
objects.
|
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 |
Returns the editor factory connected to matrix.
matrix | The matrix. |
0
if the matrix has no editor factory. Set()
.
|
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. |
factory | The factory. |
0
otherwise. Get()
. © Copyright 2018, 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.