Class IStyledString.Style
- java.lang.Object
-
- org.eclipse.emf.compare.provider.utils.IStyledString.Style
-
- Enclosing interface:
- IStyledString
public static final class IStyledString.Style extends Object
A style class forIStyledString.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIStyledString.Style.BorderStyleThe possible styles of the border.static classIStyledString.Style.StyleBuilderAIStyledString.Stylebuilder.static classIStyledString.Style.UnderLineStyleThe possible styles of the underline.
-
Field Summary
Fields Modifier and Type Field Description static IStyledString.StyleCOUNTER_STYLERConstant that will eventually map to org.eclipse.jface.viewers.StyledString.COUNTER_STYLER.static IStyledString.StyleDECORATIONS_STYLERConstant that will eventually map to org.eclipse.jface.viewers.StyledString.DECORATIONS_STYLER.static IStyledString.StyleNO_STYLEInstance that represent a default unstyled string.static IStyledString.StyleQUALIFIER_STYLERConstant that will eventually map to org.eclipse.jface.viewers.StyledString.QUALIFIER_STYLER.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IStyledString.Style.StyleBuilderbuilder()Returns a new builder for the style.URIgetBackgoundColor()URIgetBorderColor()IStyledString.Style.BorderStylegetBorderStyle()URIgetFont()URIgetForegroundColor()URIgetStrikeoutColor()URIgetUnderlineColor()IStyledString.Style.UnderLineStylegetUnderlineStyle()booleanisStrikedout()
-
-
-
Field Detail
-
NO_STYLE
public static final IStyledString.Style NO_STYLE
Instance that represent a default unstyled string.
-
QUALIFIER_STYLER
public static final IStyledString.Style QUALIFIER_STYLER
Constant that will eventually map to org.eclipse.jface.viewers.StyledString.QUALIFIER_STYLER.
-
COUNTER_STYLER
public static final IStyledString.Style COUNTER_STYLER
Constant that will eventually map to org.eclipse.jface.viewers.StyledString.COUNTER_STYLER.
-
DECORATIONS_STYLER
public static final IStyledString.Style DECORATIONS_STYLER
Constant that will eventually map to org.eclipse.jface.viewers.StyledString.DECORATIONS_STYLER.
-
-
Method Detail
-
getFont
public URI getFont()
-
getBackgoundColor
public URI getBackgoundColor()
-
getForegroundColor
public URI getForegroundColor()
-
isStrikedout
public boolean isStrikedout()
-
getStrikeoutColor
public URI getStrikeoutColor()
-
getUnderlineStyle
public IStyledString.Style.UnderLineStyle getUnderlineStyle()
-
getUnderlineColor
public URI getUnderlineColor()
-
getBorderStyle
public IStyledString.Style.BorderStyle getBorderStyle()
-
getBorderColor
public URI getBorderColor()
-
builder
public static IStyledString.Style.StyleBuilder builder()
Returns a new builder for the style.- Returns:
- a new builder for the style.
-
-