API published in: S60 1st Ed
Link against: eikcoctl.lib
Required Capabilities
None
#include <eikspane.h>
Inherited by CEikStatusPane.
Public Types |
|
enum | TDrawCmd { ENoDraw, EDrawNow, EDrawDeferred } |
Status pane drawing commands. More... |
|
Public Member Functions |
|
IMPORT_C | ~CEikStatusPaneBase () |
Destructor. |
|
void | SetObserver (MEikStatusPaneObserver *aObserver) |
Sets the status pane observer. |
|
IMPORT_C void | ReduceRect (TRect &aBoundingRect) const |
Modifies the bounding rectangle so that it lies next to the status pane rectangle. |
|
IMPORT_C void | GetShapeL (TRegion &aRegion, TBool aIncludeAppPanes, TBool aIncludeServerPanes) const |
Adds and removes pane rectangles from aRegion . |
|
virtual IMPORT_C void | SwitchLayoutL (TInt aLayoutResourceId) |
Switches to the specified status pane layout. |
|
virtual IMPORT_C void | MakeVisible (TBool aVisible) |
Sets the visiblility of the status pane and its contents. |
|
virtual IMPORT_C void | SetDimmed (TBool aDimmed) |
Sets the status pane and its contents to dimmed state. |
|
virtual IMPORT_C void | SetFaded (TBool aFaded) |
Not implemented. |
|
virtual IMPORT_C void | HandleResourceChange (TInt aType) |
Handles changes in resources which are shared across the environment. |
|
virtual IMPORT_C TBool | OkToChangeStatusPaneNow () |
Returns always ETrue . |
|
IMPORT_C void | SetFlags (TInt aFlags) |
Sets all the visual flags at once (KEikStatusPaneBaseVisibleBitdimmed and KEikStatusPaneBaseDimmedBit ). |
|
IMPORT_C TInt | Flags () const |
Gets status pane settings. |
|
IMPORT_C TBool | IsVisible () const |
Gets the visibility of the status pane. |
|
IMPORT_C TBool | IsDimmed () const |
Gets the dimmed state of the status pane. |
|
IMPORT_C TBool | IsFaded () const |
Gets the fade status of the status pane. |
|
IMPORT_C TPaneCapabilities | PaneCapabilities (TPaneId aPaneId) const |
Gets the capabilities of the status pane. |
|
IMPORT_C TRect | PaneRectL (TPaneId aPaneId) const |
Provides the screen rectangle of a sub pane. |
|
IMPORT_C CCoeControl * | ControlL (TPaneId aPaneId) const |
Provides the control currently inside a sub pane. |
|
IMPORT_C CCoeControl * | SwapControlL (TPaneId aPaneId, CCoeControl *aNewControl) |
Swaps the control currently inside a sub pane. |
|
IMPORT_C CCoeControl * | ContainerControlL (TPaneId aPaneId) const |
Provides access to the container control for a sub pane. |
|
RWindowGroup * | WindowGroup () const |
Provides access to a server-side window group. |
|
IMPORT_C void | DrawNow () |
Draws the control. |
|
IMPORT_C TInt | CurrentLayoutResId () const |
Gets the resource id of the current layout. |
|
void | SetCbaAreaBackgroundID (const TAknsItemID &aBgID, CEikStatusPaneBase::TDrawCmd aDrawCmd) |
Sets the skin background ID of sub-panes which are in the CBA area. |
|
TAknsItemID | CbaAreaBackgroundID () |
Returns the current skin background ID of the sub-panes which are in the CBA area. |
|
void | ReportSizeChange () |
Notifies the command button area and status pane observer about the status pane size change. |
|
Static Public Member Functions |
|
static IMPORT_C CEikStatusPaneBase * | Current () |
Gets a pointer to the thread's currently active status pane without transferring ownership. |
|
Protected Types |
|
typedef CArrayPtrFlat< CEikStatusPaneContainer > | CContainerControls |
Protected Member Functions |
|
IMPORT_C | CEikStatusPaneBase (CEikonEnv &aEikEnv, RWindowGroup *aParent) |
C++ default constructor. |
|
IMPORT_C void | BaseConstructL (TInt aCoreResId) |
Initializes the status pane with standard values. |
|
virtual CEikStatusPaneModelBase * | CreateModelL (TInt aCoreResId) const =0 |
Creates a new model for the status pane. |
|
void | CreatePanesL () |
Creates sub panes to the status pane. |
|
void | CreatePaneL (const TEikStatusPaneInit &aPaneInit) |
Creates a sub pane. |
|
CEikStatusPaneContainer * | Find (TPaneId aPaneId) const |
Gets a container of a wanted pane. |
|
virtual TBool | IsApp () const =0 |
Returns always ETrue . |
|
TRect | Rect () const |
Gets the rectangle of the status pane. |
|
void | DoDrawNow (TDrawCmd aDraw) |
Calls CCoeControl's DrawNow() or DrawDeferred() to draw the status pane. |
|
CAknStatuspaneClearer * | Clearer () |
Gets the status pane clearer. |
|
IMPORT_C void | DisableClearer (TBool aDisabled) |
Disables the status pane clearer. |
|
IMPORT_C void | CommonPrepareForAppExit () |
Prepares the status pane for the application exit. |
|
CAknStatusPaneDataSubscriber * | DataSubscriber () const |
Gets the status pane data subscriber. |
|
void | SetInitialUsedResourceId (TInt aResourceId) |
Sets the initial status pane resource id to an extension class CEikStatusPaneBaseExtension . |
|
void | OptimizeClearerWindowShape (TInt aOldResourceId, TInt aNewResourceId, TRegion &aRegion) |
Optimizes the status pane region which cleared during status pane layout change. |
|
void | SetStoreHandler (RWindow *aWindow, TBool aOn) |
Sets redraw storing state of the window. |
|
Protected Attributes |
|
CEikonEnv & | iEikEnv |
An environment for creating controls and utility functions for manipulating them. |
|
CEikStatusPaneModelBase * | iModel |
Status pane model class. |
|
TInt | iFlags |
Flags for the status pane. |
|
CContainerControls * | iControls |
Friends |
|
class | TSetRectAndVisibility |
Data Structures |
|
class | TPaneCapabilities |
Describes the capabilities of a subpane. More... |
|
class | TSetRectAndVisibility |
|
|
Status pane drawing commands. |
|
Destructor. |
|
C++ default constructor.
|
|
Initializes the status pane with standard values.
|
|
Returns the current skin background ID of the sub-panes which are in the CBA area. |
|
Gets the status pane clearer.
|
|
Prepares the status pane for the application exit. Clears the status pane. |
|
Provides access to the container control for a sub pane. You will need access to the container for a sub pane if you want to swap in a new control. The container control should be set as the parent window of the new control. It also provides a fast way to get the rectangle of the sub pane (
|
|
Provides the control currently inside a sub pane. This gives the application direct access to the contents of a pane.
|
|
Creates a new model for the status pane.
|
|
Creates a sub pane.
|
|
Creates sub panes to the status pane. |
|
Gets a pointer to the thread's currently active status pane without transferring ownership.
|
|
Gets the resource id of the current layout.
|
|
Gets the status pane data subscriber.
|
|
Disables the status pane clearer.
|
|
Calls
If
|
|
Draws the control. |
|
Gets a container of a wanted pane.
|
|
Gets status pane settings.
|
|
Adds and removes pane rectangles from
|
|
Handles changes in resources which are shared across the environment. This function responds to the changes in resources by propagating them to sub-parts of the status pane.
Reimplemented in CEikStatusPane. |
|
Returns always
|
|
Gets the dimmed state of the status pane.
|
|
Gets the fade status of the status pane.
|
|
Gets the visibility of the status pane.
|
|
Sets the visiblility of the status pane and its contents.
Reimplemented in CEikStatusPane. |
|
Returns always
Reimplemented in CEikStatusPane. |
|
Optimizes the status pane region which cleared during status pane layout change.
|
|
Gets the capabilities of the status pane.
|
|
Provides the screen rectangle of a sub pane. This can be used to set the size of a new control which you want to place in the status pane.
|
|
Gets the rectangle of the status pane.
|
|
Modifies the bounding rectangle so that it lies next to the status pane rectangle. The status pane always places itself along the edge of the screen, so that it is consistent across applications and the server. It is assumed that the given bounding rectangle does not extend beyond the screen area.
|
|
Notifies the command button area and status pane observer about the status pane size change. If the status pane is an embedded application, also this application is notified. |
|
Sets the skin background ID of sub-panes which are in the CBA area. |
|
Sets the status pane and its contents to dimmed state.
Reimplemented in CEikStatusPane. |
|
Not implemented.
Reimplemented in CEikStatusPane. |
|
Sets all the visual flags at once (
|
|
Sets the initial status pane resource id to an extension class
|
|
Sets the status pane observer.
|
|
Sets redraw storing state of the window.
|
|
Swaps the control currently inside a sub pane. The new control must be a fully constructed control. It will be placed inside the status pane, and the current content will be returned to the caller.
|
|
Switches to the specified status pane layout.
The actual layout to which this method switches may not be the same as specified in
From S60 3.2 on the old status pane layouts are also mapped to the new layouts, ie.
|
|
Provides access to a server-side window group.
|
|
|
|
An environment for creating controls and utility functions for manipulating them. |
|
Flags for the status pane. |
|
Status pane model class.
|