CHgScroller Class Reference
class CHgScroller : public CCoeControl
|
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()
|
Public Member Enumerations
|
enum
|
THgScrollBarType
{
EHgScrollerScrollBar
= 0,
EHgScrollerLetterStrip
,
EHgScrollerTimeStrip
,
EHgScrollerLetterStripLite
}
|
enum
|
THgScrollerMode
{
EHgScrollerSelectionMode
= 0x0001,
EHgScrollerSearchWithQWERTY
= 0x0002,
EHgScrollerKeyMarkingDisabled
= 0x0004,
EHgScrollerScreenFreeze
= 0x0008,
EHgScrollerForceDoubleClick
= 0x0010,
EHgScrollerFlatStatusPane
= 0x0020
}
|
enum
|
TSelectionMode
{
ENoSelection
= 0,
ESelectionPossible
,
ESelectionMark
,
ESelectionUnMark
}
|
Constructor & Destructor Documentation
CHgScroller(TInt, CGulIcon *)
CHgScroller
|
(
|
TInt
|
aItemCount,
|
|
CGulIcon
*
|
aDefaultIcon
|
|
)
|
[protected]
|
~CHgScroller()
IMPORT_C
|
~CHgScroller
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddItem(CHgItem *)
IMPORT_C void
|
AddItem
|
(
|
CHgItem
*
|
aItem
|
)
|
|
Parameters
CHgItem
* aItem
|
New item. Ownership transferred.
|
ClearFlags(TInt)
IMPORT_C void
|
ClearFlags
|
(
|
TInt
|
aFlags
|
)
|
|
Clear mode flags. Possible values are defined in THgScrollerMode.
Parameters
TInt
aFlags
|
flags to be cleared.
|
CollectionExtension(TUint, TAny *&, TAny *)
CollectionState()
TUint
|
CollectionState
|
(
|
)
|
const [protected]
|
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, pure virtual]
|
DisableScrollBuffer()
IMPORT_C void
|
DisableScrollBuffer
|
(
|
)
|
|
DoDraw(const TRect &)
void
|
DoDraw
|
(
|
const
TRect
&
|
aRect
|
)
|
const [protected, pure virtual]
|
DoHandleKeyEvent(const TKeyEvent &)
TBool
|
DoHandleKeyEvent
|
(
|
const
TKeyEvent
&
|
aKeyEvent
|
)
|
[protected, pure virtual]
|
DoKeyScrolling()
void
|
DoKeyScrolling
|
(
|
)
|
[private]
|
Move view based on key scolling mode.
Draw(const TRect &)
void
|
Draw
|
(
|
const
TRect
&
|
aRect
|
)
|
const [virtual]
|
EnableScrollBufferL(MHgScrollBufferObserver &, TInt, TInt)
Parameters
MHgScrollBufferObserver
& aObserver
|
Buffer change observer.
|
TInt
aBufferSize
|
The size of the buffer.
|
TInt
aBufferTreshold
|
The minimum change needed for buffer to be modified.
|
FirstIndexOnScreen()
IMPORT_C
TInt
|
FirstIndexOnScreen
|
(
|
)
|
|
Gives the first index on the screen.
Note: The index is not guaranteed to be in the range of the scroller items. Index can be negative if the scroller is scrolled to the way up or over the count - 1 if scrolled way down.
FitRowToView(TInt)
void
|
FitRowToView
|
(
|
TInt
|
aRow
|
)
|
[protected]
|
FitSelectionToView()
void
|
FitSelectionToView
|
(
|
)
|
[protected, pure virtual]
|
FitTopItemToView(TInt)
void
|
FitTopItemToView
|
(
|
TInt
|
aIndex
|
)
|
[protected, pure virtual]
|
Flags()
Get flags. Possible values are defined in THgScrollerMode.
FocusChanged(TDrawNow)
void
|
FocusChanged
|
(
|
TDrawNow
|
aDrawNow
|
)
|
[virtual]
|
GetMarkedItemsL(RArray< TInt > &)
IMPORT_C void
|
GetMarkedItemsL
|
(
|
RArray
<
TInt
> &
|
aIndexes
|
)
|
|
Gets all marked item indexes.
Parameters
RArray
<
TInt
> & aIndexes
|
On return contains the indexes of marked items.
|
GetSelected(TPoint)
TInt
|
GetSelected
|
(
|
TPoint
|
aPosition
|
)
|
const [protected, pure virtual]
|
HandleDownEventL(const TPointerEvent &)
void
|
HandleDownEventL
|
(
|
const TPointerEvent &
|
aEvent
|
)
|
[private]
|
Parameters
const TPointerEvent & aEvent
|
|
HandleDragEventL(const TPointerEvent &)
void
|
HandleDragEventL
|
(
|
const TPointerEvent &
|
aEvent
|
)
|
[private]
|
Parameters
const TPointerEvent & aEvent
|
|
HandleGainingForeground()
void
|
HandleGainingForeground
|
(
|
)
|
[private]
|
HandleItemCountChanged()
void
|
HandleItemCountChanged
|
(
|
)
|
[private]
|
HandleKeyEvent(const TKeyEvent &)
TKeyResponse
|
HandleKeyEvent
|
(
|
const
TKeyEvent
&
|
aKeyEvent
|
)
|
[private]
|
HandleLongTapEventL(const TPoint &, const TPoint &)
void
|
HandleLongTapEventL
|
(
|
const
TPoint
&
|
aPenEventLocation,
|
|
const
TPoint
&
|
aPenEventScreenLocation
|
|
)
|
[protected]
|
Parameters
const
TPoint
& aPenEventLocation
|
|
const
TPoint
& aPenEventScreenLocation
|
|
HandleLosingForeground()
void
|
HandleLosingForeground
|
(
|
)
|
[private]
|
HandleNaviStripChar(const TChar &)
void
|
HandleNaviStripChar
|
(
|
const
TChar
&
|
aChar
|
)
|
[private]
|
HandlePointerEventL(const TPointerEvent &)
void
|
HandlePointerEventL
|
(
|
const TPointerEvent &
|
aEvent
|
)
|
[virtual]
|
Parameters
const TPointerEvent & aEvent
|
|
HandleResourceChange(TInt)
void
|
HandleResourceChange
|
(
|
TInt
|
aType
|
)
|
[virtual]
|
HandleScrollbarEventL(const TPointerEvent &)
TBool
|
HandleScrollbarEventL
|
(
|
const TPointerEvent &
|
aEvent
|
)
|
[private]
|
Parameters
const TPointerEvent & aEvent
|
|
HandleScrollbarVisibilityChange(TBool)
void
|
HandleScrollbarVisibilityChange
|
(
|
TBool
|
aVisible
|
)
|
[protected, pure virtual]
|
HandleSelectionL()
void
|
HandleSelectionL
|
(
|
)
|
[private]
|
HandleSizeChanged()
void
|
HandleSizeChanged
|
(
|
)
|
[protected, pure virtual]
|
HandleUpEventL(const TPointerEvent &)
void
|
HandleUpEventL
|
(
|
const TPointerEvent &
|
aEvent
|
)
|
[private]
|
Parameters
const TPointerEvent & aEvent
|
|
HandleViewPositionChanged(TBool)
void
|
HandleViewPositionChanged
|
(
|
TBool
|
aUpdateScrollbar = ETrue
|
)
|
[protected, virtual]
|
Parameters
TBool
aUpdateScrollbar = ETrue
|
|
HasHighlight()
TBool
|
HasHighlight
|
(
|
)
|
const [protected]
|
HighlightTimerCallback(TAny *)
TInt
|
HighlightTimerCallback
|
(
|
TAny
*
|
aPtr
|
)
|
[private, static]
|
Callback method for highlight timer.
Parameters
TAny
* aPtr
|
Pointer to an instance of CHgScroller class.
|
HightlightItem(const TDesC &)
IMPORT_C
TBool
|
HightlightItem
|
(
|
const
TDesC
&
|
aHighlightText
|
)
|
|
Highlights item based on the descriptor given.
Parameters
const
TDesC
& aHighlightText
|
Text to be searched.
|
InitDrawBuffer()
void
|
InitDrawBuffer
|
(
|
)
|
const [protected]
|
InitGraphicsL()
void
|
InitGraphicsL
|
(
|
)
|
[private]
|
InitItemsL()
void
|
InitItemsL
|
(
|
)
|
[protected, pure virtual]
|
InitPhysicsL()
void
|
InitPhysicsL
|
(
|
)
|
[protected]
|
InitScreenL(const TRect &, RWsSession &)
Re-inits the grid display area. DSA version.
Parameters
const
TRect
& aRect
|
New display rect
|
RWsSession
& aSession
|
Window server session for DSA
|
InitScreenL(const TRect &)
IMPORT_C void
|
InitScreenL
|
(
|
const
TRect
&
|
aRect
|
)
|
|
Re-inits the grid display area. Non-DSA version.
Parameters
const
TRect
& aRect
|
New display rect
|
InitScrollbarL()
void
|
InitScrollbarL
|
(
|
)
|
[private]
|
InsertItem(CHgItem *, TInt)
IMPORT_C void
|
InsertItem
|
(
|
CHgItem
*
|
aItem,
|
|
TInt
|
aIndex
|
|
)
|
|
Inserts item at index postion.
Parameters
CHgItem
* aItem
|
New item. Ownership transferred.
|
TInt
aIndex
|
The index of the item.
|
IsDisplayed(TInt)
TBool
|
IsDisplayed
|
(
|
TInt
|
aIndex
|
)
|
[protected, pure virtual]
|
ItemActionMenuClosed()
void
|
ItemActionMenuClosed
|
(
|
)
|
[protected]
|
ItemCount()
IMPORT_C
TInt
|
ItemCount
|
(
|
)
|
const
|
ItemL(TInt)
Get item at specified index.
Parameters
TInt
aIndex
|
Index of the item that is returned
|
ItemsOnScreen()
IMPORT_C
TInt
|
ItemsOnScreen
|
(
|
)
|
|
How many items fit on one screen.
KeyEventDown()
void
|
KeyEventDown
|
(
|
)
|
[private]
|
KeyEventUp()
void
|
KeyEventUp
|
(
|
)
|
[private]
|
KeyScrollingTimerCallback(TAny *)
TInt
|
KeyScrollingTimerCallback
|
(
|
TAny
*
|
aPtr
|
)
|
[private, static]
|
Callback method for key scrolling timer.
Parameters
TAny
* aPtr
|
Pointer to an instance of CHgScroller class.
|
LaunchHighlightTimer()
void
|
LaunchHighlightTimer
|
(
|
)
|
[private]
|
Launches the highlight timer.
Mark(TInt)
IMPORT_C void
|
Mark
|
(
|
TInt
|
aIndex
|
)
|
|
Marks item at index position.
Parameters
TInt
aIndex
|
Index of the item that is marked.
|
MarkAll()
IMPORT_C void
|
MarkAll
|
(
|
)
|
|
MarqueeCallback(TAny *)
TInt
|
MarqueeCallback
|
(
|
TAny
*
|
aSelf
|
)
|
[protected, static]
|
OfferKeyEventL(const TKeyEvent &, TEventCode)
TKeyResponse
|
OfferKeyEventL
|
(
|
const
TKeyEvent
&
|
aKeyEvent,
|
|
TEventCode
|
aType
|
|
)
|
[virtual]
|
PhysicEmulationEnded()
void
|
PhysicEmulationEnded
|
(
|
)
|
[protected]
|
RefreshScreen(TInt)
IMPORT_C void
|
RefreshScreen
|
(
|
TInt
|
aIndex
|
)
|
|
Parameters
TInt
aIndex
|
Index that was modified.
|
Release(TInt, TInt)
void
|
Release
|
(
|
TInt
|
aReleaseStart,
|
|
TInt
|
aReleaseEnd
|
|
)
|
[private]
|
ReleasePopupFont()
void
|
ReleasePopupFont
|
(
|
)
|
[private]
|
RemoveItem(TInt)
IMPORT_C void
|
RemoveItem
|
(
|
TInt
|
aIndex
|
)
|
|
Removes item at index position. Removed item is deleted.
Parameters
TInt
aIndex
|
The index of the item.
|
Reset()
Removes all items and presents empty text
ResizeL(TInt)
IMPORT_C void
|
ResizeL
|
(
|
TInt
|
aItemCount
|
)
|
|
Parameters
TInt
aItemCount
|
New Count of items.
|
ScrollBarPositionChanged(const TPoint &)
void
|
ScrollBarPositionChanged
|
(
|
const
TPoint
&
|
aNewPosition
|
)
|
[private]
|
SelectedIndex()
IMPORT_C
TInt
|
SelectedIndex
|
(
|
)
|
|
SelectionChanged()
void
|
SelectionChanged
|
(
|
)
|
[protected]
|
SelectionMode()
Get current selection mode. Used in internal key marking implemention.
SetDefaultIconL(CGulIcon *)
IMPORT_C void
|
SetDefaultIconL
|
(
|
CGulIcon
*
|
aDefaultIcon
|
)
|
|
Parameters
CGulIcon
* aDefaultIcon
|
New default icon to be used in scroller.
|
SetEmptyTextL(const TDesC &)
IMPORT_C void
|
SetEmptyTextL
|
(
|
const
TDesC
&
|
aEmptyText
|
)
|
|
Set text that is displayed when there are no items in the view.
Parameters
const
TDesC
& aEmptyText
|
Empty text.
|
SetFirstIndexOnScreen(TInt)
IMPORT_C void
|
SetFirstIndexOnScreen
|
(
|
TInt
|
aFirstIndexOnScreen
|
)
|
|
Sets the first index on the screen.
Parameters
TInt
aFirstIndexOnScreen
|
The index of the first item on the screen.
|
SetFlags(TInt)
IMPORT_C void
|
SetFlags
|
(
|
TInt
|
aFlags
|
)
|
|
Set mode flags. Possible values are defined in THgScrollerMode.
Parameters
TInt
aFlags
|
flags to bet set.
|
SetHighlightL()
void
|
SetHighlightL
|
(
|
)
|
[private]
|
Sets highlight to focused item.
SetItem(CHgItem *, TInt)
Resets item at the index position. Old item is deleted.
Parameters
CHgItem
* aItem
|
New item. Ownership transferred.
|
TInt
aIndex
|
The index of the item.
|
SetMarkingObserver(MHgMarkingObserver &)
SetMenuProviderL(MObjectProvider *)
SetScrollBarTypeL(THgScrollBarType)
SetSelectedIndex(TInt)
IMPORT_C void
|
SetSelectedIndex
|
(
|
TInt
|
aIndex
|
)
|
|
Parameters
TInt
aIndex
|
new selected index. Selection is also made visible.
|
SetSelectionMode(TSelectionMode)
Set selection mode. Used in internal key marking implemention.
SetSelectionObserver(MHgSelectionObserver &)
SizeChanged()
void
|
SizeChanged
|
(
|
)
|
[virtual]
|
StopKeyScrolling()
void
|
StopKeyScrolling
|
(
|
)
|
[private]
|
Sets item highlight and stops the scrolling timer.
TotalSize()
TSize
|
TotalSize
|
(
|
)
|
const [protected, pure virtual]
|
UnMark(TInt)
IMPORT_C void
|
UnMark
|
(
|
TInt
|
aIndex
|
)
|
|
Unmarks item at index position.
Parameters
TInt
aIndex
|
Index of the item that is unmarked.
|
UnMarkAll()
IMPORT_C void
|
UnMarkAll
|
(
|
)
|
|
ViewPosition()
TPoint
|
ViewPosition
|
(
|
)
|
const [protected]
|
ViewPositionChanged(const TPoint &, TBool, TUint)
void
|
ViewPositionChanged
|
(
|
const
TPoint
&
|
aNewPosition,
|
|
TBool
|
aDrawNow,
|
|
TUint
|
aFlags
|
|
)
|
[protected]
|
Member Enumerations Documentation
Enum THgScrollBarType
Enumerators
EHgScrollerScrollBar = 0
|
|
EHgScrollerLetterStrip
|
|
EHgScrollerTimeStrip
|
|
EHgScrollerLetterStripLite
|
|
Enum THgScrollerMode
Enumerators
EHgScrollerSelectionMode = 0x0001
|
|
EHgScrollerSearchWithQWERTY = 0x0002
|
|
EHgScrollerKeyMarkingDisabled = 0x0004
|
|
EHgScrollerScreenFreeze = 0x0008
|
|
EHgScrollerForceDoubleClick = 0x0010
|
|
EHgScrollerFlatStatusPane = 0x0020
|
|
Enum TKeyScrollingState
Enumerators
ENoKeyScrolling = 0
|
|
EKeyScrollingUp
|
|
EKeyScrollingDown
|
|
EKeyScrollingLeft
|
|
EKeyScrollingRight
|
|
Enum TSelectionMode
Enumerators
ENoSelection = 0
|
|
ESelectionPossible
|
|
ESelectionMark
|
|
ESelectionUnMark
|
|
Member Data Documentation
CAknItemActionMenu * iActionMenu
CAknItemActionMenu *
|
iActionMenu
|
[protected]
|
TInt
iCurrentRow
TInt
|
iCurrentRow
|
[protected]
|
CAknLongTapDetector * iDetector
CAknLongTapDetector *
|
iDetector
|
[protected]
|
CHgDrawUtils * iDrawUtils
CHgDrawUtils *
|
iDrawUtils
|
[protected]
|
HBufC * iEmptyText
HBufC
*
|
iEmptyText
|
[protected]
|
TInt
iFocusedIndex
TInt
|
iFocusedIndex
|
[protected]
|
CPeriodic * iHighlightTimer
TSize
iImageSize
TSize
|
iImageSize
|
[protected]
|
CHgIndicatorManager * iIndicatorManager
CHgIndicatorManager *
|
iIndicatorManager
|
[protected]
|
TSize
iIndicatorSize
TSize
|
iIndicatorSize
|
[protected]
|
TInt
iItemCount
TInt
|
iItemCount
|
[protected]
|
RPointerArray< CHgItem > iItems
TInt
iItemsOnScreen
TInt
|
iItemsOnScreen
|
[protected]
|
TInt
iKeyRepeats
TInt
|
iKeyRepeats
|
[protected]
|
enum CHgScroller::TKeyScrollingState iKeyScrollingState
CPeriodic * iKeyScrollingTimer
CHgKeyUtils * iKeyUtils
CHgKeyUtils *
|
iKeyUtils
|
[protected]
|
TBool
iLandscapeScrolling
TBool
|
iLandscapeScrolling
|
[protected]
|
CHgScrollBufferManager * iManager
CHgScrollBufferManager *
|
iManager
|
[protected]
|
MHgMarkingObserver * iMarkingObserver
TInt
iOldWinPos
TInt
|
iOldWinPos
|
[protected]
|
TBool
iPanning
TBool
|
iPanning
|
[protected]
|
CAknPhysics * iPhysics
CAknPhysics *
|
iPhysics
|
[protected]
|
TBool
iPointerDown
TBool
|
iPointerDown
|
[protected]
|
THgPopupDrawer * iPopupDrawer
THgPopupDrawer *
|
iPopupDrawer
|
[protected]
|
CFont * iPopupFont
CFont
*
|
iPopupFont
|
[protected]
|
RBuf
iPopupText1
RBuf
|
iPopupText1
|
[protected]
|
RBuf
iPopupText2
RBuf
|
iPopupText2
|
[protected]
|
TBool
iResetViewPosition
TBool
|
iResetViewPosition
|
[protected]
|
TInt
iRowHeight
TInt
|
iRowHeight
|
[protected]
|
THgScrollBarType
iScrollBarType
CHgScrollbar * iScrollbar
CHgScrollbar *
|
iScrollbar
|
[protected]
|
TInt
iSelectedIndex
TInt
|
iSelectedIndex
|
[protected]
|
TSelectionMode
iSelectionMode
MHgSelectionObserver * iSelectionObserver
TBool
iSelectionToFocusedItem
TBool
|
iSelectionToFocusedItem
|
[protected]
|
TBool
iShowHighlight
TBool
|
iShowHighlight
|
[protected]
|
TTime
iStartTime
TTime
|
iStartTime
|
[protected]
|
CHgTextFind * iTextFind
CHgTextFind *
|
iTextFind
|
[protected]
|
RBuf
iUpperCaseTitle
RBuf
|
iUpperCaseTitle
|
[protected]
|
TPoint
iViewPosition
TPoint
|
iViewPosition
|
[protected]
|
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.