API published in: S60 1st Ed
Link against: eikcoctl.lib
Required Capabilities
None
#include <eikscrlb.h>
Inherits TEikScrollBarModel.
Public Member Functions |
|
IMPORT_C | TAknDoubleSpanScrollBarModel () |
Default constructor. |
|
IMPORT_C | TAknDoubleSpanScrollBarModel (const TEikScrollBarModel &aEikModel) |
Constructor which converts TEikScrollBarModel into TAknDoubleSpanScrollBarModel. |
|
IMPORT_C void | SetScrollSpan (TInt aValue) |
Set methods for model attributes. |
|
IMPORT_C void | SetFocusPosition (TInt aValue) |
IMPORT_C void | SetWindowSize (TInt aValue) |
IMPORT_C void | SetFieldSize (TInt aValue) |
IMPORT_C void | SetFieldPosition (TInt aValue) |
IMPORT_C TInt | ScrollSpan () const |
Get methods for model attributes. |
|
IMPORT_C TInt | FocusPosition () const |
IMPORT_C TInt | WindowSize () const |
IMPORT_C TInt | FieldSize () const |
IMPORT_C TInt | FieldPosition () const |
Static Public Member Functions |
|
static TBool | ModelIsSupported () |
This method can be used to query if this model type is supported by the device. |
|
Default constructor. |
|
Constructor which converts TEikScrollBarModel into TAknDoubleSpanScrollBarModel.
Values will be converted as: TEikScrollBarModel TAknDoubleSpanScrollBarModel ------------------ ---------------------------- iScrollSpan -> ScrollSpan iThumbPosition -> FocusPosition iThumbSpan -> WindowSize 0 -> FieldPosition 0 -> FieldSize Values will be internally stored with 15 bit accuracy, this means that the actual stored value may differ from the value given inside parameter. |
|
|
|
|
This method can be used to query if this model type is supported by the device. If model is not supported then this model and the behaviour of ALL methods defaults to TEikScrollBarModel behaviour with following rules: TAknDoubleSpanScrollBarModel TEikScrollBarModel ---------------------------- ------------------ ScrollSpan methods -> iScrollSpan FocusPosition methods -> iThumbPosition WindowSize methods -> iThumbSize FieldPosition methods -> N/A FieldSize methods -> N/A
|
|
Get methods for model attributes. These MUST be used instead of getting base class model values directly.
|
|
|
|
|
Set methods for model attributes. These MUST be used instead of setting base class model values directly.
model.SetScrollSpan(value1); value2 = model.ScrollSpan(); if (value1 != value2) { // we can end up here !!!! } |
|
|