Class InlineText


  • public class InlineText
    extends Object
    A lightweight object which contains a chunk of text from an inline element. It will never extend across a line break nor will it extend across an element nested within its inline element.
    • Constructor Detail

      • InlineText

        public InlineText()
    • Method Detail

      • setTextDirection

        public void setTextDirection​(byte direction)
        Parameters:
        direction - either LTR or RTL from BidiSplitter interface.
      • getTextDirection

        public byte getTextDirection()
        Returns:
        either LTR or RTL from BidiSplitter interface.
      • setLetterSpacing

        public void setLetterSpacing​(float letterSpacing)
      • getLetterSpacing

        public float getLetterSpacing()
      • trimTrailingSpace

        public void trimTrailingSpace​(LayoutContext c)
      • isEmpty

        public boolean isEmpty()
      • getSubstring

        public String getSubstring()
      • setSubstring

        public void setSubstring​(int start,
                                 int end)
      • getMasterText

        public String getMasterText()
      • setMasterText

        public void setMasterText​(String masterText)
      • getX

        public int getX()
      • setX

        public void setX​(int x)
      • getWidth

        public int getWidth()
      • setWidth

        public void setWidth​(int width)
      • isDynamicFunction

        public boolean isDynamicFunction()
      • setFunctionData

        public void setFunctionData​(FunctionData functionData)
      • getTextExportText

        public String getTextExportText()
      • isTrimmedLeadingSpace

        public boolean isTrimmedLeadingSpace()
      • setTrimmedLeadingSpace

        public void setTrimmedLeadingSpace​(boolean trimmedLeadingSpace)
      • isJustifySpaceCodePoint

        public static boolean isJustifySpaceCodePoint​(int cp)
      • countJustifiableChars

        public void countJustifiableChars​(CharCounts counts)
      • getStart

        public int getStart()
      • getEnd

        public int getEnd()
      • setEndsOnSoftHyphen

        public void setEndsOnSoftHyphen​(boolean endsOnSoftHyphen)
      • isEndsOnSoftHyphen

        public boolean isEndsOnSoftHyphen()