Alf::IAlfAttributeSetter Class Reference

class Alf::IAlfAttributeSetter : public Alf::IAlfInterfaceBase

The interface for attribute setters used by widget controls.

alfwidgetmodel.lib
Since
S60 ?S60_version Draft

Inherits from

Constructor & Destructor Documentation

~IAlfAttributeSetter()

~IAlfAttributeSetter ( ) [inline, virtual]

Member Functions Documentation

createAndSendCommands(CAlfVisual &, AlfAttributeContainer *, CAlfVisual *)

void createAndSendCommands ( CAlfVisual & aVisual,
AlfAttributeContainer * aContainer,
CAlfVisual * aRefVisual = NULL
) [pure virtual]

Creates commands to change the given attribute values in the target visual gradually with a transition. Then sends the commands via the ALF environment.

Parameters

CAlfVisual & aVisual The target visual. Doesn't take ownership
AlfAttributeContainer * aContainer The attribute container holding the attribute value(s) used by the attribute setter. Ownership is not transferred. The container can hold new values for multiple different attributes, in which case several commands are executed.
CAlfVisual * aRefVisual = NULL Optional reference visual. If not NULL, the target value of the attribute is defined by adding the value specific by aContainer to the corresponding attribute value in the reference visual.

createCommand(CAlfVisual &, AlfAttributeContainer *, IAlfMap *, int, CAlfVisual *)

TAlfCommand * createCommand ( CAlfVisual & aVisual,
AlfAttributeContainer * aContainer,
IAlfMap * aData,
int aTransitionTime = 0,
CAlfVisual * aRefVisual = NULL
) [pure virtual]

Creates a command to change the value of an attribute in the target visual gradually with a transition.

USE CREATEANDSENDCOMMANDS INSTEAD!!!

Parameters

CAlfVisual & aVisual The target visual. Doesn't take ownership
AlfAttributeContainer * aContainer The container holding the new value of the attribute. Ownership of the object is not transferred.
IAlfMap * aData Not used currently.
int aTransitionTime = 0 Time used for the transition.
CAlfVisual * aRefVisual = NULL Optional reference visual. If not NULL, the target value of the attribute is defined by adding the value specific by aContainer to the corresponding attribute value in the reference visual. The command to gradually change the attribute in the target visual.

setAttributeValue(CAlfVisual &, AlfAttributeContainer *, IAlfMap *)

void setAttributeValue ( CAlfVisual & aVisual,
AlfAttributeContainer * aContainer,
IAlfMap * aData
) [pure virtual]

Sets an attribute value in the target visual immediately without a transition.

Parameters

CAlfVisual & aVisual The target visual. Doesn't take ownership
AlfAttributeContainer * aContainer The container holding the new value of the attribute. Ownership of the object is not transferred.
IAlfMap * aData Not used currently.

setterType()

SetterType setterType ( ) [pure virtual]

Returns the type of the attribute setter.

type()

const IfId & type ( ) [static, inline]