Tizen Native API
5.0
|
ItemFactory is for providing actors to ItemView. More...
Public Member Functions | |
virtual DALI_TOOLKIT_API | ~ItemFactory () |
Forward declare future extension interface. | |
virtual unsigned int | GetNumberOfItems ()=0 |
Queries the number of items available from the factory. | |
virtual Actor | NewItem (unsigned int itemId)=0 |
Creates an Actor to represent a visible item. | |
virtual void | ItemReleased (unsigned int itemId, Actor actor) |
Notifies the factory the actor representing the item is removed from ItemView. | |
virtual Extension * | GetExtension () |
Retrieves the extension for this control. |
ItemFactory is for providing actors to ItemView.
Each actor is identified by a unique ID, and has a linear order from 0 to GetNumberOfItems()-1.
virtual DALI_TOOLKIT_API Dali::Toolkit::ItemFactory::~ItemFactory | ( | ) | [virtual] |
Forward declare future extension interface.
Virtual destructor.
virtual Extension* Dali::Toolkit::ItemFactory::GetExtension | ( | ) | [virtual] |
Retrieves the extension for this control.
virtual unsigned int Dali::Toolkit::ItemFactory::GetNumberOfItems | ( | ) | [pure virtual] |
Queries the number of items available from the factory.
The maximum available item has an ID of GetNumberOfItems() - 1.
virtual void Dali::Toolkit::ItemFactory::ItemReleased | ( | unsigned int | itemId, |
Actor | actor | ||
) | [virtual] |
Notifies the factory the actor representing the item is removed from ItemView.
[in] | itemId | The ID of the released item |
[in] | actor | The actor that represents the released item |
virtual Actor Dali::Toolkit::ItemFactory::NewItem | ( | unsigned int | itemId | ) | [pure virtual] |
Creates an Actor to represent a visible item.
[in] | itemId | The ID of the newly visible item |