org.jdesktop.swingx.plaf
Class PromptTextUI.PainterHighlighter

java.lang.Object
  extended by 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
PromptTextUI.PainterHighlighter(Painter painter)
           
 
Method Summary
 Object addHighlight(int p0, int p1, Highlighter.HighlightPainter p)
          
 void changeHighlight(Object tag, int p0, int p1)
          
 void deinstall(JTextComponent c)
          
 Highlighter.Highlight[] getHighlights()
          
 void install(JTextComponent c)
          
 void paint(Graphics g)
          
 void removeAllHighlights()
          
 void removeHighlight(Object tag)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromptTextUI.PainterHighlighter

public PromptTextUI.PainterHighlighter(Painter painter)
Method Detail

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.