Alf::AlfAnchorLayoutManagerImpl Class Reference

class Alf::AlfAnchorLayoutManagerImpl : public Alf::IAlfLayoutPreferences

layoutmanager implementation class

alfwidgetmodel.lib
Since
S60 ?S60_version

Inherits from

Constructor & Destructor Documentation

AlfAnchorLayoutManagerImpl(AlfAnchorLayoutManager &)

AlfAnchorLayoutManagerImpl ( AlfAnchorLayoutManager & aAnchorLayoutManager )

layout manager constructor

Parameters

AlfAnchorLayoutManager & aAnchorLayoutManager

~AlfAnchorLayoutManagerImpl()

~AlfAnchorLayoutManagerImpl ( )

destructor

Member Functions Documentation

getMaximumSize(TAlfXYMetric &)

bool getMaximumSize ( TAlfXYMetric & aMaxSize ) const [virtual]

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

Parameters

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

getMinimumSize(TAlfXYMetric &)

bool getMinimumSize ( TAlfXYMetric & aMinSize ) const [virtual]

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

Parameters

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

getPreferredSize(TAlfXYMetric &)

bool getPreferredSize ( 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 & aPreferredSize Filled with the referred area occupied by child elements when layed out by layouting rules in this layout manager.

layout()

CAlfAnchorLayout & layout ( ) const [private]

returns the anchorlayout used by the layoutmanager.

makeInterface(const IfId &)

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.

setPreferredSize(const TAlfXYMetric &)

void setPreferredSize ( 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

AlfAnchorLayoutManager & mAnchorLayoutManager

AlfAnchorLayoutManager & mAnchorLayoutManager [private]