public static final class IStyledString.Style.StyleBuilder extends Object
IStyledString.Style
builder.Constructor and Description |
---|
IStyledString.Style.StyleBuilder() |
public IStyledString.Style.StyleBuilder setFont(URI pFont)
pFont
- the font to set.public IStyledString.Style.StyleBuilder setBackgroundColor(URI pBackgroundColor)
pBackgroundColor
- the backgroundColor to setpublic IStyledString.Style.StyleBuilder setForegroundColor(URI pForegroundColor)
pForegroundColor
- the forregroundColor to setpublic IStyledString.Style.StyleBuilder setStrikedout(boolean pIsStrikedout)
pIsStrikedout
- the isStrikedout to setpublic IStyledString.Style.StyleBuilder setStrikeoutColor(URI pStrikeoutColor)
pStrikeoutColor
- the strikeoutColor to setpublic IStyledString.Style.StyleBuilder setBorderColor(URI pBorderColor)
pBorderColor
- the borderColor to setpublic IStyledString.Style.StyleBuilder setBorderStyle(IStyledString.Style.BorderStyle pBorderStyle)
pBorderStyle
- the borderStyle to setpublic IStyledString.Style.StyleBuilder setUnderlineColor(URI pUnderlineColor)
pUnderlineColor
- the underlineColor to setpublic IStyledString.Style.StyleBuilder setUnderlineStyle(IStyledString.Style.UnderLineStyle pUnderlineStyle)
pUnderlineStyle
- the underlineStyle to setpublic IStyledString.Style build()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.