org.topbraid.strings
Interface IRowEditorStyle

All Known Implementing Classes:
StyledTextRowEditorStyle

public interface IRowEditorStyle

An interface used by IStylingRowEditorDriver to assign styles to a text editor. In TBC, this interface is implemented to operate on SWT widgets such as StyledText, but this interface allows us to use the same calls in a platform-independent way.

Author:
Holger Knublauch

Field Summary
static java.lang.String COLOR_DARK_BLUE
           
static java.lang.String COLOR_DARK_MAGENTA
           
static int FONT_BOLD
           
static int FONT_ITALICS
           
static int FONT_PLAIN
           
static int UNDERLINE
           
 
Method Summary
 void addRange(int begin, int length, java.lang.String foregroundColor, java.lang.String backgroundColor, int style)
           
 

Field Detail

COLOR_DARK_BLUE

static final java.lang.String COLOR_DARK_BLUE
See Also:
Constant Field Values

COLOR_DARK_MAGENTA

static final java.lang.String COLOR_DARK_MAGENTA
See Also:
Constant Field Values

FONT_PLAIN

static final int FONT_PLAIN
See Also:
Constant Field Values

FONT_BOLD

static final int FONT_BOLD
See Also:
Constant Field Values

FONT_ITALICS

static final int FONT_ITALICS
See Also:
Constant Field Values

UNDERLINE

static final int UNDERLINE
See Also:
Constant Field Values
Method Detail

addRange

void addRange(int begin,
              int length,
              java.lang.String foregroundColor,
              java.lang.String backgroundColor,
              int style)