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
Constructor & Destructor Documentation
~IAlfAttributeSetter()
~IAlfAttributeSetter | ( | ) | [inline, virtual] |
Member Functions Documentation
createAndSendCommands(CAlfVisual &, AlfAttributeContainer *, CAlfVisual *)
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 *)
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 *)
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()
Returns the type of the attribute setter.
type()
const IfId & | type | ( | ) | [static, inline] |
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.