engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | 所有成员列表
ITableRow类 参考abstract

Interface for table views to talk to their rows. 更多...

#include <STableRow.h>

+ 类 ITableRow 继承关系图:

Public 成员函数

virtual TSharedRef< SWidget > AsWidget ()=0
 
virtual int32 DoesItemHaveChildren () const =0
 
virtual TSharedPtr< SWidget > GetContent ()=0
 
virtual int32 GetIndentLevel () const =0
 
virtual FVector2D GetRowSizeForColumn (const FName &InColumnName) const =0
 
virtual TBitArray GetWiresNeededByDepth () const =0
 
virtual void InitializeRow ()=0
 Called when the row has been generated and associated with an item in the owning table. 更多...
 
virtual bool IsItemExpanded () const =0
 
virtual bool IsItemSelected () const =0
 
virtual bool IsLastChild () const =0
 
virtual void Private_OnExpanderArrowShiftClicked ()=0
 Called when the expander arrow for this row is shift+clicked
 
virtual void ResetRow ()=0
 Called when the row has been released from the owning table and is no longer associated with any items therein. 更多...
 
virtual void SetIndexInList (int32 InIndexInList)=0
 
virtual void ToggleExpansion ()=0
 Toggle the expansion of the item associated with this row
 

Protected 成员函数

virtual ESelectionMode::Type GetSelectionMode () const =0
 Called to query the selection mode for the row
 

详细描述

Interface for table views to talk to their rows.

成员函数说明

◆ AsWidget()

virtual TSharedRef< SWidget > ITableRow::AsWidget ( )
pure virtual

◆ DoesItemHaveChildren()

virtual int32 ITableRow::DoesItemHaveChildren ( ) const
pure virtual

◆ GetContent()

virtual TSharedPtr< SWidget > ITableRow::GetContent ( )
pure virtual

◆ GetIndentLevel()

virtual int32 ITableRow::GetIndentLevel ( ) const
pure virtual
返回
how nested the item associated with this row when it is in a TreeView

在 STableRow< ItemType >, STableRow< OptionType >, STableRow< TSharedPtr< OptionType > > , 以及 SObjectTableRow< ItemType > 内被实现.

◆ GetRowSizeForColumn()

virtual FVector2D ITableRow::GetRowSizeForColumn ( const FName &  InColumnName) const
pure virtual
返回
the size for the specified column name

在 STableRow< ItemType >, STableRow< OptionType >, STableRow< TSharedPtr< OptionType > > , 以及 SObjectTableRow< ItemType > 内被实现.

◆ GetWiresNeededByDepth()

virtual TBitArray ITableRow::GetWiresNeededByDepth ( ) const
pure virtual
返回
BitArray where each entry corresponds to whether this item needs a vertical wire draw for that depth.

在 STableRow< ItemType >, STableRow< OptionType >, STableRow< TSharedPtr< OptionType > > , 以及 SObjectTableRow< ItemType > 内被实现.

◆ InitializeRow()

virtual void ITableRow::InitializeRow ( )
pure virtual

Called when the row has been generated and associated with an item in the owning table.

Any attempts to access the item associated with the row prior to this (i.e. in Construct()) will fail, as the association is not yet established in the owning table.

在 STableRow< ItemType >, STableRow< OptionType >, STableRow< TSharedPtr< OptionType > > , 以及 SObjectTableRow< ItemType > 内被实现.

◆ IsItemExpanded()

virtual bool ITableRow::IsItemExpanded ( ) const
pure virtual
返回
true if the corresponding item is expanded; false otherwise

在 STableRow< ItemType >, STableRow< OptionType >, STableRow< TSharedPtr< OptionType > > , 以及 SObjectTableRow< ItemType > 内被实现.

◆ IsItemSelected()

virtual bool ITableRow::IsItemSelected ( ) const
pure virtual
返回
True if the corresponding item is selected; false otherwise

在 STableRow< ItemType >, STableRow< OptionType >, STableRow< TSharedPtr< OptionType > > , 以及 SObjectTableRow< ItemType > 内被实现.

◆ IsLastChild()

virtual bool ITableRow::IsLastChild ( ) const
pure virtual
返回
true if this item is the last direct descendant of its parent.

在 STableRow< ItemType >, STableRow< OptionType >, STableRow< TSharedPtr< OptionType > > , 以及 SObjectTableRow< ItemType > 内被实现.

◆ ResetRow()

virtual void ITableRow::ResetRow ( )
pure virtual

Called when the row has been released from the owning table and is no longer associated with any items therein.

Only relevant if the row widgets are pooled or otherwise referenced/kept alive outside the owning table. Otherwise, the row is destroyed.

在 STableRow< ItemType >, STableRow< OptionType >, STableRow< TSharedPtr< OptionType > > , 以及 SObjectTableRow< ItemType > 内被实现.

◆ SetIndexInList()

virtual void ITableRow::SetIndexInList ( int32  InIndexInList)
pure virtual
参数
InIndexInListThe index of the item for which this widget was generated

在 STableRow< ItemType >, STableRow< OptionType >, STableRow< TSharedPtr< OptionType > > , 以及 SObjectTableRow< ItemType > 内被实现.


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