Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
TextEditComponent Class Reference
Inheritance diagram for TextEditComponent:

Public Member Functions

virtual ::std::unique_ptr<::UIComponent > clone (::UIControl &cloneOwner) const
virtual void reload (::UIComponent const &rhs)
virtual void reset ()
virtual::ComponentReceiveActionType receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
virtual void onVisibilityChanged (bool visible)
virtual::std::string const & getTextToSpeechComponentValue () const
MCAPI TextEditComponent (::UIControl &owner)
MCAPI void _hidePlaceHolderControl ()
MCAPI void _showPlaceHolderControl ()
MCAPI bool _textFitsInControl (::std::string const &text) const
MCAPI void deselectControl ()
MCAPI::RectangleArea getMinTextArea () const
MCAPI::std::string getText () const
MCAPI::RectangleArea getTextArea () const
MCAPI void handleFocusSet (bool focused)
MCAPI::TextCharEventResult handleTextCharEvent (::VisualTree &visualTree, ::std::string const &inputUtf8)
MCAPI void registerPropertyChangedNotifications ()
MCAPI void selectControl ()
MCAPI void setText (::std::string const &text)
MCAPI bool trySetText (::std::string text)
MCAPI void updateCaretBlink (float dt)
MCAPI void * $ctor (::UIControl &owner)
MCAPI ::std::unique_ptr<::UIComponent > $clone (::UIControl &cloneOwner) const
MCAPI void $reload (::UIComponent const &rhs)
MCAPI void $reset ()
MCAPI::ComponentReceiveActionType $receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
MCAPI void $onVisibilityChanged (bool visible)
MCAPI::std::string const & $getTextToSpeechComponentValue () const
virtual::ComponentReceiveActionType receive (::ScreenEvent const &screenEvent)
virtual void onNotifyChildAdded ()
virtual void onNotifyChildRemoved ()
virtual void onRemoved ()
virtual void onAdded ()
virtual void onEnabledChanged (bool enabled)
virtual bool isRenderableComponent () const
virtual bool isCustomFrameUpdateComponent () const
virtual bool onLayoutChange ()
MCAPI::ComponentReceiveActionType $receive (::ScreenEvent const &screenEvent)
MCAPI void $onNotifyChildAdded ()
MCAPI void $onNotifyChildRemoved ()
MCAPI void $onRemoved ()
MCAPI void $onAdded ()
MCAPI void $onEnabledChanged (bool enabled)
MCAPI bool $isRenderableComponent () const
MCAPI bool $isCustomFrameUpdateComponent () const
MCAPI bool $onLayoutChange ()

Public Attributes

::ll::TypedStorage< 4, 4, uint > mMaxLength
::ll::TypedStorage< 1, 1, bool > mConstrainToRect
::ll::TypedStorage< 1, 1, bool > mEnabledNewline
::ll::TypedStorage< 4, 4, ::TextType > mTextType
::ll::TypedStorage< 8, 80, ::FontHandle > mFontHandle
::ll::TypedStorage< 4, 16, ::mce::Color > mPlaceHolderHoverColor
::ll::TypedStorage< 4, 16, ::mce::Color > mPlaceHolderDefaultColor
::ll::TypedStorage< 1, 1, bool > mHover
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mVirtualKeyboardBufferControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mLabelControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mPlaceHolderControl
::ll::TypedStorage< 8, 32, ::std::string > mGridCollectionName
::ll::TypedStorage< 4, 4, uint > mTextEditComponentId
::ll::TypedStorage< 1, 1, bool > mCanBeDeselected
::ll::TypedStorage< 1, 1, bool > mSelected
::ll::TypedStorage< 1, 1, bool > mFocused
::ll::TypedStorage< 1, 1, bool > mAlwaysListening
::ll::TypedStorage< 8, 8, ::UIControl & > mOwner

Constructor & Destructor Documentation

◆ TextEditComponent()

MCAPI TextEditComponent::TextEditComponent ( ::UIControl & owner)
explicit
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ clone()

virtual ::std::unique_ptr<::UIComponent > TextEditComponent::clone ( ::UIControl & cloneOwner) const
virtual

Implements UIComponent.

◆ reload()

virtual void TextEditComponent::reload ( ::UIComponent const & rhs)
virtual

Reimplemented from UIComponent.

◆ reset()

virtual void TextEditComponent::reset ( )
virtual

Implements UIComponent.

◆ onVisibilityChanged()

virtual void TextEditComponent::onVisibilityChanged ( bool visible)
virtual

Reimplemented from UIComponent.

◆ _hidePlaceHolderControl()

MCAPI void TextEditComponent::_hidePlaceHolderControl ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _showPlaceHolderControl()

MCAPI void TextEditComponent::_showPlaceHolderControl ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _textFitsInControl()

MCAPI bool TextEditComponent::_textFitsInControl ( ::std::string const & text) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ deselectControl()

MCAPI void TextEditComponent::deselectControl ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getMinTextArea()

MCAPI::RectangleArea TextEditComponent::getMinTextArea ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getText()

MCAPI::std::string TextEditComponent::getText ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getTextArea()

MCAPI::RectangleArea TextEditComponent::getTextArea ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ handleTextCharEvent()

MCAPI::TextCharEventResult TextEditComponent::handleTextCharEvent ( ::VisualTree & visualTree,
::std::string const & inputUtf8 )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ registerPropertyChangedNotifications()

MCAPI void TextEditComponent::registerPropertyChangedNotifications ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ selectControl()

MCAPI void TextEditComponent::selectControl ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setText()

MCAPI void TextEditComponent::setText ( ::std::string const & text)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ updateCaretBlink()

MCAPI void TextEditComponent::updateCaretBlink ( float dt)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * TextEditComponent::$ctor ( ::UIControl & owner)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $clone()

MCAPI ::std::unique_ptr<::UIComponent > TextEditComponent::$clone ( ::UIControl & cloneOwner) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $reload()

MCAPI void TextEditComponent::$reload ( ::UIComponent const & rhs)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $reset()

MCAPI void TextEditComponent::$reset ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $receive() [1/2]

MCAPI::ComponentReceiveActionType TextEditComponent::$receive ( ::VisualTree & visualTree,
::ScreenInputContext & context,
::UIAnimationController & animationController,
::ScreenEvent const & screenEvent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onVisibilityChanged()

MCAPI void TextEditComponent::$onVisibilityChanged ( bool visible)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getTextToSpeechComponentValue()

MCAPI::std::string const & TextEditComponent::$getTextToSpeechComponentValue ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $receive() [2/2]

MCAPI::ComponentReceiveActionType UIComponent::$receive ( ::ScreenEvent const & screenEvent)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onNotifyChildAdded()

MCAPI void UIComponent::$onNotifyChildAdded ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onNotifyChildRemoved()

MCAPI void UIComponent::$onNotifyChildRemoved ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onRemoved()

MCAPI void UIComponent::$onRemoved ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onAdded()

MCAPI void UIComponent::$onAdded ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onEnabledChanged()

MCAPI void UIComponent::$onEnabledChanged ( bool enabled)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isRenderableComponent()

MCAPI bool UIComponent::$isRenderableComponent ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isCustomFrameUpdateComponent()

MCAPI bool UIComponent::$isCustomFrameUpdateComponent ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLayoutChange()

MCAPI bool UIComponent::$onLayoutChange ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: