Alf::AlfFlowLayoutManager Class Reference

class Alf::AlfFlowLayoutManager : public Alf::AlfLayoutManager

Flow layout manager positions children next to each other either horizontally or vertically. The manager sizes the children by using the preferred sizes of the children. IAlfLayoutPreferences::getPreferredSize() Flow layout manager takes system wide layout mirroring into consideration. In western locales the visuals are layed out from left to right whereas in arabic locale for instance the visuals are layed out from right to left. Mirroring is considered only when the flow is horizontal. The layout manager will always lay its children from top to bottom.

IAlfLayoutManager , IAlfLayoutPreferences alfwidgetmodel.lib
Since
S60 ?S60_version Draft

Constructor & Destructor Documentation

AlfFlowLayoutManager()

OSN_IMPORT AlfFlowLayoutManager ( )

layout manager constructor

Exceptions
std::bad_alloc

~AlfFlowLayoutManager()

OSN_IMPORT ~AlfFlowLayoutManager ( ) [virtual]

virtual destructor

Member Functions Documentation

makeInterface(const IfId &)

OSN_IMPORT IAlfInterfaceBase * makeInterface ( const IfId & aType ) [virtual]
Interface getter. IAlfInterfaceBase::MakeInterface
Since
S60 ?S60_version

Parameters

const IfId & aType The type id of the queried interface.

updateChildLayout(CAlfWidgetControl *)

OSN_IMPORT void updateChildLayout ( CAlfWidgetControl * aControl ) [virtual]

from AlfLayoutManager Notifies the layout manager, that the child control's layout must be updated.

Parameters

CAlfWidgetControl * aControl control, which size has changed.

Member Data Documentation

auto_ptr< AlfFlowLayoutPolicyImpl > mData

auto_ptr< AlfFlowLayoutPolicyImpl > mData [private]

auto_ptr< AlfFlowLayoutPreferencesImpl > mPrefImpl

auto_ptr< AlfFlowLayoutPreferencesImpl > mPrefImpl [private]