Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform > Accessibility
Inheritance Hierarchy
- TSharedFromThis
- IAccessibleWidget
References
Module | ApplicationCore |
Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/Accessibility/GenericAccessibleInterfaces.h |
Include | #include "GenericPlatform/Accessibility/GenericAccessibleInterfaces.h" |
Syntax
class IAccessibleWidget : public TSharedFromThis< IAccessibleWidget >
Remarks
Provides the core set of accessible data that is necessary in order for widget traversal and TTS to be implemented. In order to support functionality beyond this, subclasses must implement the other accessible interfaces and then override the As*() functions.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
IAccessibleActivatable * | Attempt to cast this to an IAccessibleActivatable | |
![]() ![]() |
IAccessibleProperty * | AsProperty () |
Attempt to cast this to an IAccessibleProperty |
![]() ![]() |
IAccessibleTable * | AsTable () |
Attempt to cast this to an IAccessibleTable |
![]() ![]() |
IAccessibleTableRow * | AsTableRow () |
Attempt to cast this to an IAccessibleTableRow |
![]() ![]() |
IAccessibleText * | AsText () |
Attempt to cast this to an IAccessibleText |
![]() ![]() |
IAccessibleWindow * | AsWindow () |
Attempt to cast this to an IAccessibleWindow |
![]() ![]() |
bool | Whether the widget can currently support accessible focus. | |
![]() ![]() |
FBox2D | GetBounds () |
Retrieving the bounding rect in absolute coordinates for this widget. |
![]() |
TSharedPtr< IAccessibleWidget > | GetChildAt
(
int32 Index |
Retrieves the accessible child widget at a certain index. |
![]() ![]() |
FString | GetClassName () |
The name of the underlying class that this accessible widget represents. |
![]() ![]() |
FString | GetHelpText () |
Additional information a user may need in order to effectively interact or use the widget, such as a tooltip. |
![]() ![]() |
AccessibleWidgetId | GetId () |
Get an application-unique identifier for this widget. |
![]() |
TSharedPtr< IAccessibleWidget > | Retrieves the widget after this one in the parent's list of children. | |
![]() |
TSharedPtr< IAccessibleWidget > | Retrieves the logical next widget in the accessible widget hierarchy from this widget. | |
![]() |
int32 | How many accessible children this widget has. | |
![]() |
TSharedPtr< IAccessibleWidget > | GetParent () |
Get the accessible parent of this widget. |
![]() |
TSharedPtr< IAccessibleWidget > | Retrieves the widget before this one in the parent's list of children. | |
![]() |
TSharedPtr< IAccessibleWidget > | Retrieves the logical previous widget in the accessible widget hierarchy from this current widget. | |
![]() ![]() |
FString | The name of the widget to report to the platform layer. | |
![]() ![]() |
EAccessibleWidgetType | What type of accessible widget the underlying widget should be treated as. | |
![]() ![]() |
TSharedPtr< IAccessibleWidget > | GetWindow () |
Returns the window at the top of this widget's hierarchy. |
![]() ![]() |
bool | HasUserFocus
(
const FAccessibleUserIndex UserIndex |
Whether the widget has accessible focus or not by a particular user . |
![]() ![]() |
bool | IsEnabled () |
Whether the widget is enabled and can be interacted with. |
![]() ![]() |
bool | IsHidden () |
Whether the widget is being rendered on screen or not. |
![]() ![]() |
bool | IsValid () |
Whether or not the underlying widget backing this interface still exists |
![]() ![]() |
TSharedPtr< IAccessibleWidget > | SearchForAncestorFrom
(
const TSharedRef< IAccessibleWidget >& Source, |
Returns the first instance of an ancestor from a source widget that satisfies a search criteria. |
![]() ![]() |
TSharedPtr< IAccessibleWidget > | SearchForFirstChildFrom
(
const TSharedRef< IAccessibleWidget >& Source, |
Returns the first instance of a child from a source widget that satisfies a search criteria. |
![]() ![]() |
TSharedPtr< IAccessibleWidget > | SearchForNextSiblingFrom
(
const TSharedRef< IAccessibleWidget >& Source, |
Returns the first instance of a next sibling from a source widget that satisfies a search criteria. |
![]() ![]() |
TSharedPtr< IAccessibleWidget > | SearchForNextWidgetInHierarchyFrom
(
const TSharedRef< IAccessibleWidget >& Source, |
Returns the first instance of a next widget in the accessible hierarchy from a source widget that satisfies a search criteria. |
![]() ![]() |
TSharedPtr< IAccessibleWidget > | SearchForPreviousSiblingFrom
(
const TSharedRef< IAccessibleWidget >& Source, |
Returns the first instance of a previous sibling from a source widget that satisfies a search criteria. |
![]() ![]() |
TSharedPtr< IAccessibleWidget > | SearchForPreviousWidgetInHierarchyFrom
(
const TSharedRef< IAccessibleWidget >& Source, |
Returns the first instance of a previous widget in the accessible hierarchy from a source widget that satisfies a search criteria. |
![]() |
bool | SetUserFocus
(
const FAccessibleUserIndex UserIndex |
Assign accessible focus to the widget. Also sets keyboard/gamepad focus if the widget supports it. |
![]() ![]() |
bool | Whether the widget can ever support accessible focus. | |
![]() ![]() |
bool | Whether the widget can ever support keyboard/gamepad focus. | |
![]() ![]() ![]() |
FString | ToString () |
Returns a string representation of this widget. Primarily used for debugging. |
Constants
Name | Description |
---|---|
InvalidAccessibleWidgetId |