class TextField
- Extends:
- UIComponent
Description:
TextField component is the most popular text input component used for name, address, email, and many other data types. It can be formatted to define a specific input format. It can also use a regular expression to only accept specified characters or predefined input text format.
Constructor
constructor()
Creates an instance of TextField component object.
Parameters:
No parameters
Members
- [ readonly ] container
- [ readonly ] id
- [ readonly ] parent
- [ readonly ] screenPosition
- [ readonly ] selectedText
Methods
From this class:
Inherited from UIComponent:
- addTo()
- anchor()
- background()
- border()
- bottom()
- caretPosition()
- center()
- color()
- contextMenu()
- copySelection()
- cursor()
- cutSelection()
- deleteSelection()
- destroy()
- dragAction()
- dragData()
- dragDataType()
- dropAction()
- dropDataType()
- editable()
- emit()
- emitFocusKeyEvents()
- enabled()
- focusable()
- focused()
- font()
- getAncestor()
- getWindow()
- height()
- hide()
- index()
- isInside()
- layer()
- maxSize()
- minSize()
- move()
- onAncestorEvents()
- onCaretEvents()
- onChange()
- onComponentEvents()
- onContainerEvents()
- onDispose()
- onDragEvents()
- onDropEvents()
- onError()
- onFocusEvents()
- onKey()
- onMouseEvents()
- onMouseMotion()
- onMouseWheel()
- onPropertyChange()
- opacity()
- paste()
- position()
- remove()
- right()
- selectAll()
- selection()
- size()
- smoothScrolling()
- snapshot()
- text()
- tooltip()
- undoEnabled()
- undoLimit()
- updateUI()
- verifyComponent()
- visible()
- width()
- x()
- y()
