class CAlfLCTTextVisual : public CAlfTextVisual |
Text visual for text drawing. Supports setting style from LCT layout data.
Public Member Functions | |
---|---|
CAlfLCTTextVisual() | |
~CAlfLCTTextVisual() | |
IMPORT_C CAlfLCTTextVisual * | AddNewL(CAlfControl &, CAlfLayout *) |
IMPORT_C void | ConstructL(CAlfControl &) |
IMPORT_C CAlfVisual * | FindTag(const TDesC8 &) |
IMPORT_C void | RemoveAndDestroyAllD() |
IMPORT_C void | SetTextPane(TAknLayoutHierarchyComponentHandle &) |
IMPORT_C void | UpdateChildrenLayout(TInt) |
Protected Member Functions | |
---|---|
IMPORT_C void | DoRemoveAndDestroyAllD() |
IMPORT_C void | PropertyOwnerExtension(const TUid &, TAny **) |
Inherited Enumerations | |
---|---|
CAlfTextVisual:TLineSpacingUnits | |
CAlfTextVisual:TLineWrap |
Private Attributes | |
---|---|
TLCTTextVisualPrivateData * | iLCTTextVisualData |
IMPORT_C CAlfLCTTextVisual * | AddNewL | ( | CAlfControl & | aOwnerControl, |
CAlfLayout * | aParentLayout = 0 | |||
) | [static] |
Constructor, which gives ownership to the control.
CAlfControl & aOwnerControl | The control |
CAlfLayout * aParentLayout = 0 | If given, the parent layout. |
IMPORT_C void | ConstructL | ( | CAlfControl & | aOwner | ) | [virtual] |
Second-phase constructor.
CAlfControl & aOwner |
IMPORT_C void | DoRemoveAndDestroyAllD | ( | ) | [protected, virtual] |
From CAlfVisual CAlfVisual
IMPORT_C CAlfVisual * | FindTag | ( | const TDesC8 & | aTag | ) | [virtual] |
Finds a visual whose tag descriptor contains a specific tag.
CAlfVisual::FindTag() is the basic implementation that checks if this visual's tag matches the specified tag. CAlfLayout::FindTag() extends the search into child visuals, covering recursively entire visual hierarchies.
Todo: how should several visuals with matching tag to be handled ??
CAlfVisual::Tag() CAlfVisual::SetTagL() CAlfVisual::IsTagged() CAlfLayout::FindTag()
const TDesC8 & aTag | Tag to look for. If this tag is found as a part of a visual's colon-separated tag descriptor, it is treated as a match and the visual is returned. The tag to look for cannot contain separator characters (:). |
IMPORT_C void | PropertyOwnerExtension | ( | const TUid & | aExtensionUid, |
TAny ** | aExtensionParams | |||
) | [protected, virtual] |
! future proofing
IMPORT_C void | SetTextPane | ( | TAknLayoutHierarchyComponentHandle & | aComponentHandle | ) |
Sets the text pane layout of the text visual. Note that the actual text pane position should be called by setting an anchor on the containing layout.
TAknLayoutHierarchyComponentHandle & aComponentHandle | reference to the layout data that corresponds to the text visual. |
IMPORT_C void | UpdateChildrenLayout | ( | TInt | aTransitionTime = 0 | ) | [virtual] |
Update the layout of all children. Subclasses can call this to recalculate the layout of all children.
TInt aTransitionTime = 0 | Time for layout transition in milliseconds. Any negative value uses value given in CAlfEnv::StaticSetLayoutTransitionTime() |
TLCTTextVisualPrivateData * | iLCTTextVisualData | [private] |
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.