Class IndicInputMethodImpl.ACIText

  • All Implemented Interfaces:
    java.lang.Cloneable, java.text.AttributedCharacterIterator, java.text.CharacterIterator
    Enclosing class:
    IndicInputMethodImpl

    private class IndicInputMethodImpl.ACIText
    extends java.lang.Object
    implements java.text.AttributedCharacterIterator
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.text.AttributedCharacterIterator

        java.text.AttributedCharacterIterator.Attribute
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int committed  
      private int index  
      private char[] text  
      • Fields inherited from interface java.text.CharacterIterator

        DONE
    • Constructor Summary

      Constructors 
      Constructor Description
      ACIText​(char[] chArray, int offset, int length, int committed)  
    • Field Detail

      • text

        private char[] text
      • committed

        private int committed
      • index

        private int index
    • Constructor Detail

      • ACIText

        ACIText​(char[] chArray,
                int offset,
                int length,
                int committed)
    • Method Detail

      • first

        public char first()
        Specified by:
        first in interface java.text.CharacterIterator
      • last

        public char last()
        Specified by:
        last in interface java.text.CharacterIterator
      • current

        public char current()
        Specified by:
        current in interface java.text.CharacterIterator
      • next

        public char next()
        Specified by:
        next in interface java.text.CharacterIterator
      • previous

        public char previous()
        Specified by:
        previous in interface java.text.CharacterIterator
      • setIndex

        public char setIndex​(int position)
        Specified by:
        setIndex in interface java.text.CharacterIterator
      • getBeginIndex

        public int getBeginIndex()
        Specified by:
        getBeginIndex in interface java.text.CharacterIterator
      • getEndIndex

        public int getEndIndex()
        Specified by:
        getEndIndex in interface java.text.CharacterIterator
      • getIndex

        public int getIndex()
        Specified by:
        getIndex in interface java.text.CharacterIterator
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in interface java.text.CharacterIterator
        Overrides:
        clone in class java.lang.Object
      • getRunStart

        public int getRunStart()
        Specified by:
        getRunStart in interface java.text.AttributedCharacterIterator
      • getRunStart

        public int getRunStart​(java.text.AttributedCharacterIterator.Attribute attribute)
        Specified by:
        getRunStart in interface java.text.AttributedCharacterIterator
      • getRunStart

        public int getRunStart​(java.util.Set attributes)
        Specified by:
        getRunStart in interface java.text.AttributedCharacterIterator
      • getRunLimit

        public int getRunLimit()
        Specified by:
        getRunLimit in interface java.text.AttributedCharacterIterator
      • getRunLimit

        public int getRunLimit​(java.text.AttributedCharacterIterator.Attribute attribute)
        Specified by:
        getRunLimit in interface java.text.AttributedCharacterIterator
      • getRunLimit

        public int getRunLimit​(java.util.Set attributes)
        Specified by:
        getRunLimit in interface java.text.AttributedCharacterIterator
      • getAttributes

        public java.util.Map getAttributes()
        Specified by:
        getAttributes in interface java.text.AttributedCharacterIterator
      • getAttribute

        public java.lang.Object getAttribute​(java.text.AttributedCharacterIterator.Attribute attribute)
        Specified by:
        getAttribute in interface java.text.AttributedCharacterIterator
      • getAllAttributeKeys

        public java.util.Set getAllAttributeKeys()
        Specified by:
        getAllAttributeKeys in interface java.text.AttributedCharacterIterator
      • _setIndex

        private char _setIndex​(int i)
        This is always called with valid i ( 0 < i <= text.length )