Interface for factory-pattern object creation.
This object represents a Factory in the factory pattern. Objects should be created via the method Efl.Ui.View_Factory.create_with_event, which will in turn call the necessary APIs from this interface. Objects created this way should be removed using Efl.Ui.Factory.release.
It is recommended to not create your own Efl.Ui.Factory and use event handler as much as possible.
⇒ Efl.Ui.Property_Bind (interface)
Release a UI object and disconnect from models.
void efl_ui_factory_release(Eo *obj, Eina_Iterator *ui_views);
Create a UI object from the necessary properties in the specified model.
Eina_Future *efl_ui_factory_create(Eo *obj, Eina_Iterator *models);
|factory_bind||bind the factory with the given key string. when the data is ready or changed, factory create the object and bind the data to the key action and process promised work. Note: the input Efl.Ui.Factory need to be Efl.Ui.Property_Bind.property_bind at least once.|
|property_bind||bind property data with the given key string. when the data is ready or changed, bind the data to the key action and process promised work.|
Event emitted when an item has processed Efl.Object.finalize, but before all the factory are done building it. Note: If the Efl.Ui.Factory keeps a cache of objects, this will be called when objects are pulled from the cache.
Event emitted when an item is under construction (between the Efl.Object.constructor and Efl.Object.finalize call on the item). Note: If the Efl.Ui.Factory keeps a cache of objects, this won't be called when objects are pulled from the cache.
Event emitted when an item has been successfully created by the factory and is about to be used by an Efl.Ui.View.
Event emitted when an item is being released by the Efl.Ui.Factory. It must be assumed that after this call, the object can be recycles to another Efl.Ui.View and there can be more than one call for the same item.
|properties,changed||Event dispatched when a property on the object has changed due to a user interaction on the object that a model could be interested in.|
|property,bound||Event dispatched when a property on the object is bound to a model. This is useful to avoid generating too many events.|