Open 3D Engine LyShine Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
UiDynamicScrollBoxElementNotifications Class Reference

#include <UiDynamicScrollBoxBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual void OnElementBecomingVisible (AZ::EntityId entityId, int index)
 
virtual void OnPrepareElementForSizeCalculation (AZ::EntityId entityId, int index)
 
virtual void OnElementInSectionBecomingVisible (AZ::EntityId entityId, int sectionIndex, int index)
 
virtual void OnPrepareElementInSectionForSizeCalculation (AZ::EntityId entityId, int sectionIndex, int index)
 
virtual void OnSectionHeaderBecomingVisible (AZ::EntityId entityId, int sectionIndex)
 
virtual void OnPrepareSectionHeaderForSizeCalculation (AZ::EntityId entityId, int sectionIndex)
 

Detailed Description

Interface class that listeners need to implement to receive notifications of element state changes, such as when an element is about to scroll into view

Member Function Documentation

◆ OnElementBecomingVisible()

virtual void UiDynamicScrollBoxElementNotifications::OnElementBecomingVisible ( AZ::EntityId  entityId,
int  index 
)
inlinevirtual

Called when an element is about to become visible. Used to populate the element with data for display. Used with lists that are not divided into sections

◆ OnElementInSectionBecomingVisible()

virtual void UiDynamicScrollBoxElementNotifications::OnElementInSectionBecomingVisible ( AZ::EntityId  entityId,
int  sectionIndex,
int  index 
)
inlinevirtual

Called when an element in a section is about to become visible. Used to populate the element with data for display Used with lists that are divided into sections

◆ OnPrepareElementForSizeCalculation()

virtual void UiDynamicScrollBoxElementNotifications::OnPrepareElementForSizeCalculation ( AZ::EntityId  entityId,
int  index 
)
inlinevirtual

Called when elements have variable sizes and are set to auto calculate. Used with lists that are not divided into sections

◆ OnPrepareElementInSectionForSizeCalculation()

virtual void UiDynamicScrollBoxElementNotifications::OnPrepareElementInSectionForSizeCalculation ( AZ::EntityId  entityId,
int  sectionIndex,
int  index 
)
inlinevirtual

Called when elements in sections have variable sizes and are set to auto calculate Used with lists that are divided into sections

◆ OnPrepareSectionHeaderForSizeCalculation()

virtual void UiDynamicScrollBoxElementNotifications::OnPrepareSectionHeaderForSizeCalculation ( AZ::EntityId  entityId,
int  sectionIndex 
)
inlinevirtual

Called when headers have variable sizes and are set to auto calculate. Used with lists that are divided into sections

◆ OnSectionHeaderBecomingVisible()

virtual void UiDynamicScrollBoxElementNotifications::OnSectionHeaderBecomingVisible ( AZ::EntityId  entityId,
int  sectionIndex 
)
inlinevirtual

Called when a header is about to become visible. Used to populate the header with data for display. Used with lists that are divided into sections


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