TAlfTextCommand Class Reference
| class TAlfTextCommand : public TAlfObjectCommand |
TAlfTextCommand is a command that operaters on a text visual.
Usage:
//Create text command to set text in textvisual
TAlfTextCommand command( *textVisual, _L( "Text" ) );
//Send command , text will be set to textvisual
iEnv->Send( command, 1 );
Constructor & Destructor Documentation
TAlfTextCommand(CAlfTextVisual &, const TDesC &, TAlfOp)
Constructs a new text command.
Member Functions Documentation
CommandExtension(const TUid &, TAny **)
| IMPORT_C void | CommandExtension | ( | const TUid & | aExtensionUid, |
| | TAny ** | aExtensionParams |
| | ) | [protected, virtual] |
Parameters
| const TUid & aExtensionUid | |
| TAny ** aExtensionParams | |
ExecuteL(CAlfEnv &)
| IMPORT_C void | ExecuteL | ( | CAlfEnv & | aEnv | ) | const [virtual] |
Parameters
| CAlfEnv & aEnv | The environment in which the command is being executed. |
Size()
| IMPORT_C TInt | Size | ( | ) | const [virtual] |
Returns the size of the command.
Text()
| IMPORT_C const TDesC & | Text | ( | ) | const |
Returns a reference to the text of the visual.
TextVisual()
Returns the visual that the command operates on.
Member Data Documentation
const TDesC & iText
| const TDesC & | iText | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.