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

Platform owners implement this class to interface with the platform's input method system. 更多...

#include <ITextInputMethodSystem.h>

被 FMacTextInputMethodSystem , 以及 FWindowsTextInputMethodSystem 继承.

Public 成员函数

virtual void ActivateContext (const TSharedRef< ITextInputMethodContext > &Context)=0
 Activates the provided context. 更多...
 
virtual void ApplyDefaults (const TSharedRef< FGenericWindow > &InWindow)=0
 Called when a window is first created to allow the text input system to apply any default settings
 
virtual void DeactivateContext (const TSharedRef< ITextInputMethodContext > &Context)=0
 Deactivates the provided context. 更多...
 
virtual bool IsActiveContext (const TSharedRef< ITextInputMethodContext > &Context) const =0
 Test to see whether the provided context is the currently active context 更多...
 
virtual TSharedPtr< ITextInputMethodChangeNotifier > RegisterContext (const TSharedRef< ITextInputMethodContext > &Context)=0
 Registers an implemented context interface object with the system to receive callbacks and provides an implemented notifier interface object. 更多...
 
virtual void UnregisterContext (const TSharedRef< ITextInputMethodContext > &Context)=0
 Unregisters an implemented context interface object with the system. 更多...
 

详细描述

Platform owners implement this class to interface with the platform's input method system.

成员函数说明

◆ ActivateContext()

virtual void ITextInputMethodSystem::ActivateContext ( const TSharedRef< ITextInputMethodContext > &  Context)
pure virtual

Activates the provided context.

Editable text should call this method when keyboard focus is received.

参数
ContextThe context to be activated.

◆ DeactivateContext()

virtual void ITextInputMethodSystem::DeactivateContext ( const TSharedRef< ITextInputMethodContext > &  Context)
pure virtual

Deactivates the provided context.

Editable text should call this method when keyboard focus is lost.

参数
ContextThe context to be activated.

◆ IsActiveContext()

virtual bool ITextInputMethodSystem::IsActiveContext ( const TSharedRef< ITextInputMethodContext > &  Context) const
pure virtual

Test to see whether the provided context is the currently active context

参数
ContextThe context to be checked.
返回
True if the context is active, false otherwise

◆ RegisterContext()

virtual TSharedPtr< ITextInputMethodChangeNotifier > ITextInputMethodSystem::RegisterContext ( const TSharedRef< ITextInputMethodContext > &  Context)
pure virtual

Registers an implemented context interface object with the system to receive callbacks and provides an implemented notifier interface object.

Editable text should call this method after constructing an implemented context interface object.

参数
ContextThe implemented context interface object to be registered.
返回
An implemented notifier interface object

◆ UnregisterContext()

virtual void ITextInputMethodSystem::UnregisterContext ( const TSharedRef< ITextInputMethodContext > &  Context)
pure virtual

Unregisters an implemented context interface object with the system.

Editable text should call this method before destroying an implemented context interface object.

参数
ContextThe implemented context interface object to be unregistered.

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