Alf::IAlfScrollBarWidget Class Reference

class Alf::IAlfScrollBarWidget : public Alf::IAlfWidget

Interface for the scrollbar widget.

Default visualization of scrollbar contains following components.
  • Thumb (The size of the Thumb shows the amount of scrollable content)

  • Track (Place holder for Thumb)

A scrollbar widget is used along with a scrollable widget,
  • to show the amount of scrollable content inside scrollable widget by means of thumb size

  • to generate scroll events(MoveUp and Movedown, PageUp PageDown and drag)

  • to show the view start position in the scrollbale content

The communication between scrollbar and scrollable widget happens through events. Scrollbar handles only pointer events which are converted to higher level events like EEventScrollUp, EEventScrollDown, EEventScrollLeft, EEventScrollRight, EEventScrollPageUp, EEventScrollPageDown, EEventScrollPageLeft and EEventScrollPageRight and sent to scrollable widget.Scrollable widget can also generate similar higher level events in response to key and pointer events.In which case it is scrollable widget's resposibility to send these events to scrollbar.

Inherits from

Constructor & Destructor Documentation

~IAlfScrollBarWidget()

~IAlfScrollBarWidget ( ) [inline, virtual]

Destructor.

Member Functions Documentation

IsTactileEnabled()

bool IsTactileEnabled ( ) [pure virtual]

Returns the state of tactile feedback whether it is enabled/disabled.

baseElementName()

const char * baseElementName ( ) [static, inline]

Gets the Base Element Name.

enableTactile(bool)

void enableTactile ( bool aFlag ) [pure virtual]

Sets whether or not tactile feedback is enabled.

Parameters

bool aFlag Whether or not tactile is enabled.

type()

const IfId & type ( ) [static, inline]

Get the type of widget.