skip to main content
Gantt > Programmer's documentation > Advanced globalization > JViews web framework for bidirectional text (bidi) > jv:imageButton
 
jv:imageButton
The base text direction property is implemented as the attribute baseTextDirection of the tag jv:imageButton. For example:
<jv:imageButton id="selectButton" image="data/images/arrow.gif"
       rolloverImage="data/images/arrowh.gif"
       selectedImage="data/images/arrowd.gif"
       selected="true"
       onclick="chartViewChart.setInteractor(selectGroup)"
       buttonGroupId="interactors" style="width:22;height:22;"
       messageBoxId="messageBox" message="#{bundle.selectBtnMsg}"
       title="select interactor"
       baseTextDirection="RTL"/>
The tag imageButton can use messageBox to display text. The tag messageBox inherits the same value of base text direction, unless a specific value is defined for messageBox.
Supported values:
*"LTR": Left to Right text.
*"RTL": Right to Left text.
*"Contextual": the default value, which indicates no predefined direction; the actual direction is determined by the content.

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