Alf::IMulModelAccessor Class Reference
class Alf::IMulModelAccessor : public Alf::IAlfModel
|
An interface for accessing data model. Widgets use this interface to interact with Model. Data model implements this interface.
Member Functions Documentation
AbsoluteIndex(int)
int
|
AbsoluteIndex
|
(
|
int
|
aRelativeIndex
|
)
|
[pure virtual]
|
Returns Absolute index from relative index
Parameters
int aRelativeIndex
|
Relative index
|
AddModelObserver(IMulModelObserver *)
Add model state change observer.
BottomOffset()
int
|
BottomOffset
|
(
|
)
|
const [pure virtual]
|
Return visible window bottom offset
BottomWindowOffset()
int
|
BottomWindowOffset
|
(
|
)
|
const [pure virtual]
|
Return visible window bottom offset
CurrentItemCount()
int
|
CurrentItemCount
|
(
|
)
|
[pure virtual]
|
Function to get the count of items currently present in the model. This includes hidden items.
Highlight()
int
|
Highlight
|
(
|
)
|
[pure virtual]
|
Function to get the highlighted item index.
IsItemMarked(int)
bool
|
IsItemMarked
|
(
|
int
|
aIndex
|
)
|
[pure virtual]
|
Check weather item at specified index is marked or not.
Parameters
int aIndex
|
Absolute index of item
|
IsLoopingOn()
bool
|
IsLoopingOn
|
(
|
)
|
[pure virtual]
|
Return whather currently looping is on or not
Item(int)
Returns the visual item at the specified absolute index
RearBottomOffset()
int
|
RearBottomOffset
|
(
|
)
|
const [pure virtual]
|
Return rear buffer bottom offset
RearTopOffset()
int
|
RearTopOffset
|
(
|
)
|
const [pure virtual]
|
Return rear buffer top offset
RelativeIndex(int)
int
|
RelativeIndex
|
(
|
int
|
aAbsoluteIndex
|
)
|
const [pure virtual]
|
Returns relative index from absolute index.
Parameters
int aAbsoluteIndex
|
Abosulte index
|
RemoveModelObserver(IMulModelObserver *)
Eemove model state change observer.
ScrollWindow(int)
void
|
ScrollWindow
|
(
|
int
|
aItemIndex
|
)
|
[pure virtual]
|
Scroll Window to mention item index it will check that data window needs to be updated or not and if required it update data window
item index
-
Exceptions
-
invaid_argument
|
exception
|
SetHighlight(int)
void
|
SetHighlight
|
(
|
int
|
aItemIndex
|
)
|
[pure virtual]
|
The function to set a particular item as highlighted.
-
Exceptions
-
Invalid_argument
|
Throws this exception if index is not a valid index.
|
SetMarkedIndex(MulWidgetDef::TMulWidgetMarkingType, int)
Function for setting the item Marked or Unmarked. For mark and unmark operations, index of item should be provided.
-
Exceptions
-
Invalid
|
Argument, if type is specified as mark-all and unmark-all.
|
SetVisibleWindow(int, int)
void
|
SetVisibleWindow
|
(
|
int
|
aWindowSize,
|
|
int
|
aPageTopIndex = -1
|
|
)
|
[pure virtual]
|
Set visible data window for model.
Parameters
int aWindowSize
|
|
int aPageTopIndex = -1
|
|
Template()
mulwidget::TLogicalTemplate
|
Template
|
(
|
)
|
[pure virtual]
|
TopOffset()
int
|
TopOffset
|
(
|
)
|
const [pure virtual]
|
Return visible window top offset
TopWindowOffset()
int
|
TopWindowOffset
|
(
|
)
|
const [pure virtual]
|
Return visible window top offset
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.