UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ITypedTableView.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "Widgets/SWidget.h"
8#include "ITypedTableView.generated.h"
9
10class ITableRow;
11
12UENUM()
14{
15 enum Type : int
16 {
19
22
25
27 Multi
28 };
29}
30
31
33UENUM()
35{
36 enum Type : int
37 {
40 Tree
41 };
42}
43
44
46template<typename ItemType>
48{
49public:
55 virtual bool Private_UsesSelectorFocus() const = 0;
56
64 virtual bool Private_HasSelectorFocus( const ItemType& TheItem ) const = 0;
65
73 virtual bool Private_IsItemSelected( const ItemType& TheItem ) const = 0;
74
82 virtual bool Private_IsItemSelectableOrNavigable(const ItemType& TheItem) const = 0;
83
91 virtual bool Private_IsItemHighlighted(const ItemType& TheItem) const = 0;
92
100 virtual void Private_SetItemSelection( ItemType TheItem, bool bShouldBeSelected, bool bWasUserDirected = false ) = 0;
101
105 virtual void Private_ClearSelection() = 0;
106
113 virtual void Private_SelectRangeFromCurrentTo( ItemType SelectorItem ) = 0;
114
122
131
138 virtual void Private_SetItemExpansion( ItemType TheItem, bool bShouldBeExpanded ) = 0;
139
147
153 virtual bool Private_IsItemExpanded( const ItemType& TheItem ) const = 0;
154
161
164
172
177
184
190
193
195 virtual void Private_OnItemRightClicked( ItemType TheItem, const FPointerEvent& MouseEvent ) = 0;
196
198 virtual bool Private_OnItemClicked(ItemType TheItem) = 0;
199
201 virtual bool Private_OnItemDoubleClicked( ItemType TheItem ) = 0;
202
205
208
210 virtual bool Private_IsPendingRefresh() const = 0;
211
214
222 virtual TSharedPtr<ITableRow> WidgetFromItem(const ItemType& InItem) const = 0;
223
226
229
230};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UENUM(...)
Definition ObjectMacros.h:749
typename UE::Core::Private::TObjectPtrWrapTypeOf< T >::Type TObjectPtrWrapTypeOf
Definition ObjectPtr.h:1761
EOrientation
Definition SlateEnums.h:261
Definition ITableRow.h:15
Definition ITypedTableView.h:48
virtual bool Private_IsItemHighlighted(const ItemType &TheItem) const =0
virtual bool Private_IsItemExpanded(const ItemType &TheItem) const =0
virtual TSharedRef< SWidget > AsWidget()=0
virtual bool Private_IsItemSelected(const ItemType &TheItem) const =0
virtual int32 Private_GetNumSelectedItems() const =0
virtual void Private_OnExpanderArrowShiftClicked(ItemType TheItem, bool bShouldBeExpanded)=0
virtual ETableViewMode::Type GetTableViewMode() const =0
virtual void Private_SelectRangeFromCurrentTo(ItemType SelectorItem)=0
virtual bool Private_IsItemSelectableOrNavigable(const ItemType &TheItem) const =0
virtual void Private_SetItemExpansion(ItemType TheItem, bool bShouldBeExpanded)=0
virtual bool Private_OnItemClicked(ItemType TheItem)=0
virtual bool Private_IsLastChild(int32 ItemIndexInList) const =0
virtual bool Private_HasSelectorFocus(const ItemType &TheItem) const =0
virtual void Private_OnItemRightClicked(ItemType TheItem, const FPointerEvent &MouseEvent)=0
virtual const TBitArray & Private_GetWiresNeededByDepth(int32 ItemIndexInList) const =0
virtual TSharedPtr< ITableRow > WidgetFromItem(const ItemType &InItem) const =0
virtual const TObjectPtrWrapTypeOf< ItemType > * Private_ItemFromWidget(const ITableRow *TheWidget) const =0
virtual EOrientation Private_GetOrientation() const =0
virtual bool Private_OnItemDoubleClicked(ItemType TheItem)=0
virtual int32 Private_GetNestingDepth(int32 ItemIndexInList) const =0
virtual void Private_ClearSelection()=0
virtual void Private_SignalSelectionChanged(ESelectInfo::Type SelectInfo)=0
virtual TArray< ItemType > GetSelectedItems() const =0
virtual bool Private_UsesSelectorFocus() const =0
virtual ESelectionMode::Type Private_GetSelectionMode() const =0
virtual bool Private_DoesItemHaveChildren(int32 ItemIndexInList) const =0
virtual void Private_ClearHighlightedItems()=0
virtual void Private_SetItemSelection(ItemType TheItem, bool bShouldBeSelected, bool bWasUserDirected=false)=0
virtual bool Private_IsPendingRefresh() const =0
virtual void Private_SetItemHighlighted(ItemType TheItem, bool bShouldBeHighlighted)=0
Definition Array.h:670
Definition SharedPointer.h:692
Definition SharedPointer.h:153
Type
Definition SlateEnums.h:311
Definition ITypedTableView.h:14
Type
Definition ITypedTableView.h:16
@ SingleToggle
Definition ITypedTableView.h:24
Definition ITypedTableView.h:35
Type
Definition ITypedTableView.h:37
@ List
Definition ITypedTableView.h:38
@ Tree
Definition ITypedTableView.h:40
Definition Events.h:695