Java.Text.ChoiceFormat Members

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

See Also: Inherited members from Java.Text.NumberFormat

Public Constructors

Constructs a new ChoiceFormat with the strings and limits parsed from the specified pattern.
Constructs a new ChoiceFormat with the specified double values and associated strings.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

ApplyPattern(string)
Parses the pattern to determine new strings and ranges for this ChoiceFormat.
override
Format(double, Java.Lang.StringBuffer, FieldPosition) : Java.Lang.StringBuffer
Appends the string associated with the range in which the specified double value fits to the specified string buffer.
override
Format(long, Java.Lang.StringBuffer, FieldPosition) : Java.Lang.StringBuffer
Appends the string associated with the range in which the specified long value fits to the specified string buffer.
GetFormats() : Java.Lang.Object[]
Returns the strings associated with the ranges of this ChoiceFormat.
GetLimits() : double[]
Returns the limits of this ChoiceFormat.
static
NextDouble(double) : double
Returns the double value which is closest to the specified double but larger.
static
NextDouble(double, bool) : double
Returns the double value which is closest to the specified double but either larger or smaller as specified.
override
Parse(string, ParsePosition) : Java.Lang.Number
Parses a double from the specified string starting at the index specified by position.
static
PreviousDouble(double) : double
Returns the double value which is closest to the specified double but smaller.
SetChoices(double[], string[])
Sets the double values and associated strings of this ChoiceFormat.
ToPattern() : string
Returns the pattern of this ChoiceFormat which specifies the ranges and their associated strings.