Alf::AlfWidgetImpl Class Reference

class Alf::AlfWidgetImpl

The private implementation of AlfWidget . The methods are documented in the class AlfWidget .

alfwidgetmodel.lib
Since
S60 ?S60_version

Constructor & Destructor Documentation

AlfWidgetImpl()

AlfWidgetImpl ( )

Constructor.

Since
S60 ?S60_version

~AlfWidgetImpl()

~AlfWidgetImpl ( )

Destructor.

Since
S60 ?S60_version

Member Functions Documentation

addWidget(AlfWidget *)

void addWidget ( AlfWidget * aWidget )

Add a widget to the widgets array.

Parameters

AlfWidget * aWidget The widget to be appended to the array of widgets.

control()

CAlfWidgetControl * control ( )

control.

Since
S60 ?S60_version

findWidget(AlfWidget *)

int findWidget ( AlfWidget * aWidget )

Returns the index of the widget in this array. If the given widget is not found from the array -1 is returned.

Parameters

AlfWidget * aWidget Widget to be searched from the array.

getAttributeOwner()

AlfWidgetAttributeOwnerImpl * getAttributeOwner ( )

getWidget(int)

AlfWidget * getWidget ( int aIndex )

Return widget at the index

Parameters

int aIndex

model()

IAlfModel * model ( )

model.

Since
S60 ?S60_version

removeWidget(int)

void removeWidget ( int aIndex )

Parameters

int aIndex

setControl(CAlfWidgetControl *, bool)

void setControl ( CAlfWidgetControl * aControl,
bool aDeletePreviousControl
)

setControl.

Since
S60 ?S60_version

Parameters

CAlfWidgetControl * aControl
bool aDeletePreviousControl

setModel(IAlfModel *, bool)

void setModel ( IAlfModel * aModel,
bool aTakeOwnership
)

setModel.

Since
S60 ?S60_version

Parameters

IAlfModel * aModel
bool aTakeOwnership

setWidgetName(const UString &)

void setWidgetName ( const UString & aWidgetName )

Set the id of the widget.

Since
S60 ?S60_version

Parameters

const UString & aWidgetName The name of the widget instance.

widgetCount()

int widgetCount ( )

Return total number of widgets in the list.

widgetName()

const UString & widgetName ( ) const

widgetName.

Since
S60 ?S60_version

Member Data Documentation

AlfPtrVector< AlfAttribute > mAttributeList

AlfPtrVector < AlfAttribute > mAttributeList [private]

auto_ptr< AlfWidgetAttributeOwnerImpl > mAttributeOwnerImpl

auto_ptr< AlfWidgetAttributeOwnerImpl > mAttributeOwnerImpl [private]

CAlfWidgetControl * mControl

CAlfWidgetControl * mControl [private]

The control. Not own.

IAlfModel * mModel

IAlfModel * mModel [private]

The model. Own.

bool mTakesModelOwnership

bool mTakesModelOwnership [private]

UString mWidgetName

UString mWidgetName [private]

The widget id. Own.

AlfPtrVector< AlfWidget > mWidgets

AlfPtrVector < AlfWidget > mWidgets [private]