#include <UiDynamicScrollBoxBus.h>
Inherits AZ::ComponentBus.
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
◆ 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:
- Gems/LyShine/Code/Include/LyShine/Bus/UiDynamicScrollBoxBus.h