Alf::AlfAnchorLayoutManager Class Reference
class Alf::AlfAnchorLayoutManager : public Alf::AlfLayoutManager
|
Anchor layout manager Layout manager handles the layouting of child widgets in the container widget. It uses IAlfLayoutPreferences-interface (
IAlfLayoutPreferences
) of child widgets as a guide
for
laying out the widgets. The layoutmanager is set to the IAlfHostApi- interface (IAlfHostApi::setBaseLayout) createLayout-method should be the first call after creating the layoutmanager.
IAlfLayoutPreferences
alfwidgetmodel.lib
-
Since
-
S60 ?S60_version Draft
IAlfLayoutManager
,
IAlfLayoutPreferences
Inherits from
-
Alf::AlfAnchorLayoutManager
Constructor & Destructor Documentation
AlfAnchorLayoutManager()
OSN_IMPORT
|
AlfAnchorLayoutManager
|
(
|
)
|
|
Layout manager constructor
-
Exceptions
-
~AlfAnchorLayoutManager()
OSN_IMPORT
|
~AlfAnchorLayoutManager
|
(
|
)
|
[virtual]
|
Member Functions Documentation
childRemoved(CAlfWidgetControl *)
void
|
childRemoved
|
(
|
CAlfWidgetControl
*
|
aControl
|
)
|
[virtual]
|
from
IAlfLayoutManager
Notifies the layout manager, that the control's has been removed from the layout.
-
Exceptions
-
AlfVisualException(EInvalidVisual)if
|
layout is not created.
|
Parameters
CAlfWidgetControl
* aControl
|
control, which has been removed from the layout.
|
doUpdateChildLayout(CAlfWidgetControl *)
OSN_IMPORT void
|
doUpdateChildLayout
|
(
|
CAlfWidgetControl
*
|
aControl
|
)
|
[protected, virtual]
|
Notifies the layout manager, that the child control's layout must be updated. Called in updateChildLayout for the updated control and in updateChildrenLayout for all the controls in the layout.
Parameters
CAlfWidgetControl
* aControl
|
control, which size has changed.
|
makeInterface(const IfId &)
Interface getter. IAlfInterfaceBase::MakeInterface
-
Since
-
S60 ?S60_version
Parameters
const
IfId
& aType
|
The type id of the queried interface.
|
updateChildLayout(CAlfWidgetControl *)
void
|
updateChildLayout
|
(
|
CAlfWidgetControl
*
|
aControl
|
)
|
[virtual]
|
from
IAlfLayoutManager
Notifies the layout manager, that the child control's layout must be updated
-
Exceptions
-
AlfVisualException(EInvalidVisual)if
|
layout is not created.
|
Parameters
CAlfWidgetControl
* aControl
|
control, which size has changed.
|
Member Data Documentation
auto_ptr< AlfAnchorLayoutManagerImpl > mData
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.