CAknFepCtrlRepeatButton Class Reference

class CAknFepCtrlRepeatButton : public CAknFepCtrlEventButton

CAknFepCtrlRepeatButton

fepcommonctrls.lib
Since
S60 v3.2
Public Member Functions
~CAknFepCtrlRepeatButton()
IMPORT_C voidCancelRepeat()
IMPORT_C voidHandleTimerOut(const CAknFepTimer *)
IMPORT_C CAknFepCtrlRepeatButton *NewL(CFepUiLayout *, TInt, TInt, TInt, TAknsItemID, TAknsItemID, TAknsItemID)
IMPORT_C CAknFepCtrlRepeatButton *NewLC(CFepUiLayout *, TInt, TInt, TInt, TAknsItemID, TAknsItemID, TAknsItemID)
IMPORT_C voidSetRepeatInterval(const TTimeIntervalMicroSeconds32 &)
Protected Member Functions
CAknFepCtrlRepeatButton(CFepUiLayout *, TInt, TInt, TInt, TAknsItemID, TAknsItemID, TAknsItemID)
IMPORT_C voidCancelPointerDownL()
IMPORT_C voidConstructL()
IMPORT_C CFepUiBaseCtrl *HandlePointerDownEventL(const TPoint &)
IMPORT_C voidHandlePointerLeave(const TPoint &)
IMPORT_C CFepUiBaseCtrl *HandlePointerUpEventL(const TPoint &)
Inherited Functions
CAknFepCtrlCommonButton::CAknFepCtrlCommonButton(CFepUiLayout *,TInt,TAknsItemID,TAknsItemID,TAknsItemID)
CAknFepCtrlCommonButton::ConstructFromResourceL()
CAknFepCtrlCommonButton::ConstructFromResourceL(TResourceReader &)
CAknFepCtrlCommonButton::CreateDimmedMaskL(CFbsBitmap *&,const CFbsBitmap *)
CAknFepCtrlCommonButton::DeleteForgroundRes()
CAknFepCtrlCommonButton::ForgroundBmp()
CAknFepCtrlCommonButton::ForgroundBmpMask()
CAknFepCtrlCommonButton::ForgroundBmpRect()const
CAknFepCtrlCommonButton::HandlePointerEnter(const TPoint &)
CAknFepCtrlCommonButton::Move(const TPoint &)
CAknFepCtrlCommonButton::NewL(CFepUiLayout *,TInt,TAknsItemID,TAknsItemID,TAknsItemID)
CAknFepCtrlCommonButton::NewLC(CFepUiLayout *,TInt,TAknsItemID,TAknsItemID,TAknsItemID)
CAknFepCtrlCommonButton::ResizeBitmaps(TSize)
CAknFepCtrlCommonButton::Set3PiecesColorIcons(CPenInput3PiecesColorIcons *)
CAknFepCtrlCommonButton::SetActive(TBool)
CAknFepCtrlCommonButton::SetDraw3PieceFrameInfo(TDraw3PiecesFrame)
CAknFepCtrlCommonButton::SetForegroundBmpL(CFbsBitmap *,CFbsBitmap *)
CAknFepCtrlCommonButton::SetForgroundBmpRect(const TRect &)
CAknFepCtrlCommonButton::SetHighlight(TBool)
CAknFepCtrlCommonButton::SetImageFrameId(TAknsItemID,TAknsItemID,TAknsItemID)
CAknFepCtrlCommonButton::SetTextColorIndex(TInt)
CAknFepCtrlCommonButton::SetTextFormat(TAknTextLineLayout)
CAknFepCtrlCommonButton::SetTextL(const TDesC &)
CAknFepCtrlCommonButton::SizeChanged(TRect,TRect,TBool)
CAknFepCtrlCommonButton::TextColorIndex()const
CAknFepCtrlCommonButton::~CAknFepCtrlCommonButton()
CAknFepCtrlEventButton::CAknFepCtrlEventButton(CFepUiLayout *,TInt,TInt,TInt,TAknsItemID,TAknsItemID,TAknsItemID)
CAknFepCtrlEventButton::DisplayText()
CAknFepCtrlEventButton::Draw()
CAknFepCtrlEventButton::Event()const
CAknFepCtrlEventButton::SetEvent(TInt)
CAknFepCtrlEventButton::SetFont(const CFont *)
CAknFepCtrlEventButton::SetFontColor(const TRgb)
CAknFepCtrlEventButton::SetShadowFont(const CFont *)
CAknFepCtrlEventButton::SetShadowFontColor(const TRgb)
CAknFepCtrlEventButton::SetText(const TDesC &)
CAknFepCtrlEventButton::SetUnicode(TInt)
CAknFepCtrlEventButton::Unicode()const
CAknFepCtrlEventButton::~CAknFepCtrlEventButton()
CBase::CBase()
CBase::Delete(CBase *)
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()
CButtonBase::BaseConstructL()
CButtonBase::Bitmap(TButtonBmpType,TBool)
CButtonBase::BmpStretchable()
CButtonBase::CButtonBase(const TRect &,CFepUiLayout *,TInt)
CButtonBase::HandlePointerMoveEventL(const TPoint &)
CButtonBase::Hide(TBool)
CButtonBase::IsDimmed()
CButtonBase::NewL(const TRect &,CFepUiLayout *,TInt)
CButtonBase::ResetBmpPool()
CButtonBase::SetBackgroundBitmapL(CFbsBitmap *)
CButtonBase::SetBackgroundMaskBitmapL(CFbsBitmap *)
CButtonBase::SetBitmapL(CFbsBitmap *,TButtonBmpType)
CButtonBase::SetBmpStretchable(TBool)
CButtonBase::SetCaptionColor(const TRgb &)
CButtonBase::SetCaptionL(const TDesC &)
CButtonBase::SetCaptionShadowColor(const TRgb &)
CButtonBase::SetDimmed(TBool)
CButtonBase::SetFont(const TFontSpec &)
CButtonBase::SetMaskBitmapL(CFbsBitmap *,TButtonBmpType)
CButtonBase::~CButtonBase()
CFepUiBaseCtrl::AbleToDraw()
CFepUiBaseCtrl::AbsOrderPos()
CFepUiBaseCtrl::ActiveExtResponseArea()
CFepUiBaseCtrl::AddEventObserver(MEventObserver *)
CFepUiBaseCtrl::AllowOverlap()
CFepUiBaseCtrl::BackgroundBmp()
CFepUiBaseCtrl::BaseConstructL(CFepUiLayoutRootCtrl *)
CFepUiBaseCtrl::BitGc()
CFepUiBaseCtrl::BitmapDevice()
CFepUiBaseCtrl::BkColor()
CFepUiBaseCtrl::BkMaskBmp()
CFepUiBaseCtrl::BorderColor()
CFepUiBaseCtrl::BorderSize()
CFepUiBaseCtrl::BringToBack()
CFepUiBaseCtrl::BringToTop()
CFepUiBaseCtrl::CFepUiBaseCtrl(CCoeControl *,CFepUiLayout *,TBool)
CFepUiBaseCtrl::CFepUiBaseCtrl(const TRect &,CFepUiLayout *,TInt)
CFepUiBaseCtrl::CancelExtResponseArea()
CFepUiBaseCtrl::CapturePointer(TBool)
CFepUiBaseCtrl::Clear()
CFepUiBaseCtrl::ClearRect(const TRect &)
CFepUiBaseCtrl::CompareOrder(CFepUiBaseCtrl *)
CFepUiBaseCtrl::CompareOrderInSameGroup(CFepUiBaseCtrl *)
CFepUiBaseCtrl::Contains(const TPoint &)
CFepUiBaseCtrl::ControlId()
CFepUiBaseCtrl::ControlType()
CFepUiBaseCtrl::CreateOwnDeviceL(CFbsBitmap *,CFbsBitmap *)
CFepUiBaseCtrl::DisableRegionUpdating()
CFepUiBaseCtrl::DrawBackground(TBool)
CFepUiBaseCtrl::DrawBackground(const TRect,TBool)
CFepUiBaseCtrl::DrawBackgroundToDevice(TRect,CFbsDevice *,CFbsBitmap *,const TRgb &,const TRgb &,TBool)
CFepUiBaseCtrl::DrawBitmap(const CFbsBitmap *,TBool)
CFepUiBaseCtrl::DrawBitmap(const TRect,const CFbsBitmap *,TBool)
CFepUiBaseCtrl::DrawMaskBackground(TBool)
CFepUiBaseCtrl::DrawOpaqueMaskBackground(TBool)
CFepUiBaseCtrl::DrawOpaqueMaskBackground(const TRect,TBool)
CFepUiBaseCtrl::DrawShadow()
CFepUiBaseCtrl::DrawTransparentMaskBackground(const TRect &,TBool)
CFepUiBaseCtrl::EnableExtResponseArea(TBool,const TRect &)
CFepUiBaseCtrl::EnableRegionUpdating()
CFepUiBaseCtrl::Extension_(TUint,TAny *&,TAny *)
CFepUiBaseCtrl::GraphicDeviceSizeChanged()
CFepUiBaseCtrl::HandlePositionChange(const TPoint &)
CFepUiBaseCtrl::HandleResourceChange(TInt)
CFepUiBaseCtrl::Hiden()
CFepUiBaseCtrl::IsActive()
CFepUiBaseCtrl::IsFepBaseControl()
CFepUiBaseCtrl::IsKindOfControl(TStockBaseCtrlType)
CFepUiBaseCtrl::IsOnTopOf(CFepUiBaseCtrl *)
CFepUiBaseCtrl::MaskBitmapDevice()
CFepUiBaseCtrl::MaskBkCol()
CFepUiBaseCtrl::MovingArea()
CFepUiBaseCtrl::NONSHARABLE_CLASS(CFepUiBaseCtrlExtension)
CFepUiBaseCtrl::OnActivate()
CFepUiBaseCtrl::OnDeActivate()
CFepUiBaseCtrl::OnLayoutDraggingEnd()
CFepUiBaseCtrl::OnLayoutDraggingStart()
CFepUiBaseCtrl::OrderPos()const
CFepUiBaseCtrl::Overlapped(CFepUiBaseCtrl *)
CFepUiBaseCtrl::ParentCtrl()
CFepUiBaseCtrl::PenColor()
CFepUiBaseCtrl::PenSize()
CFepUiBaseCtrl::PointerDown()
CFepUiBaseCtrl::ReDrawRect(const TRect &)
CFepUiBaseCtrl::Ready()
CFepUiBaseCtrl::Rect()
CFepUiBaseCtrl::Region()
CFepUiBaseCtrl::RemoveEventObserver(MEventObserver *)
CFepUiBaseCtrl::ReportEvent(TInt,const TDesC &)
CFepUiBaseCtrl::RequireRegionUpdateL(TBool)
CFepUiBaseCtrl::ResizeDeviceL()
CFepUiBaseCtrl::ResourceId()
CFepUiBaseCtrl::RootControl()
CFepUiBaseCtrl::SetAllowOverlap(TBool)
CFepUiBaseCtrl::SetBackgroundBmp(CFbsBitmap *)
CFepUiBaseCtrl::SetBackgroundMaskBmp(CFbsBitmap *)
CFepUiBaseCtrl::SetBkColor(const TRgb &)
CFepUiBaseCtrl::SetBorderColor(const TRgb &)
CFepUiBaseCtrl::SetBorderSize(const TSize &)
CFepUiBaseCtrl::SetControlType(TControlType)
CFepUiBaseCtrl::SetHidenFlag(TBool)
CFepUiBaseCtrl::SetMaskBkCol(const TRgb &)
CFepUiBaseCtrl::SetOrdinalPos(TInt)
CFepUiBaseCtrl::SetParent(CFepUiBaseCtrl *)
CFepUiBaseCtrl::SetPenColor(const TRgb &)
CFepUiBaseCtrl::SetPenSize(const TSize &)
CFepUiBaseCtrl::SetPointerDown(TBool)
CFepUiBaseCtrl::SetReady(TBool)
CFepUiBaseCtrl::SetRect(const TRect &)
CFepUiBaseCtrl::SetRegion(const RRegion &)
CFepUiBaseCtrl::SetResourceId(TInt32)
CFepUiBaseCtrl::SetShadowAreaRect(const TRect &,TShadowBitmapIndex)
CFepUiBaseCtrl::SetShadowBmp(CFbsBitmap *,CFbsBitmap *,TShadowBitmapIndex)
CFepUiBaseCtrl::SetShadowRect(const TRect &)
CFepUiBaseCtrl::SetTactileFeedbackType(TInt)
CFepUiBaseCtrl::ShadowAreaRect(TShadowBitmapIndex)
CFepUiBaseCtrl::ShadowRect()
CFepUiBaseCtrl::SimulateRawEvent(const TRawEvent &)
CFepUiBaseCtrl::TactileFeedbackType()const
CFepUiBaseCtrl::UiLayout()
CFepUiBaseCtrl::UpdateArea(const TRect &,TBool)
CFepUiBaseCtrl::UpdateAreaImmed(const TRect &,TBool)
CFepUiBaseCtrl::UpdateValidRegion(CFepUiBaseCtrl *,TBool)
CFepUiBaseCtrl::ValidClipRegion()
CFepUiBaseCtrl::WholeHiden()
CFepUiBaseCtrl::WndBasedControl()
CFepUiBaseCtrl::WndControl()
CFepUiBaseCtrl::~CFepUiBaseCtrl()
Inherited Enumerations
CFepUiBaseCtrl:TZOrder
Private Attributes
TTimeIntervalMicroSeconds32 iLongPressInterval
CAknFepTimer *iLongPressTimer
TTimeIntervalMicroSeconds32 iRepeatInterval
CAknFepTimer *iRepeatTimer
Inherited Attributes
CAknFepCtrlCommonButton::iFirstTimeConstruct
CAknFepCtrlCommonButton::iHighlight
CAknFepCtrlCommonButton::iPressed
CButtonBase::iActiveBmp
CButtonBase::iActiveBmpPressed
CButtonBase::iActiveMaskBmp
CButtonBase::iActiveMaskBmpPressed
CButtonBase::iNonActiveBkBmp
CButtonBase::iNonActiveBkBmpPressed
CButtonBase::iNonActiveBkMaskBmp
CButtonBase::iNonActiveBkMaskBmpPressed
CFepUiBaseCtrl::iBorderColor
CFepUiBaseCtrl::iBorderSize
CFepUiBaseCtrl::iClipRegion
CFepUiBaseCtrl::iParentCtrl
CFepUiBaseCtrl::iPointerLeft
CFepUiBaseCtrl::iRect
CFepUiBaseCtrl::iResourceId
CFepUiBaseCtrl::iShadowAreaRect
CFepUiBaseCtrl::iShadowRect
CFepUiBaseCtrl::iUpdateFlagEnabled
CFepUiBaseCtrl::iValidRegion
CFepUiBaseCtrl::iWndControl

Constructor & Destructor Documentation

CAknFepCtrlRepeatButton(CFepUiLayout *, TInt, TInt, TInt, TAknsItemID, TAknsItemID, TAknsItemID)

IMPORT_CCAknFepCtrlRepeatButton(CFepUiLayout *aUiLayout,
TIntaCtrlId,
TIntaEvent,
TIntaUnicode,
TAknsItemIDaNormalID =  KAknsIIDQsnFrFunctionButtonNormal ,
TAknsItemIDaPressedID =  KAknsIIDQsnFrFunctionButtonPressed ,
TAknsItemIDaInactiveID =  KAknsIIDQsnFrFunctionButtonInactive
)[protected]

C++ constructor.

Since
S60 v3.2

Parameters

CFepUiLayout * aUiLayoutUi Layout who contains this control
TInt aCtrlIdControl Id
TInt aEventAn event to be repeatedly sent
TInt aUnicodeA Unicode value to be repeatedly sent
TAknsItemID aNormalID =  KAknsIIDQsnFrFunctionButtonNormal
TAknsItemID aPressedID =  KAknsIIDQsnFrFunctionButtonPressed
TAknsItemID aInactiveID =  KAknsIIDQsnFrFunctionButtonInactive

~CAknFepCtrlRepeatButton()

IMPORT_C~CAknFepCtrlRepeatButton()[virtual]

destructor.

Since
S60 v3.2

Member Functions Documentation

CancelPointerDownL()

IMPORT_C voidCancelPointerDownL()[protected, virtual]

Cancel pointer down state

Since
S60 v3.2

CancelRepeat()

IMPORT_C voidCancelRepeat()

Cancel key sending

Since
S60 v3.2

ConstructL()

IMPORT_C voidConstructL()[protected]

Symbian 2nd phase constructor.

HandlePointerDownEventL(const TPoint &)

IMPORT_C CFepUiBaseCtrl *HandlePointerDownEventL(const TPoint &aPt)[protected, virtual]

From CButtonBase Handle button down event. start long press timer

Since
S60 v3.2

Parameters

const TPoint & aPtPoint position

HandlePointerLeave(const TPoint &)

IMPORT_C voidHandlePointerLeave(const TPoint &aPoint)[protected, virtual]

From CButtonBase Handle pointer levae event.

Since
S60 v3.2

Parameters

const TPoint & aPointcurrent pointer position

HandlePointerUpEventL(const TPoint &)

IMPORT_C CFepUiBaseCtrl *HandlePointerUpEventL(const TPoint &aPt)[protected, virtual]

From CButtonBase Handle button up event. cancel all timers

Since
S60 v3.2

Parameters

const TPoint & aPtPoint position

HandleTimerOut(const CAknFepTimer *)

IMPORT_C voidHandleTimerOut(const CAknFepTimer *aTimer)

from MAknFepHwrTimerHandler HandleTimerOut. Handling time out event

Since
S60 v3.2

Parameters

const CAknFepTimer * aTimerThe timer which sending the request

NewL(CFepUiLayout *, TInt, TInt, TInt, TAknsItemID, TAknsItemID, TAknsItemID)

IMPORT_C CAknFepCtrlRepeatButton *NewL(CFepUiLayout *aUiLayout,
TIntaControlId,
TIntaEvent = 0xFFFF,
TIntaUnicode = 0,
TAknsItemIDaNormalID =  KAknsIIDQsnFrFunctionButtonNormal ,
TAknsItemIDaPressedID =  KAknsIIDQsnFrFunctionButtonPressed ,
TAknsItemIDaInactiveID =  KAknsIIDQsnFrFunctionButtonInactive
)[static]

Symbian constructor.

Since
S60 v3.2

Parameters

CFepUiLayout * aUiLayoutThe layout
TInt aControlIdThe control id
TInt aEvent = 0xFFFFAn event to be repeatedly sent
TInt aUnicode = 0A Unicode value to be repeatedly sent
TAknsItemID aNormalID =  KAknsIIDQsnFrFunctionButtonNormal
TAknsItemID aPressedID =  KAknsIIDQsnFrFunctionButtonPressed
TAknsItemID aInactiveID =  KAknsIIDQsnFrFunctionButtonInactive

NewLC(CFepUiLayout *, TInt, TInt, TInt, TAknsItemID, TAknsItemID, TAknsItemID)

IMPORT_C CAknFepCtrlRepeatButton *NewLC(CFepUiLayout *aUiLayout,
TIntaControlId,
TIntaEvent = 0xFFFF,
TIntaUnicode = 0,
TAknsItemIDaNormalID =  KAknsIIDQsnFrFunctionButtonNormal ,
TAknsItemIDaPressedID =  KAknsIIDQsnFrFunctionButtonPressed ,
TAknsItemIDaInactiveID =  KAknsIIDQsnFrFunctionButtonInactive
)[static]

Symbian constructor.

Since
S60 v3.2

Parameters

CFepUiLayout * aUiLayoutThe layout
TInt aControlIdThe control id
TInt aEvent = 0xFFFFAn event to be repeatedly sent
TInt aUnicode = 0A Unicode value to be repeatedly sent
TAknsItemID aNormalID =  KAknsIIDQsnFrFunctionButtonNormal
TAknsItemID aPressedID =  KAknsIIDQsnFrFunctionButtonPressed
TAknsItemID aInactiveID =  KAknsIIDQsnFrFunctionButtonInactive

SetRepeatInterval(const TTimeIntervalMicroSeconds32 &)

IMPORT_C voidSetRepeatInterval(const TTimeIntervalMicroSeconds32 &aTime)

Set the repeat interval.

Since
S60 v3.2

Parameters

const TTimeIntervalMicroSeconds32 & aTimeInterval in ms.

Member Data Documentation

TTimeIntervalMicroSeconds32 iLongPressInterval

TTimeIntervalMicroSeconds32 iLongPressInterval[private]

interval of long press

CAknFepTimer * iLongPressTimer

CAknFepTimer *iLongPressTimer[private]

long press timer (Own)

TTimeIntervalMicroSeconds32 iRepeatInterval

TTimeIntervalMicroSeconds32 iRepeatInterval[private]

interval of repeat

CAknFepTimer * iRepeatTimer

CAknFepTimer *iRepeatTimer[private]

repeat timer (Own)