Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: eikscrlb.h
Link against: eikcoctl.lib

Class CEikArrowHeadScrollBar

CEikArrowHeadScrollBar

Support

Supported from 6.0

Description

An arrow head scroll bar. This consists of two small nudge button arrows, it has no shaft and so takes up very little space.

Scroll bars are used when all the content of another control cannot be seen at the same time. They may be oriented horizontally or vertically, and may be displayed in several ways.

Scroll bars represent integers, and have a maximum, a minimum, and a current position encapsulated within their model. The on-screen image of a scroll bar is calculated and displayed by the CEikArrowHeadScrollBar object, and user changes to the scroll bar (and hence its model) are reported to an interested class through the MEikScrollBarObserver interface.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CCoeControlControl base class from which all other controls are derived
CEikArrowHeadScrollBarAn arrow head scroll bar
CEikBorderedControlA control which is drawn surrounded by a rectangular border
CEikScrollBarA scroll bar
MCoeControlObserverInterface for a control to send events to another control, its observer

Defined in CEikArrowHeadScrollBar:
CEikArrowHeadScrollBar(), ConstructL(), Draw(), HandlePointerEventL(), ~CEikArrowHeadScrollBar()

Inherited from CBase:
operator new()

Inherited from CCoeControl:
ActivateGc(), BackedUpWindow(), CapturesPointer(), ClaimPointerGrab(), CloseWindow(), ConstructFromResourceL(), ControlContext(), ControlEnv(), CopyControlContextFrom(), CreateBackedUpWindowL(), CreateWindowL(), DeactivateGc(), DrawDeferred(), DrawNow(), DrawableWindow(), EnableDragEvents(), FocusChanged(), GetColor(), GetHelpContext(), GrabbingComponent(), HandleComponentControlsResourceChange(), HandlePointerBufferReadyL(), HandleRedrawEvent(), IgnoreEventsUntilNextPointerUp(), Index(), InputCapabilities(), IsActivated(), IsBackedUp(), IsBeingDestroyed(), IsBlank(), IsDimmed(), IsFocused(), IsNonFocusing(), IsReadyToDraw(), IsVisible(), MakeVisible(), MinimumSize(), Observer(), OfferKeyEventL(), OverrideColorL(), OwnsWindow(), Position(), PositionChanged(), PositionRelativeToScreen(), PrepareForFocusGainL(), PrepareForFocusLossL(), Rect(), RecursivelyMergedInputCapabilities(), ReportEventL(), ResetGc(), SetAllowStrayPointers(), SetBlank(), SetCanDrawOutsideRect(), SetComponentsToInheritVisibility(), SetContainerWindow(), SetContainerWindowL(), SetControlContext(), SetCornerAndSize(), SetCornerAndSizeL(), SetExtent(), SetExtentL(), SetExtentToWholeScreen(), SetExtentToWholeScreenL(), SetFocus(), SetFocusing(), SetGloballyCapturing(), SetNeighbor(), SetNonFocusing(), SetObserver(), SetPointerCapture(), SetPosition(), SetRect(), SetRectL(), SetSize(), SetSizeL(), SetSizeWithoutNotification(), SetSizeWithoutNotificationL(), Size(), SizeChanged(), SizeChangedL(), SystemGc(), Window()

Inherited from CEikBorderedControl:
Border(), HasBorder(), SetAdjacent(), SetBorder(), iBorder

Inherited from CEikScrollBar:
ActivateL(), ComponentControl(), CountComponentControls(), DefaultScrollBarBreadth(), DoSetLengthL(), EAll, EButtonsAtEndOfShaft, EButtonsAtStartOfShaft, EButtonsEitherSideOfShaft, EDecreaseButtonsDimmed, EDecreaseNudgeButton, EDecreaseOnly, EDecreasePageButton, EDecreaseShaft, EEikScrollBarHasHomeEndButtons, EEikScrollBarHasPageButtons, EEikScrollBarNoNudgeButtons, EEikScrollBarNoShaftOrThumb, EEikScrollBarShaftButNoThumb, EEndButton, EHomeButton, EHorizontal, EIncreaseButtonsDimmed, EIncreaseNudgeButton, EIncreaseOnly, EIncreasePageButton, EIncreaseShaft, ENoAutoDimming, ENoComponentsToDisplay, ENoRedrawRequired, ENone, ERedrawShaft, EThumb, EVertical, GetColorUseListL(), HandleResourceChange(), MinVisibleLength(), Model(), NumberOfButtonPairs(), SEikScrollBarButtons, ScrollBarBreadth(), SetAllButtonsDimmed(), SetButtonPositionL(), SetDecreaseButtonsDimmed(), SetDimmed(), SetIncreaseButtonsDimmed(), SetLayoutL(), SetLengthAndModelL(), SetLengthL(), SetModelL(), SetModelThumbPosition(), SetScrollBarObserver(), TEikScrollBarFlags, TOrientation, TPointerDownOn, TPrivateScrollBarFlags, TShaftRedrawRequired, TWhichButtons, ThumbPosition(), iButtons, iDecreaseButtonsEnd, iDecreaseButtonsStart, iIncreaseButtonsEnd, iIncreaseButtonsStart, iLength, iOrientation, iPointerDownOn, iScrollBarDisplayFlags, iScrollBarFlags, iScrollBarObserver

Inherited from MCoeControlObserver:
EEventInteractionRefused, EEventPrepareFocusTransition, EEventRequestCancel, EEventRequestExit, EEventRequestFocus, EEventStateChanged, HandleControlEventL(), TCoeEvent


Construction and destruction


CEikArrowHeadScrollBar()

CEikArrowHeadScrollBar(CCoeControl* aParentWindow);

Description

Constructs an arrow head scroll bar object for the specified window-owning control.

Parameters

CCoeControl* aParentWindow

The parent window-owning control.


ConstructL()

void ConstructL (MEikScrollBarObserver* aScrollBarObserver,const CCoeControl* aParent, TOrientation aOrientation,TInt aLength,TInt aScrollBarFlags);

Description

Completes construction.

Parameters

MEikScrollBarObserver* aScrollBarObserver

The scroll bar observer which is to be informed of scroll events by this scroll bar.

const CCoeControl* aParent

Parent control for this new scroll bar.

TOrientation aOrientation

Orientation of the new scroll bar.

TInt aLength

Length of the scroll bar.

TInt aScrollBarFlags

An OR-ed combination of TEikScrollbarFlags.


~CEikArrowHeadScrollBar()

~CEikArrowHeadScrollBar();

Description

Destructor.

[Top]


Member functions


Draw()

void Draw(const TRect& aRect) const;

Description

Draws this scroll bar inside the specified rectangle.

Parameters

const TRect& aRect

The area to redraw.


HandlePointerEventL()

void HandlePointerEventL(const TPointerEvent& aPointerEvent);

Description

Called by the framework to handle pointer events on this CEikArrowHeadScrollBar.

Parameters

const TPointerEvent& aPointerEvent

The pointer event to handle.