User Interface
User Interface (UI) refers to the visual and interactive elements of a digital system or application that enable users to interact with and control it.
About the component
- Last Update 25 Oct, 2023
- Component Version : 6.0.0
- API 21, Android 5.0 Lollipop
- 45 Blocks Available
This component provides a text input field with extensive customization options for appearance and behavior.
Overview
The Textbox component is a versatile UI element designed for text input. It offers a wide array of properties to tailor its appearance and behavior, making it suitable for various input scenarios, from simple text fields to password inputs and multi-line text areas.
Events
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | text | text | - |
2 | start | Integer | - |
3 | count | Integer | - |
4 | after | text | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | text | text | - |
2 | start | Integer | - |
3 | before | text | - |
4 | count | Integer | - |
Methods
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | start | Integer | - |
2 | end | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | Position | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | left | Integer | 0 |
2 | right | Integer | 0 |
3 | top | Integer | 0 |
4 | bottom | Integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | left | Integer | 0 |
2 | right | Integer | 0 |
3 | top | Integer | 0 |
4 | bottom | Integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | enabled | boolean | - |
Properties
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set allCaps | boolean | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get BackgroundColor | color | #00000000 |
2 | set BackgroundColor | color | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set BreakStrategy | text | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set CursorColor | color | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set cursorVisible | boolean | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set Ellipsize | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Enabled | boolean | true |
2 | set Enabled | boolean | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set erroricon | text | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get ErrorText | text | - |
2 | set ErrorText | text | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get FontSize | Integer | 14.0 |
2 | set FontSize | Integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set FreezeText | boolean | false |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set Gravity | text | start |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get height | Integer | -1 |
2 | set Height | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Width | Integer | - |
2 | set Width | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set heightPercent | Integer | - |
2 | set WidthPercent | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set HeightlightColor | color | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Hint | text | - |
2 | set Hint | text | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get HintColor | color | - |
2 | set HintColor | color | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set HorizontallyScrolling | boolean | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set HyphenationFrequency | text | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set IncludeFontPadding | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get InputType | text | - |
2 | set InputType | text | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set LastBaseLinetoBottomHeight | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set letterSpacing | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set LineHeight | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set LinkTextColor | color | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set LinksClickable | boolean | true |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set marqueeRepeatLimit | Integer | 100 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get maxLength | Integer | 0 |
2 | set maxLength | Integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get MultiLine | boolean | false |
2 | set ItemMenuRadius | boolean | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get ReadOnly | boolean | false |
2 | set ReadOnly | boolean | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Text | text | - |
2 | set Text | text | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get TextColor | color | #00000000 |
2 | set TextColor | color | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Visible | boolean | true |
1 | set Visible | boolean | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Visible | boolean | true |
2 | set Visible | boolean | - |