Base text direction: interactive change at run time

JViews rich client provides controls to support different types of editing. The editing described in this topic is performed by the user of an application and not by its developer.
The user can edit by in-place editing or by Swing or AWT controls. The following figure illustrates in-place editing and shows the presence of the cursor.
Hebrew
word with cursor placed after the second character from the right
to illustrate in-place editing at run time.
In-place editing
The following figure shows editing in static mode by Swing or AWT controls.
Predominantly
English text with one Hebrew directional run at the beginning of the
fourth line to show editable text in static mode by Swing or AWT controls.
Editable text in static mode
The following figure shows editing in editing mode by Swing or AWT controls.
Predominantly
English text with one Hebrew directional run at the beginning of the
third line to show editable text in editing mode by Swing or AWT controls.
Editable text in editing mode
For controls that support editing mode, either in-place editing or editing based on Swing or AWT input field, the user has the following options to change base text direction in this specific control instance:
  • Ctrl + Shift + Down Arrow sets base text direction to Contextual.
  • Ctrl + Shift + Left Arrow sets base text direction to LTR.
  • Ctrl + Shift + Right Arrow sets base text direction to RTL.
  • Ctrl + Shift + Up Arrow sets base text direction to follow the GUI direction.
This level of user control overrides the base text direction set during configuration or by API. It takes precedence over any other setting. The new value is applied immediately and thus is also reflected in the display.