TAlfImageCommand Class Reference
class TAlfImageCommand : public TAlfObjectCommand |
TAlfImageCommand is a command that operaters on an image visual. Usage:
//Create Image command to set primary image for imagevisual
TAlfImageCommand command( *imageVisual, *image, EAlfOpSetPrimaryImage );
//Send command , Primary image will be set
iEnv->Send( command, 1 );
Constructor & Destructor Documentation
TAlfImageCommand(CAlfImageVisual &, const TAlfImage &, TAlfOp)
IMPORT_C | TAlfImageCommand | ( | CAlfImageVisual & | aImageVisual, |
| const TAlfImage & | aImage, |
| TAlfOp | aOperation = EAlfOpSetPrimaryImage |
| ) | |
Constructs a new image command.
Parameters
CAlfImageVisual & aImageVisual | Image visual. |
const TAlfImage & aImage | Image. |
TAlfOp aOperation = EAlfOpSetPrimaryImage | Operation to do on the visual. |
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. |
Image()
IMPORT_C const TAlfImage & | Image | ( | ) | const |
Returns a reference to the image of the visual.
ImageVisual()
Returns the visual that the command operates on.
Size()
IMPORT_C TInt | Size | ( | ) | const [virtual] |
Returns the size of the command.
Member Data Documentation
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.