Alf::AlfGridLayoutManagerImpl Class Reference

class Alf::AlfGridLayoutManagerImpl : public Alf::IAlfLayoutPreferences

layoutmanager implementation class

alfwidgetmodel.lib
Since
S60 ?S60_version

Inherits from

Constructor & Destructor Documentation

AlfGridLayoutManagerImpl(AlfGridLayoutManager &)

AlfGridLayoutManagerImpl(AlfGridLayoutManager &aGridLayoutManager)

layout manager constructor

Parameters

AlfGridLayoutManager & aGridLayoutManager

~AlfGridLayoutManagerImpl()

~AlfGridLayoutManagerImpl()

destructor

Member Functions Documentation

getMaximumSize(TAlfXYMetric &)

boolgetMaximumSize(TAlfXYMetric &aMaxSize)const [virtual]

Returns the maximum size of the layout by combining the maximum sizes of the layed out visuals.

Parameters

TAlfXYMetric & aMaxSizeThe maximum size that the object would like to be laid out to

getMinimumSize(TAlfXYMetric &)

boolgetMinimumSize(TAlfXYMetric &aMinSize)const [virtual]

Returns the minimum size of the layout by combining the minimum sizes of the layed out visuals.

Parameters

TAlfXYMetric & aMinSizeThe minimum size that the object would like to be laid out to

getPreferredSize(TAlfXYMetric &)

boolgetPreferredSize(TAlfXYMetric &aPreferredSize)const [virtual]

Returns the size combined by all preferred sizes of child UI elements in this layout when they are being layed out according to the layout manager rules.

Parameters

TAlfXYMetric & aPreferredSizeFilled with the referred area occupied by child elements when layed out by layouting rules in this layout manager.

layout()

CAlfGridLayout &layout()const [private]

returns the gridlayout used by the layoutmanager.

makeInterface(const IfId &)

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

Parameters

const IfId & aTypeThe type id of the queried interface.

setPreferredSize(const TAlfXYMetric &)

voidsetPreferredSize(const TAlfXYMetric &aPreferredSize)[virtual]

Set the preferred size into a presentation object.

This is not supported on the layout manager. Users should set preferred sizes of the contained UI elements.

Parameters

const TAlfXYMetric & aPreferredSize

Member Data Documentation

AlfGridLayoutManager & mGridLayoutManager

AlfGridLayoutManager &mGridLayoutManager[private]