Inherits AZ::ComponentBus.
|
virtual AZ::Color | GetTextSelectionColor ()=0 |
| Get the color to be used for the text background when it is selected.
|
|
virtual void | SetTextSelectionColor (const AZ::Color &color)=0 |
| Set the color to be used for the text background when it is selected.
|
|
virtual AZ::Color | GetTextCursorColor ()=0 |
| Get the color to be used for the text cursor.
|
|
virtual void | SetTextCursorColor (const AZ::Color &color)=0 |
| Set the color to be used for the text cursor.
|
|
virtual float | GetCursorBlinkInterval ()=0 |
| Get the cursor blink interval.
|
|
virtual void | SetCursorBlinkInterval (float interval)=0 |
| Set the cursor blink interval, 0 means no blink.
|
|
virtual int | GetMaxStringLength ()=0 |
| Get the maximum number of character allowed in the edited string.
|
|
virtual void | SetMaxStringLength (int maxCharacters)=0 |
|
virtual TextInputCallback | GetOnChangeCallback ()=0 |
| Get the on-change callback (called when a character added/removed/changed)
|
|
virtual void | SetOnChangeCallback (TextInputCallback callbackFunction)=0 |
| Set the on-change callback (called when a character added/removed/changed)
|
|
virtual TextInputCallback | GetOnEndEditCallback ()=0 |
| Get the on-end-edit callback (called when edit of text is completed)
|
|
virtual void | SetOnEndEditCallback (TextInputCallback callbackFunction)=0 |
| Set the on-end-edit callback (called when edit of text is completed)
|
|
virtual TextInputCallback | GetOnEnterCallback ()=0 |
| Get the on-enter callback (called when Enter is pressed on keyboard)
|
|
virtual void | SetOnEnterCallback (TextInputCallback callbackFunction)=0 |
| Set the on-enter callback (called when Enter is pressed on keyboard)
|
|
virtual const LyShine::ActionName & | GetChangeAction ()=0 |
| Get the "change" action name, the action is sent to canvas listeners when text is changed.
|
|
virtual void | SetChangeAction (const LyShine::ActionName &actionName)=0 |
| Set the "change" action name.
|
|
virtual const LyShine::ActionName & | GetEndEditAction ()=0 |
|
virtual void | SetEndEditAction (const LyShine::ActionName &actionName)=0 |
| Set the "end edit" action name.
|
|
virtual const LyShine::ActionName & | GetEnterAction ()=0 |
| Get the "enter" action name, the action is sent to canvas listeners when enter is pressed.
|
|
virtual void | SetEnterAction (const LyShine::ActionName &actionName)=0 |
| Set the "enter" action name.
|
|
virtual AZ::EntityId | GetTextEntity ()=0 |
| Get the entity id for the text element being edited by this component.
|
|
virtual void | SetTextEntity (AZ::EntityId textEntity)=0 |
|
virtual AZStd::string | GetText ()=0 |
| Get the text string being edited by this component (from the text element)
|
|
virtual void | SetText (const AZStd::string &text)=0 |
|
virtual AZ::EntityId | GetPlaceHolderTextEntity ()=0 |
| Get the entity id for the placeholder text element for this component.
|
|
virtual void | SetPlaceHolderTextEntity (AZ::EntityId textEntity)=0 |
|
virtual bool | GetIsPasswordField ()=0 |
|
virtual void | SetIsPasswordField (bool passwordField)=0 |
| Allows this text input to be configured as a password field.
|
|
virtual uint32_t | GetReplacementCharacter ()=0 |
| Returns the UTF8 character to be used to display password fields.
|
|
virtual void | SetReplacementCharacter (uint32_t replacementChar)=0 |
| Sets the UTF8 character that should be used for displaying text in password fields.
|
|
virtual bool | GetIsClipboardEnabled ()=0 |
| True if copy/cut/paste should be supported, false otherwise.
|
|
virtual void | SetIsClipboardEnabled (bool enableClipboard)=0 |
| Allows copy/cut/paste support for this text input.
|
|