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 );

Inherits from

Constructor & Destructor Documentation

TAlfImageCommand(CAlfImageVisual &, const TAlfImage &, TAlfOp)

IMPORT_CTAlfImageCommand(CAlfImageVisual &aImageVisual,
const TAlfImage &aImage,
TAlfOpaOperation = EAlfOpSetPrimaryImage
)

Constructs a new image command.

Parameters

CAlfImageVisual & aImageVisualImage visual.
const TAlfImage & aImageImage.
TAlfOp aOperation = EAlfOpSetPrimaryImageOperation to do on the visual.

Member Functions Documentation

CommandExtension(const TUid &, TAny **)

IMPORT_C voidCommandExtension(const TUid &aExtensionUid,
TAny **aExtensionParams
)[protected, virtual]

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

ExecuteL(CAlfEnv &)

IMPORT_C voidExecuteL(CAlfEnv &aEnv)const [virtual]

Executes the command.

Parameters

CAlfEnv & aEnvThe 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()

IMPORT_C CAlfImageVisual &ImageVisual()const

Returns the visual that the command operates on.

Size()

IMPORT_C TIntSize()const [virtual]

Returns the size of the command.

Member Data Documentation

TAlfImage iImage

TAlfImageiImage[private]

Image of the command.

TInt iSpare1

TInt iSpare1[private]

TInt iSpare2

TInt iSpare2[private]