IAttributedCharacterIterator IAttributedCharacterIterator Interface

Definition

Extends the CharacterIterator interface, adding support for iterating over attributes and not only characters.

[Android.Runtime.Register("java/text/AttributedCharacterIterator", "", "Java.Text.IAttributedCharacterIteratorInvoker", ApiSince=1)]
public interface IAttributedCharacterIterator : IDisposable, Java.Text.ICharacterIterator
type IAttributedCharacterIterator = interface
    interface ICharacterIterator
    interface ICloneable
    interface IJavaObject
    interface IDisposable
Attributes
Implements

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Properties

AllAttributeKeys AllAttributeKeys

Returns a set of attributes present in the AttributedCharacterIterator.

Attributes Attributes

Returns a map of all attributes of the current character.

BeginIndex BeginIndex

Returns the begin index.

(Inherited from ICharacterIterator)
EndIndex EndIndex

Returns the end index.

(Inherited from ICharacterIterator)
Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
Index Index

Returns the current index.

(Inherited from ICharacterIterator)
RunLimit RunLimit

Returns the index of the last character in the run having the same attributes as the current character.

RunStart RunStart

Returns the index of the first character in the run that has the same attributes as the current character.

Methods

Clone() Clone()

Returns a new CharacterIterator with the same properties.

(Inherited from ICharacterIterator)
Current() Current()

Returns the character at the current index.

(Inherited from ICharacterIterator)
First() First()

Sets the current position to the begin index and returns the character at the new position.

(Inherited from ICharacterIterator)
GetAttribute(AttributedCharacterIteratorAttribute) GetAttribute(AttributedCharacterIteratorAttribute)

Returns the value stored in the attribute for the current character.

GetRunLimit(AttributedCharacterIteratorAttribute) GetRunLimit(AttributedCharacterIteratorAttribute)

Returns the index of the last character in the run that has the same attribute value for the given attribute as the current character.

GetRunLimit(ICollection<AttributedCharacterIteratorAttribute>) GetRunLimit(ICollection<AttributedCharacterIteratorAttribute>)
GetRunStart(AttributedCharacterIteratorAttribute) GetRunStart(AttributedCharacterIteratorAttribute)

Returns the index of the first character in the run that has the same attribute value for the given attribute as the current character.

GetRunStart(ICollection<AttributedCharacterIteratorAttribute>) GetRunStart(ICollection<AttributedCharacterIteratorAttribute>)
Last() Last()

Sets the current position to the end index - 1 and returns the character at the new position.

(Inherited from ICharacterIterator)
Next() Next()

Increments the current index and returns the character at the new index.

(Inherited from ICharacterIterator)
Previous() Previous()

Decrements the current index and returns the character at the new index.

(Inherited from ICharacterIterator)
SetIndex(Int32) SetIndex(Int32)

Sets the current index to a new position and returns the character at the new index.

(Inherited from ICharacterIterator)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to