Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Matrix Item Editor class. More...
#include <ilviews/gadgets/matrix.h>
Public Member Functions | |
IlvDefaultMatrixItemEditor (IlvMatrix *matrix, IlUShort col, IlUShort row, IlvTextField *tfd=0) | |
Constructor. | |
virtual void | applyTo () const |
Is called to apply the editor value into the matrix. | |
IlvTextField * | getTextField () const |
Returns the text field used for editing. | |
virtual void | initFrom () const |
Is called to initialize the editor. |
Matrix Item Editor class.
Library: ilvadvgdt
The default matrix item editor used by the matrix. This editor uses a text field to edit matrix items.
IlvMatrixItemEditorFactory
. IlvDefaultMatrixItemEditor::IlvDefaultMatrixItemEditor | ( | IlvMatrix * | matrix, | |
IlUShort | col, | |||
IlUShort | row, | |||
IlvTextField * | tfd = 0 | |||
) |
Constructor.
matrix | The matrix where the editor will be used for editing. | |
col | The column of the matrix where the editor will be used for editing. | |
tfd | The text field that will be used for editing. This parameter can be omitted. In this case, an IlvTextField instance will be automatically created by calling the IlvMatrix::createEditionField method. | |
row | The row of the matrix where the editor will be used for editing. |
virtual void IlvDefaultMatrixItemEditor::applyTo | ( | ) | const [virtual] |
Is called to apply the editor value into the matrix.
The implementation must change the edited matrix item using the editor field.
Implements IlvMatrixItemEditor.
IlvTextField* IlvDefaultMatrixItemEditor::getTextField | ( | ) | const |
Returns the text field used for editing.
virtual void IlvDefaultMatrixItemEditor::initFrom | ( | ) | const [virtual] |
Is called to initialize the editor.
The implementation must initialize the editor field using the data located in the matrix.
Implements IlvMatrixItemEditor.
© 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.