Alf::IAlfViewWidget Class Reference
class Alf::IAlfViewWidget : public Alf::IAlfContainerWidget |
An interface for the view widget.
Constructor & Destructor Documentation
~IAlfViewWidget()
~IAlfViewWidget | ( | ) | [inline, virtual] |
Member Functions Documentation
acceptEvents(bool)
void | acceptEvents | ( | bool | aAccept = true | ) | [pure virtual] |
API to make the view widget accept events.
Parameters
bool aAccept = true | true if the view is to accept inputs, else false default value is true |
controlPaneEnabled()
bool | controlPaneEnabled | ( | ) | [pure virtual] |
API to check whether the control pane is enabled
enableControlPane(bool)
void | enableControlPane | ( | bool | aEnable = true | ) | [pure virtual] |
API to hide/show Avkon control pane If the AlfDisplay bound to the view widget does not occupy the entire client rectangle, this API has no effect.
Parameters
bool aEnable = true | true to enable the control pane, else false the default value is true. |
enableStatusPane(bool)
void | enableStatusPane | ( | bool | aEnable = true | ) | [pure virtual] |
API to enable/disable Avkon status pane
Parameters
bool aEnable = true | true to enable the status pane, else false the default value is true. |
eventsAccepted()
bool | eventsAccepted | ( | ) | [pure virtual] |
API to check whether the view accepts events
getViewStackPosition()
int | getViewStackPosition | ( | ) | const [pure virtual] |
Returns the position of the view on the view stack. This tells the view Z-coordinate position relative to other views. Top-most view returns zero. Views under that have a growing number of position. If the view is hidden -1 is returned. Only view widgets are taken into consideration in the position calculation. Other control groups in the display roster are ignored. For example, position zero doesn't mean that the control group of this view would be top-most.
Only top-most view is activate while all other views are being deactivate.
show()
setRect(const TRect &)
void | setRect | ( | const TRect & | aDisplayRect | ) | [pure virtual] |
API to Set the display area of the view widget. This will set the alfdisplay area with param passed Client need to call this api with screen/apprect to make view full screen or application rect
Parameters
const TRect & aDisplayRect | |
setSkinBackground(TAknsItemID)
void | setSkinBackground | ( | TAknsItemID | aSkinID | ) | [pure virtual] |
show(bool)
void | show | ( | bool | aShow = true | ) | [pure virtual] |
This will show the view widget. The view widget will be shown on the top of the view stack. If the view was already shown it will be moved on top of the view stack.
Parameters
bool aShow = true | true if the view is to be shown, false if the view will be hidden. The view is not shown, till this api is called with true parameter. |
shown()
bool | shown | ( | ) | [pure virtual] |
API to check whether the view is shown
statusPaneEnabled()
bool | statusPaneEnabled | ( | ) | [pure virtual] |
API to check whether the status pane is enabled
type()
const IfId & | type | ( | ) | [static, inline] |
Getter for the type identifier of this interface.
- Since
- S60 ?S60_version
useSkinBackground(bool)
void | useSkinBackground | ( | bool | aSkinBackground = true | ) | [pure virtual] |
API to enable/disable Avkon Skin to be used as view widget's background.
Parameters
bool aSkinBackground = true | true if the view has to use Avkon Skin as background. false otherwise. |
usingSkinBackground()
bool | usingSkinBackground | ( | ) | [pure virtual] |
API to check whether skin info is being used for background or not
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.