Class DefaultTextAttribute

    • Field Detail

      • length

        protected final int length
    • Method Detail

      • getWidth

        public int getWidth()
        Description copied from interface: TextAttribute
        Gets the width of this object.
        Specified by:
        getWidth in interface TextAttribute
        Returns:
        returns the width, in characters
      • hasChildren

        public boolean hasChildren()
        Description copied from interface: TextAttribute
        Returns true if this object has text attribute children.
        Specified by:
        hasChildren in interface TextAttribute
        Returns:
        returns true if this object has a text attribute children, false otherwise
      • getDictionaryIdentifier

        public String getDictionaryIdentifier()
        Description copied from interface: TextAttribute
        Gets the dictionary identifier that applies to this text attribute.
        Specified by:
        getDictionaryIdentifier in interface TextAttribute
        Returns:
        returns the dictionary identifier, or null if it does not have any