A bidiTextArea widget defines a rectangle that contains
one or more lines of bidirectional text.
The following fields are supported:
- numColumns, which holds an integer that
represents the number of columns in the text area
- numRows, which holds an integer that
represents the number of rows in the text area
- readOnly, which holds a Boolean that
indicates whether the text area is protected from user input
- text, which holds a string for display
in the text area
The following functions are available, none of which returns a
value:
- append adds content to the content already
in the text area. The only parameter is the string to be added.
- setRedraw redraws the text area. The
only parameter is a Boolean, which indicates whether to redraw the
area.
- select causes the widget to receive
focus and, on most browsers, selects the text. The function has no
parameters.
Other supported fields and functions are described in the following
topics in the EGL Programmer’s Guide: “Rich UI widget fields” and
”Rich UI widget functions.”
Use of this widget requires the following statement:
import org.eclipse.edt.rui.widgets.BidiTextArea;