com.ibm.bidiTools.bdlayout

Class BidiFlag

  1. java.lang.Object
  2. extended bycom.ibm.bidiTools.bdlayout.BidiFlag

  1. public class BidiFlag
  2. extends java.lang.Object
This class represents BidiFlag objects and provides initial values for all flag options.

Bidi text can be stored in different formats, which are characterized by 5 Bidi attributes, whose values may be stored in 5 Bidi flags. These 5 flags constitute a BidiFlagSet.

A BidiFlagSet object contains a value for each of the 5 Bidi flags which represent the Bidi attributes. The 5 attributes are:

The BidiFlags are pre-defined in this class. Each one represents one possible value of one Bidi attribute. All possible values are defined, so there is no need (or possibility) to add new ones.

Multi-threading considerations: There are no multi-threading concerns for this class, since it only defines static final instances.


Field Summary

Modifier and Type Field and Description
  1. static
  2. BidiFlag
NUMERALS_ANY
Value identifying that numeral shapes may be Nominal or National
  1. static
  2. BidiFlag
NUMERALS_CONTEXTUAL
Value identifying that numeral shapes are Contextual (Nominal or National depending on context)
  1. static
  2. BidiFlag
NUMERALS_NATIONAL
Value identifying that numeral shapes are National
  1. static
  2. BidiFlag
NUMERALS_NOMINAL
Value identifying that numeral shapes are Nominal
  1. static
  2. BidiFlag
ORIENTATION_CONTEXT_LTR
Value identifying Contextual orientation with default to LTR
  1. static
  2. BidiFlag
ORIENTATION_CONTEXT_RTL
Value identifying Contextual orientation with default to RTL
  1. static
  2. BidiFlag
ORIENTATION_LTR
Value identifying LTR orientation
  1. static
  2. BidiFlag
ORIENTATION_RTL
Value identifying RTL orientation
  1. static
  2. BidiFlag
SWAP_NO
Value identifying that symmetric swapping has not been applied
  1. static
  2. BidiFlag
SWAP_YES
Value identifying that symmetric swapping has been applied
  1. static
  2. BidiFlag
TEXT_FINAL
Value identifying that the text must be displayed in Final characters
  1. static
  2. BidiFlag
TEXT_INITIAL
Value identifying that the text must be displayed in Initial characters
  1. static
  2. BidiFlag
TEXT_ISOLATED
Value identifying that the text must be displayed in Isolated characters
  1. static
  2. BidiFlag
TEXT_MIDDLE
Value identifying that the text must be displayed in Middle characters
  1. static
  2. BidiFlag
TEXT_NOMINAL
Value identifying that the text is stored in Nominal characters
  1. static
  2. BidiFlag
TEXT_SHAPED
Value identifying that the text is stored in Shaped characters
  1. static
  2. BidiFlag
TYPE_IMPLICIT
Value identifying Implicit type of text
  1. static
  2. BidiFlag
TYPE_VISUAL
Value identifying Visual type of text

Method Summary

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

TYPE_IMPLICIT

  1. public static final BidiFlag TYPE_IMPLICIT
Value identifying Implicit type of text

TYPE_VISUAL

  1. public static final BidiFlag TYPE_VISUAL
Value identifying Visual type of text

ORIENTATION_LTR

  1. public static final BidiFlag ORIENTATION_LTR
Value identifying LTR orientation

ORIENTATION_RTL

  1. public static final BidiFlag ORIENTATION_RTL
Value identifying RTL orientation

ORIENTATION_CONTEXT_LTR

  1. public static final BidiFlag ORIENTATION_CONTEXT_LTR
Value identifying Contextual orientation with default to LTR

ORIENTATION_CONTEXT_RTL

  1. public static final BidiFlag ORIENTATION_CONTEXT_RTL
Value identifying Contextual orientation with default to RTL

SWAP_YES

  1. public static final BidiFlag SWAP_YES
Value identifying that symmetric swapping has been applied

SWAP_NO

  1. public static final BidiFlag SWAP_NO
Value identifying that symmetric swapping has not been applied

NUMERALS_NOMINAL

  1. public static final BidiFlag NUMERALS_NOMINAL
Value identifying that numeral shapes are Nominal

NUMERALS_NATIONAL

  1. public static final BidiFlag NUMERALS_NATIONAL
Value identifying that numeral shapes are National

NUMERALS_CONTEXTUAL

  1. public static final BidiFlag NUMERALS_CONTEXTUAL
Value identifying that numeral shapes are Contextual (Nominal or National depending on context)

NUMERALS_ANY

  1. public static final BidiFlag NUMERALS_ANY
Value identifying that numeral shapes may be Nominal or National

TEXT_NOMINAL

  1. public static final BidiFlag TEXT_NOMINAL
Value identifying that the text is stored in Nominal characters

TEXT_SHAPED

  1. public static final BidiFlag TEXT_SHAPED
Value identifying that the text is stored in Shaped characters

TEXT_INITIAL

  1. public static final BidiFlag TEXT_INITIAL
Value identifying that the text must be displayed in Initial characters

TEXT_MIDDLE

  1. public static final BidiFlag TEXT_MIDDLE
Value identifying that the text must be displayed in Middle characters

TEXT_FINAL

  1. public static final BidiFlag TEXT_FINAL
Value identifying that the text must be displayed in Final characters

TEXT_ISOLATED

  1. public static final BidiFlag TEXT_ISOLATED
Value identifying that the text must be displayed in Isolated characters