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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PromptTextUI.PainterHighlighter
public PromptTextUI.PainterHighlighter(Painter painter)
addHighlight
public Object addHighlight(int p0,
int p1,
Highlighter.HighlightPainter p)
throws BadLocationException
-
- Specified by:
addHighlight
in interface Highlighter
- Throws:
BadLocationException
changeHighlight
public void changeHighlight(Object tag,
int p0,
int p1)
throws BadLocationException
-
- Specified by:
changeHighlight
in interface Highlighter
- Throws:
BadLocationException
deinstall
public void deinstall(JTextComponent c)
-
- Specified by:
deinstall
in interface Highlighter
getHighlights
public Highlighter.Highlight[] getHighlights()
-
- Specified by:
getHighlights
in interface Highlighter
install
public void install(JTextComponent c)
-
- Specified by:
install
in interface Highlighter
paint
public void paint(Graphics g)
-
- Specified by:
paint
in interface Highlighter
removeAllHighlights
public void removeAllHighlights()
-
- Specified by:
removeAllHighlights
in interface Highlighter
removeHighlight
public void removeHighlight(Object tag)
-
- Specified by:
removeHighlight
in interface Highlighter
Copyright © 2012. All Rights Reserved.