org.topbraidcomposer.ui.text
Class StyledTextRowEditorStyle

java.lang.Object
  extended by org.topbraidcomposer.ui.text.StyledTextRowEditorStyle
All Implemented Interfaces:
IRowEditorStyle

public class StyledTextRowEditorStyle
extends java.lang.Object
implements IRowEditorStyle


Field Summary
 
Fields inherited from interface org.topbraid.strings.IRowEditorStyle
COLOR_DARK_BLUE, COLOR_DARK_MAGENTA, FONT_BOLD, FONT_ITALICS, FONT_PLAIN, UNDERLINE
 
Constructor Summary
StyledTextRowEditorStyle()
           
 
Method Summary
 void addRange(int begin, int length, java.lang.String foregroundColor, java.lang.String backgroundColor, int style)
           
 org.eclipse.swt.custom.StyleRange[] getStyleRanges()
           
static void run(org.eclipse.swt.custom.StyledText styledText, IStylingRowEditorDriver driver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyledTextRowEditorStyle

public StyledTextRowEditorStyle()
Method Detail

addRange

public void addRange(int begin,
                     int length,
                     java.lang.String foregroundColor,
                     java.lang.String backgroundColor,
                     int style)
Specified by:
addRange in interface IRowEditorStyle

getStyleRanges

public org.eclipse.swt.custom.StyleRange[] getStyleRanges()

run

public static void run(org.eclipse.swt.custom.StyledText styledText,
                       IStylingRowEditorDriver driver)