Kanzi  3.9.6
Java API
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 ItemContainerGeneratorTypeNameProperty. More...
 
default PrefabTemplate getItemContainerTemplate ()
 Gets the value of the ItemContainerTemplateProperty. More...
 
default int getItemCount ()
 Returns the value of the ItemCountProperty. More...
 
default String getItemGeneratorTypeName ()
 Gets the value of the ItemGeneratorTypeNameProperty. More...
 
default PrefabTemplate getItemTemplate ()
 Gets the value of the ItemTemplateProperty. More...
 
default int getKeepAliveItemCount ()
 Gets the value of the KeepAliveItemCountProperty. More...
 
default int getSelectedItemIndex ()
 Gets the value of the SelectedItemIndexProperty. More...
 
default SelectionBehavior getSelectionBehavior ()
 Gets the value of the SelectionBehavior property. More...
 
default boolean isEmpty ()
 Returns whether a list box is empty. More...
 
default void notifyItemAdded (int index)
 Notifies a list box that an item was added. More...
 
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. More...
 
default void notifyItemReplaced (int index)
 Notifies a list box that an item was replaced. More...
 
default void removeAllContentItems ()
 
default boolean removeContentItem (Node abstractItem)
 
default void setItemContainerGeneratorTypeName (String value)
 Sets the value of the ItemContainerGeneratorTypeNameProperty. More...
 
default void setItemContainerTemplate (PrefabTemplate value)
 Sets the value of the ItemContainerTemplateProperty. More...
 
default void setItemGeneratorTypeName (String value)
 Sets the value of the ItemGeneratorTypeNameProperty. More...
 
default void setItemTemplate (PrefabTemplate value)
 Sets the value of the ItemTemplateProperty. More...
 
default void setKeepAliveItemCount (int value)
 Sets the value of the KeepAliveItemCountProperty. More...
 
default void setSelectedItemIndex (int value)
 Sets the value of the SelectedItemIndexProperty. More...
 
default void setSelectionBehavior (SelectionBehavior value)
 Sets the value of the SelectionBehavior property. More...
 

Member Function Documentation

◆ getItemContainerGeneratorTypeName()

default String getItemContainerGeneratorTypeName ( )

Gets the value of the 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 ItemContainerTemplateProperty.

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

◆ getItemCount()

default int getItemCount ( )

Returns the value of the ItemCountProperty.

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

◆ getItemGeneratorTypeName()

default String getItemGeneratorTypeName ( )

Gets the value of the 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 ItemTemplateProperty.

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

◆ getKeepAliveItemCount()

default int getKeepAliveItemCount ( )

Gets the value of the KeepAliveItemCountProperty.

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

◆ getSelectedItemIndex()

default int getSelectedItemIndex ( )

Gets the value of the 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 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 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 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 ItemTemplateProperty.

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

◆ setKeepAliveItemCount()

default void setKeepAliveItemCount ( int  value)

Sets the value of the KeepAliveItemCountProperty.

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

◆ setSelectedItemIndex()

default void setSelectedItemIndex ( int  value)

Sets the value of the 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.