CAknVolumeControl Class Reference
#include
<mw/Aknvolumecontrol.h>
class CAknVolumeControl : public CAknControl |
Inherited Functions |
---|
| CAknControl::CAknControl() |
| CAknControl::~CAknControl() |
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::Extension_(TUint,TAny *&,TAny *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
| CCoeControl::AccumulatedZoom()const |
| CCoeControl::ActivateGc()const |
| CCoeControl::ActivateL() |
| CCoeControl::BackedUpWindow()const |
| CCoeControl::Background()const |
| CCoeControl::CCoeControl() |
| CCoeControl::CCoeControl(CCoeEnv *) |
| CCoeControl::CCoeControl(const CCoeControl &) |
| CCoeControl::CCoeControlArray |
| CCoeControl::CapturesPointer()const |
| CCoeControl::ClaimPointerGrab(TBool) |
| CCoeControl::ClaimPointerGrab(TInt,TBool) |
| CCoeControl::CloseWindow() |
| CCoeControl::ComponentArrayExists()const |
| CCoeControl::ComponentControl(TInt)const |
| CCoeControl::Components() |
| CCoeControl::Components()const |
| CCoeControl::ControlContext()const |
| CCoeControl::ControlEnv()const |
| CCoeControl::CopyControlContextFrom(const CCoeControl *) |
| CCoeControl::CountComponentControls()const |
| CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &) |
| CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode) |
| CCoeControl::CreateWindowL() |
| CCoeControl::CreateWindowL(RWindowGroup *) |
| CCoeControl::CreateWindowL(RWindowTreeNode &) |
| CCoeControl::CreateWindowL(const CCoeControl *) |
| CCoeControl::CustomGc()const |
| CCoeControl::DeactivateGc()const |
| CCoeControl::DrawBackground(const TRect &)const |
| CCoeControl::DrawDeferred()const |
| CCoeControl::DrawForeground(const TRect &)const |
| CCoeControl::DrawNow()const |
| CCoeControl::DrawNow(const TRect &)const |
| CCoeControl::DrawableWindow()const |
| CCoeControl::EnableDragEvents() |
| CCoeControl::EnableReportControlStateChange(TBool) |
| CCoeControl::EnableWindowTransparency() |
| CCoeControl::FindBackground()const |
| CCoeControl::FindFontProvider()const |
| CCoeControl::FocusChanged(TDrawNow) |
| CCoeControl::GetColor(TInt,TRgb &)const |
| CCoeControl::GetColorUseListL(CArrayFix< TCoeColorUse > &)const |
| CCoeControl::GetGc()const |
| CCoeControl::GetHelpContext(TCoeHelpContext &)const |
| CCoeControl::GrabbingComponent()const |
| CCoeControl::GrabbingComponent(TInt)const |
| CCoeControl::HandleComponentControlsResourceChange(TInt) |
| CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt) |
| CCoeControl::HandlePointerBufferReadyL() |
| CCoeControl::HandleRedrawEvent(const TRect &)const |
| CCoeControl::HasBorder()const |
| CCoeControl::HitTest()const |
| CCoeControl::IgnoreEventsUntilNextPointerUp() |
| CCoeControl::Index(const CCoeControl *)const |
| CCoeControl::InitComponentArrayL() |
| CCoeControl::InputCapabilities()const |
| CCoeControl::IsActivated()const |
| CCoeControl::IsBackedUp()const |
| CCoeControl::IsBeingDestroyed()const |
| CCoeControl::IsBlank()const |
| CCoeControl::IsDimmed()const |
| CCoeControl::IsFocused()const |
| CCoeControl::IsNonFocusing()const |
| CCoeControl::IsReadyToDraw()const |
| CCoeControl::IsVisible()const |
| CCoeControl::LayoutManager()const |
| CCoeControl::MakeVisible(TBool) |
| CCoeControl::MaximumWidth()const |
| CCoeControl::MopSupplyObject(TTypeUid) |
| CCoeControl::NotifyFontChange(const CCoeFontProvider *) |
| CCoeControl::Observer()const |
| CCoeControl::OverrideColorL(TInt,TRgb) |
| CCoeControl::OwnsWindow()const |
| CCoeControl::Parent() |
| CCoeControl::Parent()const |
| CCoeControl::Position()const |
| CCoeControl::PositionChanged() |
| CCoeControl::PositionRelativeToScreen()const |
| CCoeControl::PrepareForFocusGainL() |
| CCoeControl::PrepareForFocusLossL() |
| CCoeControl::ProcessPointerBufferReadyL() |
| CCoeControl::ProcessPointerEventL(const TPointerEvent &) |
| CCoeControl::Rect()const |
| CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const |
| CCoeControl::RecursivelyMergedInputCapabilities()const |
| CCoeControl::RefetchPixelMappingL() |
| CCoeControl::RemoveFromParent() |
| CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent) |
| CCoeControl::RequestRelayout(const CCoeControl *) |
| CCoeControl::ResetGc()const |
| CCoeControl::ScreenFont(const TCoeFont &)const |
| CCoeControl::SetAdjacent(TInt) |
| CCoeControl::SetAllowStrayPointers() |
| CCoeControl::SetBackground(const MCoeControlBackground *) |
| CCoeControl::SetBlank() |
| CCoeControl::SetCanDrawOutsideRect() |
| CCoeControl::SetComponentsToInheritVisibility(TBool) |
| CCoeControl::SetContainerWindowL(RBackedUpWindow &) |
| CCoeControl::SetContainerWindowL(RWindow &) |
| CCoeControl::SetContainerWindowL(const CCoeControl &) |
| CCoeControl::SetControlContext(MCoeControlContext *) |
| CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &) |
| CCoeControl::SetCustomGc(CWindowGc *) |
| CCoeControl::SetDimmed(TBool) |
| CCoeControl::SetExtent(const TPoint &,const TSize &) |
| CCoeControl::SetExtentToWholeScreen() |
| CCoeControl::SetFocus(TBool,TDrawNow) |
| CCoeControl::SetFocusing(TBool) |
| CCoeControl::SetFontProviderL(const CCoeFontProvider &) |
| CCoeControl::SetGc(CWindowGc *)const |
| CCoeControl::SetGloballyCapturing(TBool) |
| CCoeControl::SetHitTest(const MCoeControlHitTest *) |
| CCoeControl::SetLayoutManagerL(MCoeLayoutManager *) |
| CCoeControl::SetMaximumWidth(TInt) |
| CCoeControl::SetMopParent(MObjectProvider *) |
| CCoeControl::SetNeighbor(CCoeControl *) |
| CCoeControl::SetNonFocusing() |
| CCoeControl::SetObserver(MCoeControlObserver *) |
| CCoeControl::SetParent(CCoeControl *) |
| CCoeControl::SetPointerCapture(TBool) |
| CCoeControl::SetPosition(const TPoint &) |
| CCoeControl::SetRect(const TRect &) |
| CCoeControl::SetSize(const TSize &) |
| CCoeControl::SetSizeWithoutNotification(const TSize &) |
| CCoeControl::SetTextBaselineSpacing(TInt) |
| CCoeControl::SetUniqueHandle(TInt) |
| CCoeControl::SetZoomFactorL(TInt,TZoomType) |
| CCoeControl::Size()const |
| CCoeControl::SystemGc()const |
| CCoeControl::TextBaselineOffset(const TSize &)const |
| CCoeControl::TextDrawer(TInt)const |
| CCoeControl::UniqueHandle()const |
| CCoeControl::Window()const |
| CCoeControl::WriteInternalStateL(RWriteStream &)const |
| CCoeControl::WriteInternalStateNowL(RWriteStream &)const |
| CCoeControl::ZoomWithType()const |
| CCoeControl::operator=(const CCoeControl &) |
| CCoeControl::~CCoeControl() |
Detailed Description
Used for controlling the volume setting on the phone.
Constructor & Destructor Documentation
CAknVolumeControl ( )
IMPORT_C | CAknVolumeControl | ( | ) | |
~CAknVolumeControl ( )
IMPORT_C | ~CAknVolumeControl | ( | ) | |
Member Function Documentation
ConstructFromResourceL ( TResourceReader & )
Parameter | Description | aReader | Resource reader reading the wanted resource set. |
CreateBitmapL ( TInt )
Creates volume bitmap to "list pane for setting item" (setting option item volume graphic). Ownership of the returned bitmap is transfered to the caller.
Parameter | Description | aValue | Current value (1-10) |
Returns: Volume bitmap. Ownership of the bitmap is transfered to the caller.
CreateSetDynRangeStyleListBoxIconL ( TInt, TInt, TInt )
IMPORT_C CGulIcon * | CreateSetDynRangeStyleListBoxIconL | ( | TInt | aValue, |
| TInt | aMinimum, |
| TInt | aMaximum |
| ) | [static] |
Creates Hi-res volume icon to "list pane for setting item" (setting option item volume graphic). Ownership of the returned icon is transfered to the caller.
Parameter | Description | aValue | Current value (1-10) |
aMinimum | Minimum for Hi-res volume control |
aMaximum | Maximum for Hi-res volume control |
Returns: Volume icon. Ownership of the icon is transfered to the caller.
CreateSetStyleListBoxIconL ( TInt )
IMPORT_C CGulIcon * | CreateSetStyleListBoxIconL | ( | TInt | aValue | ) | [static] |
Creates general volume icon to "list pane for setting item" (setting option item volume graphic). Ownership of the returned icon is transfered to the caller.
Parameter | Description | aValue | Current value (1-10) |
Returns: Volume icon. Ownership of the icon is transfered to the caller.
Draw ( const TRect & )
void | Draw | ( | const TRect & | aRect | ) | const [protected, virtual] |
From CCoeControl.
Draws every visible item into the specified rectangle.
Parameter | Description | aRect | the specified rectangle. |
GetRange ( TInt &, TInt & )
IMPORT_C void | GetRange | ( | TInt & | aMinimumValue, |
| TInt & | aMaximumValue |
| ) | |
Gets the range of the volume control.
- Since
- 3.2
Parameter | Description | aMinimumValue | The minimum value of the volume control |
aMaximumValue | The maximum value of the volume control |
HandleNaviDecoratorEventL ( TInt )
IMPORT_C void | HandleNaviDecoratorEventL | ( | TInt | aEventID | ) | |
Parameter | Description | aEventID | ID of event to be handled |
HandleNaviStackChange ( TBool )
void | HandleNaviStackChange | ( | TBool | aIsOnNaviStack | ) | |
Informs the volume control about whether or not it's placed on the navi pane's control stack
Parameter | Description | aIsOnNaviStack | ETrue if the control is on the navi stack, EFalse otherwise. |
HandlePointerEventL ( const TPointerEvent & )
IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
Parameter | Description | aPointerEvent | Pointer event to be handled |
HandleResourceChange ( TInt )
IMPORT_C void | HandleResourceChange | ( | TInt | aType | ) | [virtual] |
From CCoeControl.
Handles the change of CAknVolumeControl's resources.
Parameter | Description | aType | Type of resource to change |
MinimumSize ( )
TSize
| MinimumSize | ( | ) | [virtual] |
From CCoeControl.
Gets minimun size of layout rectangle.
Returns: Minimum layout rectangle size.
OfferKeyEventL ( const TKeyEvent &, TEventCode )
Parameter | Description | aKeyEvent | Key event to be handled. |
aType | Type of the event. |
Returns: Returns EKeyConsumed if key event was handled.
SetRange ( TInt, TInt )
IMPORT_C void | SetRange | ( | TInt | aMinimumValue, |
| TInt | aMaximumValue |
| ) | |
Sets the range of the volume control. Maximum value must be greater than the minimum value, or the method will Panic.
- Since
- 3.2
-
Exceptions:
- Will panic with EAknPanicInvalidValue if the minimum value is greater or equal than maximum value.
Parameter | Description | aMinimumValue | The minimum value of the volume control |
aMaximumValue | The maximum value of the volume control |
SetValue ( TInt )
IMPORT_C void | SetValue | ( | TInt | aValue | ) | |
Parameter | Description | aValue | The new volume. |
SizeChanged ( )
void | SizeChanged | ( | ) | [protected, virtual] |
SuppressDrawing ( TBool )
void | SuppressDrawing | ( | TBool | aSuppress | ) | |
Value ( )
IMPORT_C TInt | Value | ( | ) | const |
Returns: The volume setting.