Package org.jdesktop.swingx.plaf
Class PromptTextUI.PainterHighlighter
- java.lang.Object
-
- org.jdesktop.swingx.plaf.PromptTextUI.PainterHighlighter
-
- All Implemented Interfaces:
Highlighter
- Enclosing class:
- PromptTextUI
protected class PromptTextUI.PainterHighlighter extends Object implements Highlighter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.swing.text.Highlighter
Highlighter.Highlight, Highlighter.HighlightPainter
-
-
Constructor Summary
Constructors Constructor Description PainterHighlighter(Painter painter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectaddHighlight(int p0, int p1, Highlighter.HighlightPainter p)voidchangeHighlight(Object tag, int p0, int p1)voiddeinstall(JTextComponent c)Highlighter.Highlight[]getHighlights()voidinstall(JTextComponent c)voidpaint(Graphics g)voidremoveAllHighlights()voidremoveHighlight(Object tag)
-
-
-
Constructor Detail
-
PainterHighlighter
public PainterHighlighter(Painter painter)
-
-
Method Detail
-
addHighlight
public Object addHighlight(int p0, int p1, Highlighter.HighlightPainter p) throws BadLocationException
- Specified by:
addHighlightin interfaceHighlighter- Throws:
BadLocationException
-
changeHighlight
public void changeHighlight(Object tag, int p0, int p1) throws BadLocationException
- Specified by:
changeHighlightin interfaceHighlighter- Throws:
BadLocationException
-
deinstall
public void deinstall(JTextComponent c)
- Specified by:
deinstallin interfaceHighlighter
-
getHighlights
public Highlighter.Highlight[] getHighlights()
- Specified by:
getHighlightsin interfaceHighlighter
-
install
public void install(JTextComponent c)
- Specified by:
installin interfaceHighlighter
-
paint
public void paint(Graphics g)
- Specified by:
paintin interfaceHighlighter
-
removeAllHighlights
public void removeAllHighlights()
- Specified by:
removeAllHighlightsin interfaceHighlighter
-
removeHighlight
public void removeHighlight(Object tag)
- Specified by:
removeHighlightin interfaceHighlighter
-
-