A BidiRun represents such a run by storing its essential properties, but does not duplicate the characters which form the run.
The "limit" of the run is the position just after the last character, i.e., one more than that position.
This class has no public constructor, and its members cannot be modified by users.
com.ibm.icu.text.Bidi
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv byte | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public byte | |
| public byte | |
| public int | |
| public int | |
| public int | |
| public boolean | Returns: true if the embedding level of this run is even, i.e. it is a left-to-right run.Check if run level is even |
| public boolean | Returns: true if the embedding level of this run is odd, i.e. it is a right-to-left run.Check if run level is odd |
| public String |
| insertRemove | back to summary |
|---|---|
| pack-priv int insertRemove | |
| level | back to summary |
|---|---|
| pack-priv byte level | |
| limit | back to summary |
|---|---|
| pack-priv int limit | |
| start | back to summary |
|---|---|
| pack-priv int start | |
| BidiRun | back to summary |
|---|---|
| pack-priv BidiRun() | |
| BidiRun | back to summary |
|---|---|
| pack-priv BidiRun(int start, int limit, byte embeddingLevel) | |
| copyFrom | back to summary |
|---|---|
| pack-priv void copyFrom(BidiRun run) | |
| getDirection | back to summary |
|---|---|
| public byte getDirection() Get direction of run
| |
| getEmbeddingLevel | back to summary |
|---|---|
| public byte getEmbeddingLevel() Get level of run
| |
| getLength | back to summary |
|---|---|
| public int getLength() Get length of run
| |
| getLimit | back to summary |
|---|---|
| public int getLimit() Get position of one character after the end of the run in the source text
| |
| getStart | back to summary |
|---|---|
| public int getStart() Get the first logical position of the run in the source text
| |
| isEvenRun | back to summary |
|---|---|
| public boolean isEvenRun() Check if run level is even
| |
| isOddRun | back to summary |
|---|---|
| public boolean isOddRun() Check if run level is odd
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. String to display run
| |