|
» Component » Label » Button » CheckBox » ComboBox » TextField » PasswordField » TextArea » TabbedPane » Panel » Desktop » Dialog » SpinBox » ProgressBar » Slider » SplitPane » List » Table » Tree » Separator » MenuBar
|
|
|
TextArea
TextArea is a multi-line area that displays plain text
and internally handles scrolling.
<textarea text="TextArea" /> |
Parameters
Name | Type | Default | Description | text | string | '' |
The text contained in this textarea.
|
columns | integer | 0 |
The number of visible letters in a column.
|
rows | integer | 0 |
The number of visible rows for this textarea.
|
editable | boolean | true |
The specified boolean to indicate whether or not this textarea
should be editable. A not editable area is focusable, and selectable.
|
wrap | boolean | false |
If set to true the lines will be wrapped at word boundaries (whitespace)
if they are too long to fit within the allocated width.
|
start | integer | 0 |
Start index of the selection.
|
stop | integer | 0 |
End index of the selection, same as the caret position.
|
action | method | null |
Gives notification (invokes the given method) that there was an
insert into the text or a portion of the text has been removed.
|
name, enabled, visible, tooltip, width, height, colspan, rowspan,
weightx, weighty, halign, and valign parameters are similar to component
|
Keyboard-actions
Operation | Action | Home | Moves to beginning of line |
End | Moves to end of row or line |
Ctrl-Home | Moves to beginning of data |
Ctrl-End | Moves to end of data |
Up arrow | Moves insertion point up one line |
Down arrow | Moves insertion point down one line |
Page Up | Moves up one view |
Page Down | Moves down one view |
Right arrow | Moves insertion point one character to the right |
Left arrow | Moves insertion point one character to the left |
Ctrl-right arrow | Moves insertion point to beginning of next word |
Ctrl-left arrow | Moves insertion point to beginning of previous word |
+Shift | Extends selection |
Enter, Return | Inserts line-break |
Backspace | Deletes the previous character |
Delete | Removes the following character |
Ctrl-A, Ctrl-Slash | Selects all |
Ctrl-Backslash | Deselects all |
Ctrl-X | Cuts selected text into the clipboard |
Ctrl-C | Copies selected text into the clipboard |
Ctrl-V | Pastes the clipboard content |
Tab, Shift-Tab | Navigate forward, backward |
|