Home » openjdk-7 » javax » swing » text » [javadoc | source]
javax.swing.text
interface: TextInterval.TextIntervalPainter [javadoc | source]

All Known Implementing Classes:
    TextPainter

Defines how text is actually painted.
Method from javax.swing.text.TextInterval$TextIntervalPainter Summary:
paintComposed,   paintSelected,   paintUnselected
Method from javax.swing.text.TextInterval$TextIntervalPainter Detail:
 public int paintComposed(Graphics g,
    int start,
    int end,
    int x,
    int y) throws BadLocationException
    Paints composed text.
 public int paintSelected(Graphics g,
    int start,
    int end,
    int x,
    int y) throws BadLocationException
    Paints selected range of text.
 public int paintUnselected(Graphics g,
    int start,
    int end,
    int x,
    int y) throws BadLocationException
    Paints unselected range of text.