The class, for example, decorates navigation pane controls with navi arrows.
|
Public Types |
enum | TScrollButton { ELeftButton = 0x0001,
ERightButton = 0x0002
} |
| Defines scroll buttons. More...
|
enum | TControlType {
ENotSpecified,
ETabGroup,
ENaviLabel,
ENaviImage,
EHintText,
EEditorIndicator,
ENaviVolume
} |
| Defines type of the decorated control. More...
|
enum | TAknNaviControlLayoutStyle { ENaviControlLayoutNormal = 0x1,
ENaviControlLayoutNarrow = 0x2,
ENaviControlLayoutWide = 0x4
} |
| Defines the navigation control layout style. More...
|
enum | TAknNaviControlLayoutMode { ENaviControlLayoutModeAutomatic = 0x400,
ENaviControlLayoutModeForced = 0x800
} |
| Defines the navigation control layout mode. More...
|
Public Member Functions |
IMPORT_C | ~CAknNavigationDecorator () |
| Destructor.
|
IMPORT_C CCoeControl * | DecoratedControl () |
| Returns the control inside a navigation decorator object.
|
IMPORT_C void | MakeScrollButtonVisible (TBool aVisible) |
| Shows or hides the navigation arrows at the both ends of the navigation pane when current object is shown.
|
IMPORT_C TBool | ScrollButtonVisible () const |
| Gets the State of the visibility of navigation arrows.
|
IMPORT_C void | SetScrollButtonDimmed (TScrollButton aButton, TBool aDimmed) |
| Sets the navigation arrow dimmed (and highlighted).
|
IMPORT_C TBool | IsScrollButtonDimmed (TScrollButton aButton) const |
| Is button dimmed or highlighted.
|
IMPORT_C void | SetControlType (TControlType aType) |
| Sets the type of the decorated control.
|
IMPORT_C TControlType | ControlType () const |
| Returns the type of the decorated control.
|
virtual IMPORT_C void | SetNaviDecoratorObserver (MAknNaviDecoratorObserver *aObserver) |
| Sets observer for navigation decorator events in the decorated control.
|
void | SetNaviStack (CAknNavigationControlContainer *aContainer) |
| Sets the pointer to the default navigation pane control.
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
| From CCoeControl .
|
IMPORT_C void | SetNaviControlLayoutStyle (TAknNaviControlLayoutStyle aStyle) |
| Sets the layout style for this objects decorated control.
|
IMPORT_C TAknNaviControlLayoutStyle | NaviControlLayoutStyle () |
| Gets the current layout style of this objects decorated control (ENaviControlLayoutNormalm ENaviControlLayoutNarrow or ENaviControlLayoutWide ).
|
IMPORT_C TBool | NaviControlLayoutStyleSupported (TAknNaviControlLayoutStyle aStyle) |
| Tells if decorated control supports given layout style at the current statuspane layout.
|
IMPORT_C void | SetNaviControlLayoutMode (TAknNaviControlLayoutMode aMode) |
| Sets the layout mode ENaviControlLayoutModeAutomatic or ENaviControlLayoutModeForced .
|
IMPORT_C TAknNaviControlLayoutMode | NaviControlLayoutMode () |
| Gets the current layout mode of decorated control.
|
virtual IMPORT_C void | HandleResourceChange (TInt aType) |
| Handles a change to the control's resources of type aType which are shared across the environment, e.g.
|
Static Public Member Functions |
static IMPORT_C CAknNavigationDecorator * | NewL (CAknNavigationControlContainer *aNavigationControlContainer, CCoeControl *aDecoratedControl, TControlType aType=ENotSpecified) |
| Creates a new navigation decorator.
|
static TRect | DecoratedControlRect (TInt aControlType) |
| Gets the default rectangle of the given control type.
|
static TRect | DecoratedControlNarrowRect (TInt aControlType) |
| Gets the default rectangle of the navigation pane's default control.
|
static TRect | DecoratedTabControlRect (TBool aTopAdjacent) |
| Gets the default rect of tab group control type relative to navipane in normal layoutstyle (ENaviControlLayoutNormal ).
|
Protected Member Functions |
virtual IMPORT_C void | SizeChanged () |
| From CCoeControl .
|
virtual IMPORT_C TInt | CountComponentControls () const |
| From CCoeControl .
|
virtual IMPORT_C CCoeControl * | ComponentControl (TInt aIndex) const |
| From CCoeControl .
|
IMPORT_C void | HandleControlEventL (CCoeControl *aControl, TCoeEvent aEventType) |
| From MCoeControlObserver .
|
Protected Attributes |
CCoeControl * | iDecoratedControl |
| Decorated control.
|
CAknNavigationControlContainer * | iContainer |
| Navigation pane default control.
|
MAknNaviDecoratorObserver * | iNaviDecoratorObserver |
| Observer for handling decorator events.
|
Friends |
class | CAknNavigationControlContainer |