Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Slate
Inheritance Hierarchy
- SObjectWidget
- IObjectTableRow
- SObjectTableRow
- SCommonButtonTableRow
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Slate/SObjectTableRow.h |
| Include | #include "Slate/SObjectTableRow.h" |
Syntax
template<typename ItemType>
class SObjectTableRow :
public SObjectWidget,
public IObjectTableRow
Remarks
It's an SObjectWidget! It's an ITableRow! It does it all!
By using UUserWidget::TakeDerivedWidget
The owning UUserWidget is expected to implement the IUserListItem UInterface, which allows the row widget to respond to various list-related events.
Note: Much of the implementation here matches STableRow
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnRowHovered | OnHovered | ||
| FOnRowHovered | OnUnhovered | ||
| TWeakObjectPtr< UListViewBase > | OwnerListView | ||
| TWeakPtr< ITypedTableView< ItemType > > | OwnerTablePtr |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs, |
||
| EActiveTimerReturnType | DetectItemSelectionChanged
(
double InCurrentTime, |
||
| const ItemType * | GetItemForThis
(
const TSharedRef< ITypedTableView< ItemType >>& OwnerTable |
||
| void | |||
| bool | |||
| void | NotifyItemExpansionChanged
(
bool bIsExpanded |
||
| void | OnItemSelectionChanged
(
bool bIsItemSelected |
||
| void |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FReply | OnDragDetected
(
const FGeometry& MyGeometry, |
Called when Slate detects that a widget started to be dragged. | |
| FReply | OnMouseButtonDoubleClick
(
const FGeometry& InMyGeometry, |
Called when a mouse button is double clicked. Override this in derived classes. | |
| FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. | |
| FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse button was release within it. | |
| void | OnMouseEnter
(
const FGeometry& MyGeometry, |
The system will use this event to notify a widget that the cursor has entered it. | |
| void | OnMouseLeave
(
const FPointerEvent& MouseEvent |
The system will use this event to notify a widget that the cursor has left it. | |
| FReply | OnTouchEnded
(
const FGeometry& MyGeometry, |
Called when a touchpad touch is ended (finger lifted) | |
| FReply | OnTouchStarted
(
const FGeometry& MyGeometry, |
Called when a touchpad touch is started (finger down) | |
| bool | Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Overridden from IObjectTableRow
| Type | Name | Description | |
|---|---|---|---|
| UListViewBase * | |||
| UUserWidget * |
Overridden from ITableRow
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | AsWidget () |
||
| int32 | |||
| TSharedPtr< SWidget > | GetContent () |
||
| int32 | |||
| int32 | |||
| FVector2D | GetRowSizeForColumn
(
const FName& InColumnName |
||
| ESelectionMode::Type | Called to query the selection mode for the row | ||
| TBitArray | |||
| void | Called when the row has been generated and associated with an item in the owning table. | ||
| bool | |||
| bool | |||
| bool | IsLastChild () |
||
| void | Called when the expander arrow for this row is shift+clicked | ||
| void | ResetRow () |
Called when the row has been released from the owning table and is no longer associated with any items therein. | |
| void | SetIndexInList
(
int32 InIndexInList |
||
| void | Toggle the expansion of the item associated with this row |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |