CHgGrid Class Reference
class CHgGrid : public CHgScroller
|
Inherited Functions
|
|
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::CapturesPointer()const
|
|
CCoeControl::ClaimPointerGrab(TBool)
|
|
CCoeControl::ClaimPointerGrab(TInt,TBool)
|
|
CCoeControl::CloseWindow()
|
|
CCoeControl::ComponentArrayExists()const
|
|
CCoeControl::ComponentControl(TInt)const
|
|
CCoeControl::Components()
|
|
CCoeControl::Components()const
|
|
CCoeControl::ConstructFromResourceL(TResourceReader &)
|
|
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::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::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::MinimumSize()
|
|
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()
|
|
CHgScroller::AddItem(CHgItem *)
|
|
CHgScroller::CHgScroller(TInt,CGulIcon *)
|
|
CHgScroller::ClearFlags(TInt)
|
|
CHgScroller::CollectionExtension(TUint,TAny *&,TAny *)
|
|
CHgScroller::CollectionState()const
|
|
CHgScroller::DisableScrollBuffer()
|
|
CHgScroller::Draw(const TRect &)const
|
|
CHgScroller::EnableScrollBufferL(MHgScrollBufferObserver &,TInt,TInt)
|
|
CHgScroller::FirstIndexOnScreen()
|
|
CHgScroller::FitRowToView(TInt)
|
|
CHgScroller::Flags()
|
|
CHgScroller::FocusChanged(TDrawNow)
|
|
CHgScroller::GetMarkedItemsL(RArray< TInt > &)
|
|
CHgScroller::HandleLongTapEventL(const TPoint &,const TPoint &)
|
|
CHgScroller::HandlePointerEventL(const TPointerEvent &)
|
|
CHgScroller::HandleResourceChange(TInt)
|
|
CHgScroller::HandleViewPositionChanged(TBool)
|
|
CHgScroller::HasHighlight()const
|
|
CHgScroller::HightlightItem(const TDesC &)
|
|
CHgScroller::InitDrawBuffer()const
|
|
CHgScroller::InitPhysicsL()
|
|
CHgScroller::InitScreenL(const TRect &)
|
|
CHgScroller::InitScreenL(const TRect &,RWsSession &)
|
|
CHgScroller::InputCapabilities()const
|
|
CHgScroller::InsertItem(CHgItem *,TInt)
|
|
CHgScroller::ItemActionMenuClosed()
|
|
CHgScroller::ItemCount()const
|
|
CHgScroller::ItemL(TInt)
|
|
CHgScroller::ItemsOnScreen()
|
|
CHgScroller::Mark(TInt)
|
|
CHgScroller::MarkAll()
|
|
CHgScroller::MarqueeCallback(TAny *)
|
|
CHgScroller::OfferKeyEventL(const TKeyEvent &,TEventCode)
|
|
CHgScroller::PhysicEmulationEnded()
|
|
CHgScroller::RefreshScreen(TInt)
|
|
CHgScroller::RemoveItem(TInt)
|
|
CHgScroller::Reset()
|
|
CHgScroller::ResizeL(TInt)
|
|
CHgScroller::SelectedIndex()
|
|
CHgScroller::SelectionChanged()
|
|
CHgScroller::SelectionMode()const
|
|
CHgScroller::SetDefaultIconL(CGulIcon *)
|
|
CHgScroller::SetEmptyTextL(const TDesC &)
|
|
CHgScroller::SetFirstIndexOnScreen(TInt)
|
|
CHgScroller::SetFlags(TInt)
|
|
CHgScroller::SetItem(CHgItem *,TInt)
|
|
CHgScroller::SetMarkingObserver(MHgMarkingObserver &)
|
|
CHgScroller::SetMenuProviderL(MObjectProvider *)
|
|
CHgScroller::SetScrollBarTypeL(THgScrollBarType)
|
|
CHgScroller::SetSelectedIndex(TInt)
|
|
CHgScroller::SetSelectionMode(TSelectionMode)
|
|
CHgScroller::SetSelectionObserver(MHgSelectionObserver &)
|
|
CHgScroller::SizeChanged()
|
|
CHgScroller::UnMark(TInt)
|
|
CHgScroller::UnMarkAll()
|
|
CHgScroller::ViewPosition()const
|
|
CHgScroller::ViewPositionChanged(const TPoint &,TBool,TUint)
|
|
CHgScroller::~CHgScroller()
|
Constructor & Destructor Documentation
CHgGrid(TInt, CGulIcon *)
CHgGrid
|
(
|
TInt
|
aItemCount,
|
|
CGulIcon
*
|
aDefaultIcon
|
|
)
|
[private]
|
~CHgGrid()
IMPORT_C
|
~CHgGrid
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CalculateSizes()
void
|
CalculateSizes
|
(
|
)
|
[private]
|
ChangeSelectedIndex(TInt)
void
|
ChangeSelectedIndex
|
(
|
TInt
|
aMove
|
)
|
[private]
|
ConstructL(const TRect &, RWsSession *)
Usage:
#include <featdiscovery.h>
#include <featureinfo.h> // for feature definitions
// replace <featureUIDx> with a real UID )
// If querying only one feature, it is more efficient to use the class
// via the static method, IsFeatureSupportedL().
// When querying more than one feature, it is more efficient to use the
// class by creating an instance and calling the IsSupported() method.
// Static way of using the class:
TBool isSupported = CFeatureDiscovery::IsFeatureSupportedL(<featureUIDx>);
// Dynamic way of using the class using NewL():
// Call NewL() to create an instance of CFeatureDiscovery.
CFeatureDiscovery* testA = CFeatureDiscovery::NewL();
// Call the exported IsSupported() method to query whether features
// are supported in the current environment or not.
TBool usbSupported = testA->IsSupported(<featureUIDx>);
TBool mmcSupported = testA->IsSupported(<featureUIDx>);
// Delete the created instance of CFeatureDiscovery.
delete testA;
// Dynamic way of using the class using NewLC():
// Call NewLC() to create an instance of CFeatureDiscovery.
// The method leaves the instance of the object on the cleanup stack.
CFeatureDiscovery* testB = CFeatureDiscovery::NewLC();
// Call the exported IsSupported() method to query whether features
// are supported in the current environment or not.
TBool wcdmaSupported = testB->IsSupported(<featureUIDx>);
TBool gsmSupported = testB->IsSupported(<featureUIDx>);
// Dynamic way of using multiple feature query. This is preferred
// way to fetch support statuses if there are several features to be
// queried, because it involves less inter-process communication.
TFeatureSet featset;
User::LeaveIfError( featset.Append( <featureUIDx> ) );
User::LeaveIfError( featset.Append( <featureUIDx> ) );
TInt err = testB->FeaturesSupported( featset );
if(!err)
{
TBool uid1Supported = featset.IsFeatureSupported(<featureUIDx>);
TBool uid2Supported = featset.IsFeatureSupported(<featureUIDx>);
// ... or whether all QUERIED features are supported
TBool allSupported = featset.AreAllFeaturesSupported();
}
// featset cleans array up in destructor on scope exit
// Pop and delete the created instance of CFeatureDiscovery.
CleanupStack::PopAndDestroy();
CurrentIndex()
TInt
|
CurrentIndex
|
(
|
)
|
[protected, virtual]
|
DoDraw(const TRect &)
void
|
DoDraw
|
(
|
const
TRect
&
|
aRect
|
)
|
const [protected, virtual]
|
DoHandleKeyEvent(const TKeyEvent &)
TBool
|
DoHandleKeyEvent
|
(
|
const
TKeyEvent
&
|
aEvent
|
)
|
[protected, virtual]
|
DrawCols(TInt, const TRect &, TInt)
void
|
DrawCols
|
(
|
TInt
|
aRow,
|
|
const
TRect
&
|
aRect,
|
|
TInt
|
aYPos
|
|
)
|
const [private]
|
DrawHighlight(const TRect &)
void
|
DrawHighlight
|
(
|
const
TRect
&
|
aOuterRect
|
)
|
const [private]
|
DrawItem(TInt, const TRect &)
void
|
DrawItem
|
(
|
TInt
|
aIndex,
|
|
const
TRect
&
|
aRect
|
|
)
|
const [private]
|
DrawRows(TInt, const TRect &, TInt)
void
|
DrawRows
|
(
|
TInt
|
aCol,
|
|
const
TRect
&
|
aRect,
|
|
TInt
|
aXPos
|
|
)
|
const [private]
|
FitSelectionToView()
void
|
FitSelectionToView
|
(
|
)
|
[protected, virtual]
|
FitTopItemToView(TInt)
void
|
FitTopItemToView
|
(
|
TInt
|
aIndex
|
)
|
[protected, virtual]
|
GetSelected(TPoint)
TInt
|
GetSelected
|
(
|
TPoint
|
aPosition
|
)
|
const [protected, virtual]
|
GridRect()
TRect
|
GridRect
|
(
|
)
|
const [private]
|
HandleDownArrow()
void
|
HandleDownArrow
|
(
|
)
|
[private]
|
HandleLeftArrow()
void
|
HandleLeftArrow
|
(
|
)
|
[private]
|
HandleRightArrow()
void
|
HandleRightArrow
|
(
|
)
|
[private]
|
HandleScrollbarVisibilityChange(TBool)
void
|
HandleScrollbarVisibilityChange
|
(
|
TBool
|
aVisible
|
)
|
[protected, virtual]
|
HandleSizeChanged()
void
|
HandleSizeChanged
|
(
|
)
|
[protected, virtual]
|
HandleUpArrow()
void
|
HandleUpArrow
|
(
|
)
|
[private]
|
InitItemsL()
void
|
InitItemsL
|
(
|
)
|
[protected, virtual]
|
IsDisplayed(TInt)
TBool
|
IsDisplayed
|
(
|
TInt
|
aIndex
|
)
|
[protected, virtual]
|
NewL(const TRect &, TInt, CGulIcon *, RWsSession *)
Parameters
const
TRect
& aRect
|
Rect that the control draws onto.
|
TInt
aItemCount
|
Total count of items in the grid
|
CGulIcon
* aDefaultIcon = NULL
|
Default icon to be used.
|
RWsSession
* aSession = NULL
|
Window server session for DSA. Default is NULL and DSA is disabled.
|
PreferredImageSize()
IMPORT_C
TSize
|
PreferredImageSize
|
(
|
)
|
[static]
|
Returns preferred image size that should be used when passing images.
SelectDefaultItem()
void
|
SelectDefaultItem
|
(
|
)
|
[private]
|
SetLandscapeScrollingSupport(TBool)
IMPORT_C void
|
SetLandscapeScrollingSupport
|
(
|
TBool
|
aSupportLandscapeScrolling
|
)
|
|
Set landscape scrolling support. If enabled lanscape scrolling is on only in landscape orientation. InitScreenL must be called after this to relayout the grid.
Parameters
TBool
aSupportLandscapeScrolling
|
Landscape scrolling supported or not.
|
SetToolbarVisibility(TBool)
IMPORT_C void
|
SetToolbarVisibility
|
(
|
TBool
|
aToolbarVisible
|
)
|
|
Set toolbar visibilty. The toolbar visibility ETrue changes the lanscape layout to fill the toolbar space with grid content.
Parameters
TBool
aToolbarVisible
|
Is toolbar visible or not.
|
TotalSize()
TSize
|
TotalSize
|
(
|
)
|
const [protected, virtual]
|
Member Data Documentation
TBool
iLandScapeScrollingSupported
TBool
|
iLandScapeScrollingSupported
|
[private]
|
CHgGridLayoutData * iLayoutData
CHgGridLayoutData *
|
iLayoutData
|
[private]
|
TBool
iToolbarVisible
TBool
|
iToolbarVisible
|
[private]
|
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.