Class UnderlineFactory.Underliner

    • Constructor Summary

      Constructors 
      Constructor Description
      Underliner()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void paint​(java.awt.Graphics g, int p0, int p1, java.awt.Shape bounds, javax.swing.text.JTextComponent c)  
      java.awt.Shape paintLayer​(java.awt.Graphics g, int offs0, int offs1, java.awt.Shape bounds, javax.swing.text.JTextComponent c, javax.swing.text.View view)  
      • Methods inherited from class java.lang.Object

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

      • Underliner

        public Underliner()
    • Method Detail

      • paintLayer

        public java.awt.Shape paintLayer​(java.awt.Graphics g,
                                         int offs0,
                                         int offs1,
                                         java.awt.Shape bounds,
                                         javax.swing.text.JTextComponent c,
                                         javax.swing.text.View view)
        Specified by:
        paintLayer in class javax.swing.text.LayeredHighlighter.LayerPainter
      • paint

        public void paint​(java.awt.Graphics g,
                          int p0,
                          int p1,
                          java.awt.Shape bounds,
                          javax.swing.text.JTextComponent c)