skip to main content
Programmer's documentation > Advanced globalization > Bidirectional text > Controlling base text direction of JViews graphic objects
 
Controlling base text direction of JViews graphic objects
In JViews rich client, public Java API can be used for controlling the base text direction of JViews graphic objects. Usually instances of the IlvGraphic class or its subclasses are used to implement this control. Some exceptions exist.
You can use the following methods to control base text direction:
*graphicObj.setBaseTextDirection(int textDir) explicitly sets base text direction for the current object and, implicitly, for all objects that inherit their base text direction from the current object.
*graphicObj.getBaseTextDirection() returns the value of the base text direction property of the current object.
*graphicObj.getResolvedBaseTextDirection() returns the resolved value of the base text direction, for example, one of LTR, RTL, or Contextual.

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.