Java.Text.Bidi Members

The members of Java.Text.Bidi are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Creates a Bidi object from the AttributedCharacterIterator of a paragraph text.
Creates a Bidi object.
Bidi(char[], int, byte[], int, int, int)
Creates a Bidi object.

Public Fields

const
DirectionDefaultLeftToRightint (-2). Constant that indicates the default base level.
const
DirectionDefaultRightToLeftint (-1). Constant that indicates the default base level.
const
DirectionLeftToRightint (0). Constant that specifies the default base level as 0 (left-to-right).
const
DirectionRightToLeftint (1). Constant that specifies the default base level as 1 (right-to-left).

Public Properties

[read-only]
BaseLevelint. Returns the base level.
[read-only]
IsLeftToRightbool. Returns true if the text is from left to right, that is, both the base direction and the text direction is from left to right.
[read-only]
IsMixedbool. Returns true if the text direction is mixed.
[read-only]
IsRightToLeftbool. Returns true if the text is from right to left, that is, both the base direction and the text direction is from right to left.
[read-only]
Lengthint. Returns the length of the text.
[read-only]
RunCountint. Returns the number of runs in the text, at least 1.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

BaseIsLeftToRight() : bool
Returns whether the base level is from left to right.
CreateLineBidi(int, int) : Bidi
Creates a new Bidi object containing the information of one line from this object.
GetLevelAt(int) : int
Returns the level of the given character.
GetRunLevel(int) : int
Returns the level of the given run.
GetRunLimit(int) : int
Returns the limit offset of the given run.
GetRunStart(int) : int
Returns the start offset of the given run.
static
ReorderVisually(byte[], int, Java.Lang.Object[], int, int)
Reorders a range of objects according to their specified levels.
static
RequiresBidi(char[], int, int) : bool
Indicates whether a range of characters of a text requires a Bidi object to display properly.