Class DefaultSplitCharacters

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private boolean isADigitChar​(GlyphLine text, int glyphPos)  
      boolean isSplitCharacter​(GlyphLine text, int glyphPos)
      The splitting implementation is free to look ahead or look behind characters to make a decision.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultSplitCharacters

        public DefaultSplitCharacters()
    • Method Detail

      • isSplitCharacter

        public boolean isSplitCharacter​(GlyphLine text,
                                        int glyphPos)
        Description copied from interface: ISplitCharacters
        The splitting implementation is free to look ahead or look behind characters to make a decision.
        Specified by:
        isSplitCharacter in interface ISplitCharacters
        Parameters:
        text - an array of unicode char codes which represent current text
        glyphPos - the position of Glyph in the GlyphLine
        Returns:
        true if the character can split a line.
      • isADigitChar

        private boolean isADigitChar​(GlyphLine text,
                                     int glyphPos)