ITypedTableView

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

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Views/ITypedTableView.h

Include

#include "Framework/Views/ITypedTableView.h"

Syntax

template<typename ItemType>
class ITypedTableView

Remarks

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

Functions

Name Description

Public function

TSharedRef< ...

 

AsWidget()

Public function Const

TArray< Item...

 

GetSelectedItems()

Public function Const

ETableViewMo...

 

GetTableViewMode()

Public function

void

 

Private_ClearHighlightedItems()

Empty the set of highlighted items.

Public function

void

 

Private_ClearSelection()

Empty the selection set.

Public function Const

bool

 

Private_DoesItemHaveChildren

(
    int32 ItemIndexInList
)

Public function Const

int32

 

Private_GetNestingDepth

(
    int32 ItemIndexInList
)

Public function Const

int32

 

Private_GetNumSelectedItems()

Public function Const

EOrientation

 

Private_GetOrientation()

Public function Const

ESelectionMo...

 

Private_GetSelectionMode()

Public function Const

const TBitAr...

 

Private_GetWiresNeededByDepth

(
    int32 ItemIndexInList
)

Public function Const

bool

 

Private_HasSelectorFocus

(
    const ItemType& TheItem
)

Test if the item passed in has selector focus.

Public function Const

bool

 

Private_IsItemExpanded

(
    const ItemType& TheItem
)

Public function Const

bool

 

Private_IsItemHighlighted

(
    const ItemType& TheItem
)

Test if the current item should be highlighted. This is separate from hover highlights.

Public function Const

bool

 

Private_IsItemSelectableOrNavigable

(
    const ItemType& TheItem
)

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

Public function Const

bool

 

Private_IsItemSelected

(
    const ItemType& TheItem
)

Test if the current item is selected.

Public function Const

bool

 

Private_IsLastChild

(
    int32 ItemIndexInList
)

Public function Const

bool

 

Private_IsPendingRefresh()

Is the list pending a refresh?

Public function Const

const ItemTy...

 

Private_ItemFromWidget

(
    const ITableRow* TheWidget
)

Given a Widget, find the corresponding data item.

Public function

void

 

Private_OnExpanderArrowShiftClicked

(
    ItemType TheItem,
    bool bShouldBeExpanded
)

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

Public function

bool

 

Private_OnItemClicked

(
    ItemType TheItem
)

Called when the item is clicked, and returns whether or not the event was handled

Public function

bool

 

Private_OnItemDoubleClicked

(
    ItemType TheItem
)

Called when the item is double-clicked, and returns whether or not the event was handled

Public function

void

 

Private_OnItemRightClicked

(
    ItemType TheItem,
    const FPointerEvent& MouseEvent
)

Called when the item is right-clicked when not right mouse scrolling

Public function

void

 

Private_SelectRangeFromCurrentTo

(
    ItemType SelectorItem
)

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

Public function

void

 

Private_SetItemExpansion

(
    ItemType TheItem,
    bool bShouldBeExpanded
)

Set whether some data item is expanded or not.

Public function

void

 

Private_SetItemHighlighted

(
    ItemType TheItem,
    bool bShouldBeHighlighted
)

Enable a soft highlight on the element.

Public function

void

 

Private_SetItemSelection

(
    ItemType TheItem,
    bool bShouldBeSelected,
    bool bWasUserDirected
)

Set the selection state of an item. Does not cause an OnSelectionChanged()!

Public function

void

 

Private_SignalSelectionChanged

(
    ESelectInfo::Type SelectInfo
)

Notify the ItemsWidget that we changed its selection. Triggers as OnSelectionChanged().

Public function Const

bool

 

Private_UsesSelectorFocus()

Returns whether the table view uses selector focus.

Public function Const

TSharedPtr< ...

 

WidgetFromItem

(
    const ItemType& InItem
)

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