Example usage for Java java.text Bidi fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DIRECTION_LEFT_TO_RIGHT Constant indicating base direction is left-to-right. |
int | DIRECTION_RIGHT_TO_LEFT Constant indicating base direction is right-to-left. |
int | DIRECTION_DEFAULT_LEFT_TO_RIGHT Constant indicating that the base direction depends on the first strong directional character in the text according to the Unicode Bidirectional Algorithm. |
Bidi(String paragraph, int flags) Create Bidi from the given paragraph of text and base direction. | |
Bidi(char[] text, int textStart, byte[] embeddings, int embStart, int paragraphLength, int flags) Create Bidi from the given text, embedding, and direction information. |
boolean | baseIsLeftToRight() Return true if the base direction is left-to-right. |
int | getBaseLevel() Return the base level (0 if left-to-right, 1 if right-to-left). |
int | getRunCount() Return the number of level runs. |
int | getRunLevel(int run) Return the level of the nth logical run in this line. |
int | getRunLimit(int run) Return the index of the character past the end of the nth logical run in this line, as an offset from the start of the line. |
int | getRunStart(int run) Return the index of the character at the start of the nth logical run in this line, as an offset from the start of the line. |
boolean | isMixed() Return true if the line is not left-to-right or right-to-left. |
void | reorderVisually(byte[] levels, int levelStart, Object[] objects, int objectStart, int count) Reorder the objects in the array into visual order based on their levels. |
boolean | requiresBidi(char[] text, int start, int limit) Return true if the specified text requires bidi analysis. |