Kanzi 4.1.1
ListBoxConcept Interface Reference
Inheritance diagram for ListBoxConcept:
[legend]

Public Member Functions

default boolean addContentItem (Node abstractItem)
 
default Node getContentItem (int index)
 
default long getContentItemCount ()
 
default String getItemContainerGeneratorTypeName ()
 Gets the value of the ListBoxConceptMetadata::ItemContainerGeneratorTypeNameProperty.
 
default PrefabTemplate getItemContainerTemplate ()
 Gets the value of the ListBoxConceptMetadata::ItemContainerTemplateProperty.
 
default int getItemCount ()
 Returns the value of the ListBoxConceptMetadata::ItemCountProperty.
 
default String getItemGeneratorTypeName ()
 Gets the value of the ListBoxConceptMetadata::ItemGeneratorTypeNameProperty.
 
default PrefabTemplate getItemTemplate ()
 Gets the value of the ListBoxConceptMetadata::ItemTemplateProperty.
 
default int getKeepAliveItemCount ()
 Gets the value of the ListBoxConceptMetadata::KeepAliveItemCountProperty.
 
default int getSelectedItemIndex ()
 Gets the value of the ListBoxConceptMetadata::SelectedItemIndexProperty.
 
default SelectionBehavior getSelectionBehavior ()
 Gets the value of the SelectionBehavior property.
 
default boolean isEmpty ()
 Returns whether a list box is empty.
 
default void notifyItemAdded (int index)
 Notifies a list box that an item was added.
 
default void notifyItemCountChanged ()
 Notifies a list box that the item count changed.
 
default void notifyItemRemoved (int index)
 Notifies a list box that an item was removed.
 
default void notifyItemReplaced (int index)
 Notifies a list box that an item was replaced.
 
default void removeAllContentItems ()
 
default boolean removeContentItem (Node abstractItem)
 
default void setItemContainerGeneratorTypeName (String value)
 Sets the value of the ListBoxConceptMetadata::ItemContainerGeneratorTypeNameProperty.
 
default void setItemContainerTemplate (PrefabTemplate value)
 Sets the value of the ListBoxConceptMetadata::ItemContainerTemplateProperty.
 
default void setItemGeneratorTypeName (String value)
 Sets the value of the ListBoxConceptMetadata::ItemGeneratorTypeNameProperty.
 
default void setItemTemplate (PrefabTemplate value)
 Sets the value of the ListBoxConceptMetadata::ItemTemplateProperty.
 
default void setKeepAliveItemCount (int value)
 Sets the value of the ListBoxConceptMetadata::KeepAliveItemCountProperty.
 
default void setSelectedItemIndex (int value)
 Sets the value of the ListBoxConceptMetadata::SelectedItemIndexProperty.
 
default void setSelectionBehavior (SelectionBehavior value)
 Sets the value of the SelectionBehavior property.
 

Additional Inherited Members

Member Function Documentation

◆ getItemContainerGeneratorTypeName()

default String getItemContainerGeneratorTypeName ( )

Gets the value of the ListBoxConceptMetadata::ItemContainerGeneratorTypeNameProperty.

Returns
The name of the item container generator type that the list box uses to provide item containers dynamically.

◆ getItemContainerTemplate()

default PrefabTemplate getItemContainerTemplate ( )

Gets the value of the ListBoxConceptMetadata::ItemContainerTemplateProperty.

Returns
The container template that the item container generator uses to instantiate item containers.

◆ getItemCount()

default int getItemCount ( )

Returns the value of the ListBoxConceptMetadata::ItemCountProperty.

Returns
The number of items in the list box, including the virtual items.

◆ getItemGeneratorTypeName()

default String getItemGeneratorTypeName ( )

Gets the value of the ListBoxConceptMetadata::ItemGeneratorTypeNameProperty.

Returns
The name of the item generator type that provides items dynamically to the list box.

◆ getItemTemplate()

default PrefabTemplate getItemTemplate ( )

Gets the value of the ListBoxConceptMetadata::ItemTemplateProperty.

Returns
The template that the list item generator uses to instantiate items.

◆ getKeepAliveItemCount()

default int getKeepAliveItemCount ( )

Gets the value of the ListBoxConceptMetadata::KeepAliveItemCountProperty.

Returns
The number of invisible list box items to keep in buffer.

◆ getSelectedItemIndex()

default int getSelectedItemIndex ( )

Gets the value of the ListBoxConceptMetadata::SelectedItemIndexProperty.

Returns
The index of the selected item.

◆ getSelectionBehavior()

default SelectionBehavior getSelectionBehavior ( )

Gets the value of the SelectionBehavior property.

Returns
The behavior for the list box scroll when the user clicks an item.

◆ isEmpty()

default boolean isEmpty ( )

Returns whether a list box is empty.

Returns
If the list box is empty, true, otherwise false.

◆ notifyItemAdded()

default void notifyItemAdded ( int index)

Notifies a list box that an item was added.

Parameters
indexThe index of the added item.

◆ notifyItemRemoved()

default void notifyItemRemoved ( int index)

Notifies a list box that an item was removed.

Parameters
indexThe index of the removed item.

◆ notifyItemReplaced()

default void notifyItemReplaced ( int index)

Notifies a list box that an item was replaced.

Parameters
indexThe index of the replaced item.

◆ setItemContainerGeneratorTypeName()

default void setItemContainerGeneratorTypeName ( String value)

Sets the value of the ListBoxConceptMetadata::ItemContainerGeneratorTypeNameProperty.

Parameters
valueThe name of the item container generator type that the list box uses to provide item containers dynamically.

◆ setItemContainerTemplate()

default void setItemContainerTemplate ( PrefabTemplate value)

Sets the value of the ListBoxConceptMetadata::ItemContainerTemplateProperty.

Parameters
valueThe container template that the item container generator uses to instantiate item containers.

◆ setItemGeneratorTypeName()

default void setItemGeneratorTypeName ( String value)

Sets the value of the ListBoxConceptMetadata::ItemGeneratorTypeNameProperty.

Parameters
valueThe name of the item generator type that provides items dynamically to the list box.

◆ setItemTemplate()

default void setItemTemplate ( PrefabTemplate value)

Sets the value of the ListBoxConceptMetadata::ItemTemplateProperty.

Parameters
valueThe template that the list item generator uses to instantiate items.

◆ setKeepAliveItemCount()

default void setKeepAliveItemCount ( int value)

Sets the value of the ListBoxConceptMetadata::KeepAliveItemCountProperty.

Parameters
valueThe number of invisible list box items to keep in buffer.

◆ setSelectedItemIndex()

default void setSelectedItemIndex ( int value)

Sets the value of the ListBoxConceptMetadata::SelectedItemIndexProperty.

Parameters
valueThe index of the selected item.

◆ setSelectionBehavior()

default void setSelectionBehavior ( SelectionBehavior value)

Sets the value of the SelectionBehavior property.

Parameters
valueThe behavior for the list box scroll when the user clicks an item.