CAknFepCtrlEventButton Class Reference
| class CAknFepCtrlEventButton : public CAknFepCtrlCommonButton |
Basic functionality for graphic buttons It provides creation from resource and can react according to SizeChanged Msg
fepcommonctrls.lib
- Since
- S60 v3.2
| Public Member Functions |
|---|
| ~CAknFepCtrlEventButton() |
| IMPORT_C void | Draw() |
| IMPORT_C TInt | Event() |
| IMPORT_C CFepUiBaseCtrl * | HandlePointerUpEventL(const TPoint &) |
| IMPORT_C CAknFepCtrlEventButton * | NewL(CFepUiLayout *, TInt, TInt, TInt, TAknsItemID, TAknsItemID, TAknsItemID) |
| IMPORT_C CAknFepCtrlEventButton * | NewLC(CFepUiLayout *, TInt, TInt, TInt, TAknsItemID, TAknsItemID, TAknsItemID) |
| IMPORT_C void | SetEvent(TInt) |
| IMPORT_C void | SetFont(const CFont *) |
| IMPORT_C void | SetFontColor(const TRgb) |
| IMPORT_C void | SetShadowFont(const CFont *) |
| IMPORT_C void | SetShadowFontColor(const TRgb) |
| IMPORT_C void | SetText(const TDesC &) |
| IMPORT_C void | SetUnicode(TInt) |
| IMPORT_C TInt | Unicode() |
| Inherited Functions |
|---|
| | CAknFepCtrlCommonButton::CAknFepCtrlCommonButton(CFepUiLayout *,TInt,TAknsItemID,TAknsItemID,TAknsItemID) |
| | CAknFepCtrlCommonButton::CancelPointerDownL() |
| | CAknFepCtrlCommonButton::ConstructFromResourceL() |
| | CAknFepCtrlCommonButton::ConstructFromResourceL(TResourceReader &) |
| | CAknFepCtrlCommonButton::CreateDimmedMaskL(CFbsBitmap *&,const CFbsBitmap *) |
| | CAknFepCtrlCommonButton::DeleteForgroundRes() |
| | CAknFepCtrlCommonButton::ForgroundBmp() |
| | CAknFepCtrlCommonButton::ForgroundBmpMask() |
| | CAknFepCtrlCommonButton::ForgroundBmpRect()const |
| | CAknFepCtrlCommonButton::HandlePointerDownEventL(const TPoint &) |
| | CAknFepCtrlCommonButton::HandlePointerEnter(const TPoint &) |
| | CAknFepCtrlCommonButton::HandlePointerLeave(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() |
| | 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() |
Constructor & Destructor Documentation
CAknFepCtrlEventButton(CFepUiLayout *, TInt, TInt, TInt, TAknsItemID, TAknsItemID, TAknsItemID)
~CAknFepCtrlEventButton()
| IMPORT_C | ~CAknFepCtrlEventButton | ( | ) | [virtual] |
Member Functions Documentation
DisplayText()
| IMPORT_C void | DisplayText | ( | ) | [protected] |
Draw()
| IMPORT_C void | Draw | ( | ) | [virtual] |
Event()
| IMPORT_C TInt | Event | ( | ) | const |
This function gets the current Event Id
HandlePointerUpEventL(const TPoint &)
From CButtonBase Handle button up event. cancel all timers
Parameters
| const TPoint & aPoint | Point position |
NewL(CFepUiLayout *, TInt, TInt, TInt, TAknsItemID, TAknsItemID, TAknsItemID)
NewLC(CFepUiLayout *, TInt, TInt, TInt, TAknsItemID, TAknsItemID, TAknsItemID)
SetEvent(TInt)
| IMPORT_C void | SetEvent | ( | TInt | aEvent | ) | |
This function sets the Event Id sent by this button
Parameters
| TInt aEvent | An event Id to be sent |
SetFont(const CFont *)
| IMPORT_C void | SetFont | ( | const CFont * | aFont | ) | |
This function set the font used to draw the text
Parameters
| const CFont * aFont | the font |
SetFontColor(const TRgb)
| IMPORT_C void | SetFontColor | ( | const TRgb | aColor | ) | |
This function set the font color used to draw the text
Parameters
| const TRgb aColor | the font color |
SetShadowFont(const CFont *)
| IMPORT_C void | SetShadowFont | ( | const CFont * | aFont | ) | |
This function set the shadow font used to draw the text
Parameters
| const CFont * aFont | the shadow font |
SetShadowFontColor(const TRgb)
| IMPORT_C void | SetShadowFontColor | ( | const TRgb | aColor | ) | |
This function set the shadow font color used to draw the text
Parameters
| const TRgb aColor | the shadow font color |
SetText(const TDesC &)
| IMPORT_C void | SetText | ( | const TDesC & | aText | ) | |
This function sets the text written on the button
Parameters
| const TDesC & aText | the text will be shown |
SetUnicode(TInt)
| IMPORT_C void | SetUnicode | ( | TInt | aUnicode | ) | |
This function sets the Unicode value sent by this button
Parameters
| TInt aUnicode | A Unicode value to be sent |
Unicode()
| IMPORT_C TInt | Unicode | ( | ) | const |
This function gets the current Unicode value
Member Data Documentation
const CFont * iFont
| const CFont * | iFont | [private] |
the font used to show the text
TRgb
iFontColor
the font color used to show the text
const CFont * iShadowFont
| const CFont * | iShadowFont | [private] |
the shadow font used to show the text
TRgb
iShadowFontColor
|
TRgb
| iShadowFontColor | [private] |
the shadow font color used to show the text
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.