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

voidcreateAndSendCommands(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 & aVisualThe target visual. Doesn't take ownership
AlfAttributeContainer * aContainerThe 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 = NULLOptional 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,
intaTransitionTime = 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 & aVisualThe target visual. Doesn't take ownership
AlfAttributeContainer * aContainerThe container holding the new value of the attribute. Ownership of the object is not transferred.
IAlfMap * aDataNot used currently.
int aTransitionTime = 0Time used for the transition.
CAlfVisual * aRefVisual = NULLOptional 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 *)

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

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

Parameters

CAlfVisual & aVisualThe target visual. Doesn't take ownership
AlfAttributeContainer * aContainerThe container holding the new value of the attribute. Ownership of the object is not transferred.
IAlfMap * aDataNot used currently.

setterType()

SetterType setterType()[pure virtual]

Returns the type of the attribute setter.

type()

const IfId &type()[static, inline]