engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
ITypedTableView< ItemType > 模板类 参考abstract

Interface for container widgets to talk to the owner list, tree, or grid. 更多...

#include <ITypedTableView.h>

+ 类 ITypedTableView< ItemType > 继承关系图:

Public 成员函数

virtual TSharedRef< SWidget > AsWidget ()=0
 
virtual TArray< ItemType > GetSelectedItems () const =0
 
virtual ETableViewMode::Type GetTableViewMode () const =0
 
virtual void Private_ClearHighlightedItems ()=0
 Empty the set of highlighted items.
 
virtual void Private_ClearSelection ()=0
 Empty the selection set.
 
virtual bool Private_DoesItemHaveChildren (int32 ItemIndexInList) const =0
 
virtual int32 Private_GetNestingDepth (int32 ItemIndexInList) const =0
 
virtual int32 Private_GetNumSelectedItems () const =0
 
virtual EOrientation Private_GetOrientation () const =0
 
virtual ESelectionMode::Type Private_GetSelectionMode () const =0
 
virtual const TBitArray & Private_GetWiresNeededByDepth (int32 ItemIndexInList) const =0
 
virtual bool Private_HasSelectorFocus (const ItemType &TheItem) const =0
 Test if the item passed in has selector focus. 更多...
 
virtual bool Private_IsItemExpanded (const ItemType &TheItem) const =0
 
virtual bool Private_IsItemHighlighted (const ItemType &TheItem) const =0
 Test if the current item should be highlighted. 更多...
 
virtual bool Private_IsItemSelectableOrNavigable (const ItemType &TheItem) const =0
 Test if the current item can be selected or navigated to. 更多...
 
virtual bool Private_IsItemSelected (const ItemType &TheItem) const =0
 Test if the current item is selected. 更多...
 
virtual bool Private_IsLastChild (int32 ItemIndexInList) const =0
 
virtual bool Private_IsPendingRefresh () const =0
 Is the list pending a refresh?
 
virtual const ItemType * Private_ItemFromWidget (const ITableRow *TheWidget) const =0
 Given a Widget, find the corresponding data item. 更多...
 
virtual void Private_OnExpanderArrowShiftClicked (ItemType TheItem, bool bShouldBeExpanded)=0
 Called when the expander arrow for the given item is shift+clicked. 更多...
 
virtual bool Private_OnItemClicked (ItemType TheItem)=0
 Called when the item is clicked, and returns whether or not the event was handled
 
virtual bool Private_OnItemDoubleClicked (ItemType TheItem)=0
 Called when the item is double-clicked, and returns whether or not the event was handled
 
virtual void Private_OnItemRightClicked (ItemType TheItem, const FPointerEvent &MouseEvent)=0
 Called when the item is right-clicked when not right mouse scrolling
 
virtual void Private_SelectRangeFromCurrentTo (ItemType SelectorItem)=0
 Select a range of items from the current RangeSelectionStart to the SelectorItem Does not cause an OnSelectionChanged()! 更多...
 
virtual void Private_SetItemExpansion (ItemType TheItem, bool bShouldBeExpanded)=0
 Set whether some data item is expanded or not. 更多...
 
virtual void Private_SetItemHighlighted (ItemType TheItem, bool bShouldBeHighlighted)=0
 Enable a soft highlight on the element. 更多...
 
virtual void Private_SetItemSelection (ItemType TheItem, bool bShouldBeSelected, bool bWasUserDirected=false)=0
 Set the selection state of an item. 更多...
 
virtual void Private_SignalSelectionChanged (ESelectInfo::Type SelectInfo)=0
 Notify the ItemsWidget that we changed its selection. 更多...
 
virtual bool Private_UsesSelectorFocus () const =0
 Returns whether the table view uses selector focus. 更多...
 
virtual TSharedPtr< ITableRow > WidgetFromItem (const ItemType &InItem) const =0
 Find a widget for this item if it has already been constructed. 更多...
 

详细描述

template<typename ItemType>
class ITypedTableView< ItemType >

Interface for container widgets to talk to the owner list, tree, or grid.

成员函数说明

◆ AsWidget()

template<typename ItemType >
virtual TSharedRef< SWidget > ITypedTableView< ItemType >::AsWidget ( )
pure virtual
返回
a shared reference to the widgets; required for forwarding focus.

在 SListView< ItemType >, SListView< TSharedPtr< FColorTheme > >, SListView< OptionType >, SListView< TSharedPtr< FString > > , 以及 SListView< UObject * > 内被实现.

◆ GetSelectedItems()

template<typename ItemType >
virtual TArray< ItemType > ITypedTableView< ItemType >::GetSelectedItems ( ) const
pure virtual

◆ GetTableViewMode()

template<typename ItemType >
virtual ETableViewMode::Type ITypedTableView< ItemType >::GetTableViewMode ( ) const
pure virtual

◆ Private_DoesItemHaveChildren()

template<typename ItemType >
virtual bool ITypedTableView< ItemType >::Private_DoesItemHaveChildren ( int32  ItemIndexInList) const
pure virtual
参数
ItemIndexInListThe index of the data item in the linearized array.
返回
true if the item has children

在 SListView< ItemType >, SListView< TSharedPtr< FColorTheme > >, SListView< OptionType >, SListView< TSharedPtr< FString > > , 以及 SListView< UObject * > 内被实现.

◆ Private_GetNestingDepth()

template<typename ItemType >
virtual int32 ITypedTableView< ItemType >::Private_GetNestingDepth ( int32  ItemIndexInList) const
pure virtual
参数
ItemIndexInListThe index of the data item in the linearized array.
返回
Nesting level within the tree: 0 is root-level, 1 is children of root, etc.

在 SListView< ItemType >, SListView< TSharedPtr< FColorTheme > >, SListView< OptionType >, SListView< TSharedPtr< FString > > , 以及 SListView< UObject * > 内被实现.

◆ Private_GetNumSelectedItems()

template<typename ItemType >
virtual int32 ITypedTableView< ItemType >::Private_GetNumSelectedItems ( ) const
pure virtual

◆ Private_GetOrientation()

template<typename ItemType >
virtual EOrientation ITypedTableView< ItemType >::Private_GetOrientation ( ) const
pure virtual

◆ Private_GetSelectionMode()

template<typename ItemType >
virtual ESelectionMode::Type ITypedTableView< ItemType >::Private_GetSelectionMode ( ) const
pure virtual

◆ Private_GetWiresNeededByDepth()

template<typename ItemType >
virtual const TBitArray & ITypedTableView< ItemType >::Private_GetWiresNeededByDepth ( int32  ItemIndexInList) const
pure virtual
返回
a TBitArray in which each true bit indicates that a vertical wire is needed at this depth of the tree view.

在 SListView< ItemType >, SListView< TSharedPtr< FColorTheme > >, SListView< OptionType >, SListView< TSharedPtr< FString > > , 以及 SListView< UObject * > 内被实现.

◆ Private_HasSelectorFocus()

template<typename ItemType >
virtual bool ITypedTableView< ItemType >::Private_HasSelectorFocus ( const ItemType &  TheItem) const
pure virtual

Test if the item passed in has selector focus.

参数
InItemThe item to test.
返回
true if the item has selector focus in this list; false otherwise.

在 SListView< ItemType > 内被实现.

◆ Private_IsItemExpanded()

template<typename ItemType >
virtual bool ITypedTableView< ItemType >::Private_IsItemExpanded ( const ItemType &  TheItem) const
pure virtual
参数
InItemThe data item whose expansion state to query
返回
true if the item is expanded; false otherwise.

在 SListView< ItemType > 内被实现.

◆ Private_IsItemHighlighted()

template<typename ItemType >
virtual bool ITypedTableView< ItemType >::Private_IsItemHighlighted ( const ItemType &  TheItem) const
pure virtual

Test if the current item should be highlighted.

This is separate from hover highlights.

参数
TheItemThe item to test.
返回
true if the item is marked as highlighted in this list; false otherwise.

在 SListView< ItemType > 内被实现.

◆ Private_IsItemSelectableOrNavigable()

template<typename ItemType >
virtual bool ITypedTableView< ItemType >::Private_IsItemSelectableOrNavigable ( const ItemType &  TheItem) const
pure virtual

Test if the current item can be selected or navigated to.

参数
InItemThe item to test.
返回
true if the item is selectable or navigable; false otherwise.

在 SListView< ItemType > 内被实现.

◆ Private_IsItemSelected()

template<typename ItemType >
virtual bool ITypedTableView< ItemType >::Private_IsItemSelected ( const ItemType &  TheItem) const
pure virtual

Test if the current item is selected.

参数
InItemThe item to test.
返回
true if the item is selected in this list; false otherwise.

在 SListView< ItemType > 内被实现.

◆ Private_IsLastChild()

template<typename ItemType >
virtual bool ITypedTableView< ItemType >::Private_IsLastChild ( int32  ItemIndexInList) const
pure virtual
返回
true if this item is the last direct descendant of its parent.

在 SListView< ItemType >, SListView< TSharedPtr< FColorTheme > >, SListView< OptionType >, SListView< TSharedPtr< FString > > , 以及 SListView< UObject * > 内被实现.

◆ Private_ItemFromWidget()

template<typename ItemType >
virtual const ItemType * ITypedTableView< ItemType >::Private_ItemFromWidget ( const ITableRow *  TheWidget) const
pure virtual

Given a Widget, find the corresponding data item.

参数
TheWidgetA widget generated by the list view for some data item.
返回
The data item from which TheWidget was generated

在 SListView< ItemType >, SListView< TSharedPtr< FColorTheme > >, SListView< OptionType >, SListView< TSharedPtr< FString > > , 以及 SListView< UObject * > 内被实现.

◆ Private_OnExpanderArrowShiftClicked()

template<typename ItemType >
virtual void ITypedTableView< ItemType >::Private_OnExpanderArrowShiftClicked ( ItemType  TheItem,
bool  bShouldBeExpanded 
)
pure virtual

Called when the expander arrow for the given item is shift+clicked.

参数
InItemThe item whose expansion state to control
InExpandItemIf true the item should be expanded; otherwise collapsed

在 SListView< ItemType > 内被实现.

◆ Private_SelectRangeFromCurrentTo()

template<typename ItemType >
virtual void ITypedTableView< ItemType >::Private_SelectRangeFromCurrentTo ( ItemType  SelectorItem)
pure virtual

Select a range of items from the current RangeSelectionStart to the SelectorItem Does not cause an OnSelectionChanged()!

参数
SelectorItemThe endpoint item at which the selection should stop.

在 SListView< ItemType > 内被实现.

◆ Private_SetItemExpansion()

template<typename ItemType >
virtual void ITypedTableView< ItemType >::Private_SetItemExpansion ( ItemType  TheItem,
bool  bShouldBeExpanded 
)
pure virtual

Set whether some data item is expanded or not.

参数
InItemThe item whose expansion state to control
InExpandItemIf true the item should be expanded; otherwise collapsed

在 SListView< ItemType > 内被实现.

◆ Private_SetItemHighlighted()

template<typename ItemType >
virtual void ITypedTableView< ItemType >::Private_SetItemHighlighted ( ItemType  TheItem,
bool  bShouldBeHighlighted 
)
pure virtual

Enable a soft highlight on the element.

This is useful for explaining parent/child relationships without actually modifying selection. Unrelated to any hover highlights.

参数
TheItemThe item whose highlighted state to change.
bShouldBeHighlightedEnables a highlight on this item if true, otherwise disables the highlight.

在 SListView< ItemType > 内被实现.

◆ Private_SetItemSelection()

template<typename ItemType >
virtual void ITypedTableView< ItemType >::Private_SetItemSelection ( ItemType  TheItem,
bool  bShouldBeSelected,
bool  bWasUserDirected = false 
)
pure virtual

Set the selection state of an item.

Does not cause an OnSelectionChanged()!

参数
InItemThe Item whose selection state to modify
bSelectedtrue to select the item; false to unselect
bWasUserDirectedtrue if the user specifically, directly selected this item; false otherwise

在 SListView< ItemType > 内被实现.

◆ Private_SignalSelectionChanged()

template<typename ItemType >
virtual void ITypedTableView< ItemType >::Private_SignalSelectionChanged ( ESelectInfo::Type  SelectInfo)
pure virtual

Notify the ItemsWidget that we changed its selection.

Triggers as OnSelectionChanged().

参数
SelectInfoProvides context on how the selection changed

在 SListView< ItemType >, SListView< TSharedPtr< FColorTheme > >, SListView< OptionType >, SListView< TSharedPtr< FString > >, SListView< UObject * >, STreeView< ItemType > , 以及 STreeView< UObject * > 内被实现.

◆ Private_UsesSelectorFocus()

template<typename ItemType >
virtual bool ITypedTableView< ItemType >::Private_UsesSelectorFocus ( ) const
pure virtual

Returns whether the table view uses selector focus.

返回
true if the table view uses selector focus; false otherwise.

在 SListView< ItemType >, SListView< TSharedPtr< FColorTheme > >, SListView< OptionType >, SListView< TSharedPtr< FString > > , 以及 SListView< UObject * > 内被实现.

◆ WidgetFromItem()

template<typename ItemType >
virtual TSharedPtr< ITableRow > ITypedTableView< ItemType >::WidgetFromItem ( const ItemType &  InItem) const
pure virtual

Find a widget for this item if it has already been constructed.

参数
InItemThe item for which to find the widget.
返回
A pointer to the corresponding widget if it exists; otherwise nullptr.

在 SListView< ItemType > 内被实现.


该类的文档由以下文件生成: