API published in: S60 1st Ed
Link against: avkon.lib eikcore.lib eiksrv.lib
Required Capabilities
None
#include <aknview.h>
Inherited by CClkDateTimeView.
Public Member Functions |
|
IMPORT_C | CAknView () |
Standard constructor. |
|
IMPORT_C | ~CAknView () |
Standard destructor. |
|
IMPORT_C void | BaseConstructL (TInt aResId=0) |
This is a second stage constructor initializing this view with standard values. |
|
IMPORT_C void | ConstructMenuAndCbaEarlyL () |
Constructs invisible button group container and menu if they don't exist yet. |
|
IMPORT_C void | ActivateViewL (const TVwsViewId &aViewId) |
Activate any view in the product. |
|
IMPORT_C void | ActivateViewL (const TVwsViewId &aViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage) |
Activate any view, then passes the message text aCustomMessage of type aCustomMessageId . |
|
virtual IMPORT_C TUid | Id () const =0 |
Returns views id, intended for overriding by sub classes. |
|
virtual IMPORT_C void | HandleStatusPaneSizeChange () |
Event handler for status pane size changes. |
|
IMPORT_C TVwsViewId | ViewId () const |
From MCoeView . |
|
virtual IMPORT_C void | ProcessCommandL (TInt aCommand) |
From MEikMenuObserver . |
|
virtual IMPORT_C void | HandleCommandL (TInt aCommand) |
Command handling function intended for overriding by sub classes. |
|
virtual IMPORT_C CEikMenuBar * | MenuBar () const |
Menu bar accessor method. |
|
IMPORT_C TRect | ClientRect () const |
Calculates the client rectangle of the view, taking the applications client rectangle and the views CBA into account. |
|
IMPORT_C void | StopDisplayingMenuBar () |
This function causes the menu bar to disappear from the screen until it is invoked again by the user. |
|
IMPORT_C TBool | IsForeground () const |
Determines whether the application is foreground. |
|
virtual IMPORT_C void | HandleViewRectChange () |
Called by the framework when view's rectangle changes. |
|
virtual IMPORT_C void | Redraw () const |
Asks the view to redraw its area. |
|
virtual IMPORT_C void | AknViewActivatedL (const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage) |
Avkon view architecture system. |
|
void | AknViewDeactivated () |
Avkon view architecture system. |
|
void | ProcessForegroundEventL (TBool aForeground) |
Avkon view architecture system. |
|
IMPORT_C CAknToolbar * | Toolbar () const |
IMPORT_C void | StopDisplayingToolbar () |
This function causes toolbar to be hidden. |
|
IMPORT_C TBool | ToolbarShownOnViewActivation () const |
Determines if the toolbar of this view is shown when the view is activated. |
|
IMPORT_C void | ShowToolbarOnViewActivation (TBool aVisible) |
Sets toolbar visibility status of this view according to value given. |
|
void | SaveToolbarStatus (TBool aVisible, TBool aFocused) |
Saves toolbar status of this view according to values given. |
|
Protected Member Functions |
|
IMPORT_C CAknViewAppUi * | AppUi () const |
Accessor for the applications user interface as a CAknViewAppUi . |
|
IMPORT_C CEikStatusPane * | StatusPane () const |
Status pane accessor method. |
|
IMPORT_C CEikButtonGroupContainer * | Cba () const |
Button group container (=CBA) accessor method. |
|
virtual IMPORT_C void | DoActivateL (const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage)=0 |
Handles a view activation and passes the message of type aCustomMessageId . |
|
virtual void | DoDeactivate ()=0 |
View deactivation function intended for overriding by sub classes. |
|
IMPORT_C void | ViewActivatedL (const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage) |
From MCoeView . |
|
IMPORT_C void | ViewDeactivated () |
From MCoeView . |
|
IMPORT_C TVwsViewIdAndMessage | ViewScreenDeviceChangedL () |
From MCoeView . |
|
IMPORT_C TTypeUid::Ptr | MopSupplyObject (TTypeUid aId) |
From MObjectProvider . |
|
IMPORT_C MObjectProvider * | MopNext () |
From MObjectProvider . |
|
virtual IMPORT_C void | SetEmphasis (CCoeControl *aMenuControl, TBool aEmphasis) |
From MEikMenuObserver . |
|
virtual IMPORT_C void | HandleForegroundEventL (TBool aForeground) |
From MEikMenuObserver . |
|
Protected Attributes |
|
CCoeEnv * | iCoeEnv |
Data Structures |
|
struct | SAknViewInfo |
|
Standard constructor. |
|
Standard destructor. |
|
Activate any view, then passes the message text
Calls
|
|
Activate any view in the product.
Calls
|
|
Avkon view architecture system.
Internal use only. Calls |
|
Avkon view architecture system.
Internal use only. Function is called by |
|
Accessor for the applications user interface as a
|
|
This is a second stage constructor initializing this view with standard values. Should be called from derived classes second stage construction functions.
|
|
Button group container (=CBA) accessor method. This returns the views CBA if there is one, and the applications user interfaces CBA otherwise.
|
|
Calculates the client rectangle of the view, taking the applications client rectangle and the views CBA into account.
Calls
|
|
Constructs invisible button group container and menu if they don't exist yet. They are placed on the view stack. To be used by views which need to access the menu or cba before the view is activated for the first time. |
|
Handles a view activation and passes the message of type
This function is intended for overriding by sub classes. This function is called by
Implemented in CClkDateTimeView. |
|
View deactivation function intended for overriding by sub classes.
This function is called by Implemented in CClkDateTimeView. |
|
Command handling function intended for overriding by sub classes. Default implementation is empty.
Reimplemented in CClkDateTimeView. |
|
From Foreground event handling function intended for overriding by sub classes.
|
|
Event handler for status pane size changes.
|
|
Called by the framework when view's rectangle changes. The default implementation is empty. This function is not used yet. |
|
Returns views id, intended for overriding by sub classes.
Implemented in CClkDateTimeView. |
|
Determines whether the application is foreground.
|
|
Menu bar accessor method. This returns the views menu if available, otherwise it returns the applications menu bar.
|
|
From Gets the parent object provider.
|
|
From
Gets an (
|
|
From
This function processes user commands by handling
|
|
Avkon view architecture system. Internal use only. |
|
Asks the view to redraw its area. Needs to be implemented only by views used in split view architecture. The default implementation is empty. This function is not used yet. |
|
Saves toolbar status of this view according to values given. The values are used when view is activated.
|
|
From
Menu emphasising or de-emphasising function.
|
|
Sets toolbar visibility status of this view according to value given. The value is used when view is activated.
|
|
Status pane accessor method.
|
|
This function causes the menu bar to disappear from the screen until it is invoked again by the user.
Calls |
|
This function causes toolbar to be hidden. |
|
|
|
Determines if the toolbar of this view is shown when the view is activated.
|
|
From
Takes any action required when this view is activated. Handles this view activation event from view server. Calls
|
|
From
Takes any action that is required following deactivation of this view. Handles this view deactivation event from viewserver.
Calls |
|
From
The full view Id for this view. Calls
|
|
From Screen device changed function from viewserver.
|
|