Package org.omegat.gui.editor
Class UnderlineFactory.Underliner
- java.lang.Object
-
- javax.swing.text.LayeredHighlighter.LayerPainter
-
- org.omegat.gui.editor.UnderlineFactory.Underliner
-
- All Implemented Interfaces:
javax.swing.text.Highlighter.HighlightPainter
- Direct Known Subclasses:
BidiPainter
,SymbolPainter
,TransparentHighlightPainter
,UnderlineFactory.SolidBoldUnderliner
,UnderlineFactory.SolidUnderliner
,UnderlineFactory.WaveUnderline
- Enclosing class:
- UnderlineFactory
public abstract static class UnderlineFactory.Underliner extends javax.swing.text.LayeredHighlighter.LayerPainter
-
-
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)
-
-
-
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 classjavax.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)
-
-