FSlateHyperlinkRun

Windows
MacOS
Linux

Inheritance Hierarchy

ISlateRun

TSharedFromThis

FSlateHyperlinkRun

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Text/SlateHyperlinkRun.h

Include

#include "Framework/Text/SlateHyperlinkRun.h"

Syntax

class FSlateHyperlinkRun :
    public ISlateRun ,
    public TSharedFromThis< FSlateHyperlinkRun >

Variables

Name Description

Protected variable

TArray < TShared ...

 

Children

Protected variable

FOnClick

 

NavigateDelegate

Protected variable

FTextRange

 

Range

Protected variable

FRunInfo

 

RunInfo

Protected variable

FHyperlinkStyle

 

Style

Protected variable

TSharedRef < con...

 

Text

Protected variable

FOnGenerateTool ...

 

TooltipDelegate

Protected variable

FOnGetTooltipTe ...

 

TooltipTextDelegate

Protected variable

TSharedRef < FWi ...

 

ViewModel

Constructors

Name Description

Protected function

FSlateHyperlinkRun

(
    const FSlateHyperlinkRun & Run
)

Protected function

FSlateHyperlinkRun

(
    const FRunInfo & InRunInfo,
    const TSharedRef < const FString >&...,
    const FHyperlinkStyle & InStyle,
    FOnClick InNavigateDelegate,
    FOnGenerateTooltip InTooltipDelegat...,
    FOnGetTooltipText InTooltipTextDele...
)

Protected function

FSlateHyperlinkRun

(
    const FRunInfo & InRunInfo,
    const TSharedRef < const FString >&...,
    const FHyperlinkStyle & InStyle,
    FOnClick InNavigateDelegate,
    FOnGenerateTooltip InTooltipDelegat...,
    FOnGetTooltipText InTooltipTextDele...,
    const FTextRange & InRange
)

Destructors

Name Description

Public function Virtual

~FSlateHyperlinkRun()

Functions

Name Description

Public function Static

TSharedRef < ...

 

Create

(
    const FRunInfo & InRunInfo,
    const TSharedRef < const FString >&...,
    const FHyperlinkStyle & InStyle,
    FOnClick NavigateDelegate,
    FOnGenerateTooltip InTooltipDelegat...,
    FOnGetTooltipText InTooltipTextDele...,
    const FTextRange & InRange
)

Public function Static

TSharedRef < ...

 

Create

(
    const FRunInfo & InRunInfo,
    const TSharedRef < const FString >&...,
    const FHyperlinkStyle & InStyle,
    FOnClick NavigateDelegate,
    FOnGenerateTooltip InTooltipDelegat...,
    FOnGetTooltipText InTooltipTextDele...
)

Protected function

void

 

OnNavigate()

Overridden from ISlateRun

Name Description

Public function Virtual Const

void

 

ArrangeChildren

(
    const TSharedRef < ILayoutBlock >& ...,
    const FGeometry & AllottedGeometry,
    FArrangedChildren & ArrangedChildre...
)

Public function Virtual

const TArray ...

 

GetChildren()

Public function Virtual Const

int32

 

OnPaint

(
    const FPaintArgs & Args,
    const FTextLayout::FLineView & Line,
    const TSharedRef < ILayoutBlock >& ...,
    const FTextBlockStyle & DefaultStyl...,
    const FGeometry & AllottedGeometry,
    const FSlateRect & MyCullingRect,
    FSlateWindowElementList & OutDrawEl...,
    int32 LayerId,
    const FWidgetStyle & InWidgetStyle,
    bool bParentEnabled
)

Overridden from IRun

Name Description

Public function Virtual Const

void

 

AppendTextTo

(
    FString & AppendToText,
    const FTextRange & PartialRange
)

Public function Virtual Const

void

 

AppendTextTo

(
    FString & AppendToText
)

Public function Virtual

void

 

BeginLayout()

Public function Virtual Const

TSharedRef < ...

 

Clone()

Public function Virtual

TSharedRef < ...

 

CreateBlock

(
    int32 StartIndex,
    int32 EndIndex,
    FVector2D Size,
    const FLayoutBlockTextContext & Tex...,
    const TSharedPtr < IRunRenderer >& ...
)

Public function Virtual

void

 

EndLayout()

Public function Virtual Const

int16

 

GetBaseLine

(
    float Scale
)

Public function Virtual Const

int8

 

GetKerning

(
    int32 CurrentIndex,
    float Scale,
    const FRunTextContext & TextContext
)

Public function Virtual Const

FVector2D

 

GetLocationAt

(
    const TSharedRef < ILayoutBlock >& ...,
    int32 Offset,
    float Scale
)

Public function Virtual Const

int16

 

GetMaxHeight

(
    float Scale
)

Public function Virtual Const

ERunAttribut ...

 

GetRunAttributes()

Public function Virtual Const

const FRunIn ...

 

GetRunInfo()

Public function Virtual Const

int32

 

GetTextIndexAt

(
    const TSharedRef < ILayoutBlock >& ...,
    const FVector2D & Location,
    float Scale,
    ETextHitPoint *const OutHitPoin...
)

Public function Virtual Const

FTextRange

 

GetTextRange()

Public function Virtual Const

FVector2D

 

Measure

(
    int32 StartIndex,
    int32 EndIndex,
    float Scale,
    const FRunTextContext & TextContext
)

Public function Virtual

void

 

Move

(
    const TSharedRef < FString >& NewTe...,
    const FTextRange & NewRange
)

Public function Virtual

void

 

SetTextRange

(
    const FTextRange & Value
)

Classes

Name

Description

Public class

FWidgetViewModel

Typedefs

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback