Alf::IAlfFlowLayoutPolicy Class Reference

class Alf::IAlfFlowLayoutPolicy : public Alf::IAlfInterfaceBase
interface for flow layout policy. The policy-interface can be queried from the layoutmanager using the makeInterface- call. IAlfLayoutManager alfwidgetmodel.lib
Since
S60 ?S60_version Draft

Inherits from

Constructor & Destructor Documentation

~IAlfFlowLayoutPolicy()

~IAlfFlowLayoutPolicy ( ) [inline, virtual]

Member Functions Documentation

flowDirection()

enum flowDirection flowDirection ( ) const [pure virtual]

returns the flow direction

makeInterface(const IfId &)

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

Parameters

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

mode()

int mode ( ) const [pure virtual]

Returns the mode flags of the flow.

IAlfFlowLayoutPolicy::flowModeFlags

setFlowDirection(enum flowDirection)

void setFlowDirection ( enum flowDirection aDirection ) [pure virtual]

Sets the direction of the flow.

Parameters

enum flowDirection aDirection Flow direction.

setMode(int)

void setMode ( int aMode ) [pure virtual]

Sets the mode of the flow. The mode flags determine how the flow layout behaves.

IAlfFlowLayoutPolicy::flowModeFlags

Parameters

int aMode Mode flags (OR'd together).

type()

const IfId & type ( ) [static, inline]

Member Enumerations Documentation

Enum flowDirection

Flow directions.

Enumerators

EFlowHorizontal

Flow horizontally. System wide layout mirroring is considered to determine whether visuals are layed from left to right or from right to left.

EFlowVertical

Flow vertically.

Enum flowModeFlags

Mode flags that specify how the flow is laid out.

Enumerators

EFlowModeCenterPerpendicular = 0x1

Center the children perpendicular to the flow direction. For example, if the flow direction is horizontal (left->right) this flag will center the children vertically along the flow.

EFlowModeFitPerpendicular = 0x2

Fit the children perpendicular to the flow direction. For example, if the flow direction is horizontal, the children will be vertically resized to fit the layout's rectangle.