Class FontProvider

    • Constructor Summary

      Constructors 
      Constructor Description
      FontProvider()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Font getFont​(PresentationElement presentationElement)
      Font used to draw given presentation element text.
      java.lang.Boolean isUnderline​(PresentationElement presentationElement)
      Checks if use underline when drawing given presentation element text.
      • Methods inherited from class java.lang.Object

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

      • FontProvider

        public FontProvider()
    • Method Detail

      • getFont

        public java.awt.Font getFont​(PresentationElement presentationElement)
        Font used to draw given presentation element text.
        Parameters:
        presentationElement -
        Returns:
        font, or null to use predefined font.
      • isUnderline

        public java.lang.Boolean isUnderline​(PresentationElement presentationElement)
        Checks if use underline when drawing given presentation element text.
        Parameters:
        presentationElement -
        Returns:
        Boolean.TRUE if use underline, Boolean.FALSE - do not use underline, or null to use predefined underline value.