| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | countTextRuns()
Implements com. Count the number of runs, each of which contains text in one visual order only. |
| public byte | getBaseDirection(String paragraph)
Implements com. Get the base direction of a paragraph. |
| public BidiTextRun | getVisualRun(int
from zero to countTextRuns. runIndex)Implements com.
|
| public void | setParagraph(String paragraph, byte
either LTR or RTL defaultDirection)Implements com. Sets the text which is to be split on visual ordering. |
| bidi | back to summary |
|---|---|
| private Bidi bidi | |
| ICUBidiSplitter | back to summary |
|---|---|
| public ICUBidiSplitter() | |
| countTextRuns | back to summary |
|---|---|
| public int countTextRuns() Implements com. Doc from com. Count the number of runs, each of which contains text in one visual order only. Can only be called after setParagraph has run the BIDI algorithm.
| |
| getBaseDirection | back to summary |
|---|---|
| public byte getBaseDirection(String paragraph) Implements com. Doc from com. Get the base direction of a paragraph. Defined as the first character that has strong directionality or neutral if they are all neutral characters.
| |
| getVisualRun | back to summary |
|---|---|
| public BidiTextRun getVisualRun(int runIndex) Implements com.
| |
| setParagraph | back to summary |
|---|---|
| public void setParagraph(String paragraph, byte defaultDirection) Implements com. Doc from com. Sets the text which is to be split on visual ordering.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public BidiSplitter |
| ICUBidiSplitterFactory | back to summary |
|---|---|
| public ICUBidiSplitterFactory() | |
| createBidiSplitter | back to summary |
|---|---|
| public BidiSplitter createBidiSplitter() Implements com.
| |