|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.qswing.text.TextHighlighter
Abstract Text Highlighter.
Constructor Summary | |
TextHighlighter()
Constructs new TextHighlighter object. |
Method Summary | |
protected abstract void |
highlightBlock(int blockStart,
java.lang.String blockText)
Highlighs specified block of text. |
protected void |
setFormat(int start,
int length,
CharacterFormat format)
Sets the color for the specified text segment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextHighlighter()
Method Detail |
protected abstract void highlightBlock(int blockStart, java.lang.String blockText)
blockStart
- the start of the blockblockText
- the text of the blockprotected void setFormat(int start, int length, CharacterFormat format)
start
- the start of the segmentlength
- the length of the segmentformat
- the character format
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |