TUiCScrollBarModel Class Reference

class TUiCScrollBarModel

Constructor & Destructor Documentation

TUiCScrollBarModel()

TUiCScrollBarModel ( )

Constructor

Member Functions Documentation

CalculatedThumbHeight()

TInt CalculatedThumbHeight ( ) const [private]

Returns calculated thumb height. Thumb height is calculated, unless this result is smaller than MinimumThumbHeight() .

Height()

TInt Height ( ) const

Total height

MinimumThumbHeight()

TInt MinimumThumbHeight ( ) const [private]

Returns minimum thumb height (from layout data)

ScrollBarNeeded()

TBool ScrollBarNeeded ( ) const

Returns ETrue if total height is greater than window height

SetHeight(TInt)

void SetHeight ( TInt aHeight )

Set total height

Parameters

TInt aHeight

SetWindowHeight(TInt)

void SetWindowHeight ( TInt aHeight )

Set window height

Parameters

TInt aHeight

SetWindowPosition(TInt)

void SetWindowPosition ( TInt aPosition )

Sets top position of the window

Parameters

TInt aPosition

ThumbHeight()

TInt ThumbHeight ( ) const

Height of the thumb

ThumbPosition()

TInt ThumbPosition ( ) const

Position of thumb inside the window

WindowHeight()

TInt WindowHeight ( ) const

Window height

WindowPosition()

TInt WindowPosition ( ) const

Top position of the window

Member Data Documentation

TInt iHeight

TInt iHeight [private]

TInt iWindowHeight

TInt iWindowHeight [private]

TInt iWindowPosition

TInt iWindowPosition [private]