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.
IAlfLayoutManageralfwidgetmodel.lib
- Since
- S60 ?S60_version Draft
Inherits from
- Alf::IAlfFlowLayoutPolicy
Constructor & Destructor Documentation
~IAlfFlowLayoutPolicy()
~IAlfFlowLayoutPolicy | ( | ) | [inline, virtual] |
Member Functions Documentation
flowDirection()
returns the flow direction
makeInterface(const IfId &)
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] |
setFlowDirection(enum flowDirection)
Sets the direction of the flow.
setMode(int)
void | setMode | ( | int | aMode | ) | [pure virtual] |
Parameters
int aMode | Mode flags (OR'd together). |
type()
const IfId & | type | ( | ) | [static, inline] |
Member Enumerations Documentation
Enum flowDirection
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.
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.