|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.ui.util.HighlightStringListener
public class HighlightStringListener
Utility class to highlight Strings in the StyledText
.
LineStyleListener
Constructor Summary | |
---|---|
HighlightStringListener()
Constructor of the class |
Method Summary | |
---|---|
void |
addTarget(String target,
org.eclipse.swt.graphics.Color fgcolor)
Specify combination of target String and the foreground color of it. |
void |
addTarget(String target,
org.eclipse.swt.graphics.Color fgcolor,
int style)
Specify combination of target String and the foreground color/style of it. |
void |
lineGetStyle(org.eclipse.swt.custom.LineStyleEvent arg0)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HighlightStringListener()
Method Detail |
---|
public void addTarget(String target, org.eclipse.swt.graphics.Color fgcolor)
target
- target Stringfgcolor
- foreground color for the target Stringpublic void addTarget(String target, org.eclipse.swt.graphics.Color fgcolor, int style)
target
- target Stringfgcolor
- foreground color for the target Stringstyle
- style (SWT
(BOLD, NORMAL, ITARIC)) for the target
Stringpublic void lineGetStyle(org.eclipse.swt.custom.LineStyleEvent arg0)
lineGetStyle
in interface org.eclipse.swt.custom.LineStyleListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |