TAlfGroupCommand Class Reference

class TAlfGroupCommand : public TAlfObjectCommand

TAlfGroupCommand is an object command that operates on a control group. Usage:

        //Create control group command to show contro group on display
  TAlfGroupCommand command( *iControlGroup, EAlfOpShow, &display );
  
  //Send command , control group will be shown
   iEnv->Send( command, 1 );
 
 //Create control group command to hide control group on display
  TAlfGroupCommand command1( *iControlGroup, EAlfOpHide, &display );
  
  //Send command , control group will be hidden
   iEnv->Send( command, 1 );
       

Inherits from

Constructor & Destructor Documentation

TAlfGroupCommand(CAlfControlGroup &, TAlfOp, CAlfDisplay *)

IMPORT_C TAlfGroupCommand ( CAlfControlGroup & aGroup,
TAlfOp aOperation,
CAlfDisplay * aDisplay = NULL
)

Constructs a new control group command.

Parameters

CAlfControlGroup & aGroup Control group.
TAlfOp aOperation Operation to do on the group.
CAlfDisplay * aDisplay = NULL Display associated with the 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

ControlGroup()

IMPORT_C CAlfControlGroup & ControlGroup ( ) const

Returns the control group that the command operates on.

Display()

IMPORT_C CAlfDisplay * Display ( ) const

Returns the display associated with the command.

ExecuteL(CAlfEnv &)

IMPORT_C void ExecuteL ( CAlfEnv & aEnv ) const [virtual]

Executes the command.

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.

Member Data Documentation

CAlfDisplay * iDisplay

CAlfDisplay * iDisplay [private]

Display associated with the command.

TInt iSpare1

TInt iSpare1 [private]

TInt iSpare2

TInt iSpare2 [private]