Modifier and Type | Field and Description |
---|---|
protected static javax.swing.text.Highlighter.HighlightPainter |
TRANSTIPS_UNDERLINER |
Constructor and Description |
---|
TransTipsMarker() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Mark> |
getMarksForEntry(SourceTextEntry ste,
java.lang.String sourceText,
java.lang.String translationText,
boolean isActive)
Calculate marks for specific entry.
|
protected static final javax.swing.text.Highlighter.HighlightPainter TRANSTIPS_UNDERLINER
public java.util.List<Mark> getMarksForEntry(SourceTextEntry ste, java.lang.String sourceText, java.lang.String translationText, boolean isActive)
IMarker
Method will be called NOT in Swing thread.
Note to implementers: Both sourceText
and translationText
might be null!
getMarksForEntry
in interface IMarker
sourceText
- might be null!translationText
- might be null!isActive
- is this an active segment in the document?