Dali 3D User Interface Engine
List of all members | Public Member Functions
anonymous_namespace{utc-Dali-ItemLayout.cpp}::TestItemFactory Class Reference
Inheritance diagram for anonymous_namespace{utc-Dali-ItemLayout.cpp}::TestItemFactory:
Inheritance graph
Collaboration diagram for anonymous_namespace{utc-Dali-ItemLayout.cpp}::TestItemFactory:
Collaboration graph

Public Member Functions

 TestItemFactory ()
 Constructor. More...
virtual ~TestItemFactory ()
 Virtual destructor. More...
virtual unsigned int GetNumberOfItems ()
 Query the number of items available from the factory. More...
virtual Actor NewItem (unsigned int itemId)
 Create an Actor to represent a visible item. More...
- Public Member Functions inherited from Dali::Toolkit::ItemFactory
virtual DALI_EXPORT_API ~ItemFactory ()
 Forward declare future extension interface. More...
virtual void ItemReleased (unsigned int itemId, Actor actor)
 Notify the factory the actor representing the item is removed from ItemView. More...
virtual Extension * GetExtension ()
 Retrieve the extension for this control. More...

Detailed Description

Definition at line 38 of file utc-Dali-ItemLayout.cpp.

Constructor & Destructor Documentation

anonymous_namespace{utc-Dali-ItemLayout.cpp}::TestItemFactory::TestItemFactory ( )


applicationclass, stored as reference

Definition at line 46 of file utc-Dali-ItemLayout.cpp.

virtual anonymous_namespace{utc-Dali-ItemLayout.cpp}::TestItemFactory::~TestItemFactory ( )

Virtual destructor.

Definition at line 53 of file utc-Dali-ItemLayout.cpp.

Member Function Documentation

virtual unsigned int anonymous_namespace{utc-Dali-ItemLayout.cpp}::TestItemFactory::GetNumberOfItems ( )

Query the number of items available from the factory.

The maximum available item has an ID of GetNumberOfItems() - 1.

Implements Dali::Toolkit::ItemFactory.

Definition at line 63 of file utc-Dali-ItemLayout.cpp.

References anonymous_namespace{utc-Dali-ItemLayout.cpp}::TOTAL_ITEM_NUMBER.

virtual Actor anonymous_namespace{utc-Dali-ItemLayout.cpp}::TestItemFactory::NewItem ( unsigned int  itemId)

Create an Actor to represent a visible item.

the created actor.

Implements Dali::Toolkit::ItemFactory.

Definition at line 73 of file utc-Dali-ItemLayout.cpp.

References Dali::ResourceImage::New(), and Dali::ImageActor::New().

Here is the call graph for this function:

The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali