Kanzi  3.9.6
Kanzi Engine API
kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator > Class Template Reference

#include <kanzi/ui/node/concept/list_box/default_list_box_item_container_generator.hpp>

Inheritance diagram for kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >:
[legend]

Public Types

typedef shared_ptr< DefaultListBoxItemContainerGenerator< TBaseGenerator > > DefaultListBoxItemContainerGeneratorSharedPtr
 

Public Member Functions

TBaseGenerator::ItemContainerSharedPtr acquireItemContainer (string_view name) override
 
void attach (typename TBaseGenerator::ListBoxType &node) override
 
void attachItem (typename TBaseGenerator::ItemContainer &itemContainer, typename TBaseGenerator::ItemSharedPtr item) override
 Attaches the List Box item to the List Box Item Container. More...
 
void detach (typename TBaseGenerator::ListBoxType &) override
 
void detachItem (typename TBaseGenerator::ItemContainer &itemContainer) override
 Detaches List Box item from the List Box Item Container. More...
 
TBaseGenerator::ItemSharedPtr getItem (typename TBaseGenerator::ItemContainer &itemContainer) override
 Returns the List Box item that is attached to the List Box Item Container. More...
 
TBaseGenerator::VectorType getItemContainerSize (typename TBaseGenerator::VectorType itemSize) override
 Returns size of an item container that would be created for an object of the given size. More...
 
void releaseItemContainer (typename TBaseGenerator::ItemContainerSharedPtr) override
 Deletes an item container returned by createItem. More...
 

Static Public Member Functions

static DefaultListBoxItemContainerGeneratorSharedPtr create (Domain *domain, string_view)
 
static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 

Protected Member Functions

 DefaultListBoxItemContainerGenerator (Domain *domain)
 

Member Typedef Documentation

◆ DefaultListBoxItemContainerGeneratorSharedPtr

template<typename TBaseGenerator >
typedef shared_ptr<DefaultListBoxItemContainerGenerator<TBaseGenerator> > kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >::DefaultListBoxItemContainerGeneratorSharedPtr

Constructor & Destructor Documentation

◆ DefaultListBoxItemContainerGenerator()

template<typename TBaseGenerator >
kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >::DefaultListBoxItemContainerGenerator ( Domain domain)
inlineexplicitprotected

Member Function Documentation

◆ makeEditorInfo()

template<typename TBaseGenerator >
static PropertyTypeEditorInfoSharedPtr kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >::makeEditorInfo ( )
inlinestatic

◆ create()

template<typename TBaseGenerator >
static DefaultListBoxItemContainerGeneratorSharedPtr kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >::create ( Domain domain,
string_view   
)
inlinestatic

◆ attach()

template<typename TBaseGenerator >
void kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >::attach ( typename TBaseGenerator::ListBoxType &  node)
inlineoverride

◆ detach()

template<typename TBaseGenerator >
void kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >::detach ( typename TBaseGenerator::ListBoxType &  )
inlineoverride

◆ acquireItemContainer()

template<typename TBaseGenerator >
TBaseGenerator::ItemContainerSharedPtr kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >::acquireItemContainer ( string_view  name)
inlineoverride

◆ releaseItemContainer()

template<typename TBaseGenerator >
void kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >::releaseItemContainer ( typename TBaseGenerator::ItemContainerSharedPtr  )
inlineoverride

Deletes an item container returned by createItem.

◆ getItemContainerSize()

template<typename TBaseGenerator >
TBaseGenerator::VectorType kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >::getItemContainerSize ( typename TBaseGenerator::VectorType  itemSize)
inlineoverride

Returns size of an item container that would be created for an object of the given size.

◆ getItem()

template<typename TBaseGenerator >
TBaseGenerator::ItemSharedPtr kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >::getItem ( typename TBaseGenerator::ItemContainer &  itemContainer)
inlineoverride

Returns the List Box item that is attached to the List Box Item Container.

Returns
The List Box item that is attached to the List Box Item Container.

◆ attachItem()

template<typename TBaseGenerator >
void kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >::attachItem ( typename TBaseGenerator::ItemContainer &  itemContainer,
typename TBaseGenerator::ItemSharedPtr  item 
)
inlineoverride

Attaches the List Box item to the List Box Item Container.

◆ detachItem()

template<typename TBaseGenerator >
void kanzi::DefaultListBoxItemContainerGenerator< TBaseGenerator >::detachItem ( typename TBaseGenerator::ItemContainer &  itemContainer)
inlineoverride

Detaches List Box item from the List Box Item Container.


The documentation for this class was generated from the following file: