public static final class StyledString.Style
extends java.lang.Object
StyledString
should be style.
It must be constructed with the built-in builder
pattern
.
Modifier and Type | Class and Description |
---|---|
static class |
StyledString.Style.BorderStyle
All the supported border styles.
|
static class |
StyledString.Style.Builder
Builder pattern to create a custom class.
|
static class |
StyledString.Style.UnderLineStyle
All the supported underline styles.
|
Modifier and Type | Field and Description |
---|---|
static StyledString.Style |
COUNTER_STYLER
A built-in style that will eventually be mapped to
org.eclipse.jface.viewers.StyledString.COUNTER_STYLER.
|
static StyledString.Style |
DECORATIONS_STYLER
A built-in style that will eventually be mapped to
org.eclipse.jface.viewers.StyledString.DECORATIONS_STYLER.
|
static StyledString.Style |
NO_STYLE
Constants describing that a String with the given style should not be
styled (null object).
|
static StyledString.Style |
QUALIFIER_STYLER
A built-in style that will eventually be mapped to
org.eclipse.jface.viewers.StyledString.QUALIFIER_STYLER.
|
Modifier and Type | Method and Description |
---|---|
URI |
getBackgoundColor() |
URI |
getBorderColor() |
StyledString.Style.BorderStyle |
getBorderStyle() |
URI |
getFont() |
URI |
getForegroundColor() |
URI |
getStrikeoutColor() |
URI |
getUnderlineColor() |
StyledString.Style.UnderLineStyle |
getUnderlineStyle() |
boolean |
isStrikedout() |
static StyledString.Style.Builder |
newBuilder()
Returns a new builder instance to create a custom style.
|
java.lang.String |
toString() |
public static final StyledString.Style NO_STYLE
public static final StyledString.Style QUALIFIER_STYLER
public static final StyledString.Style COUNTER_STYLER
public static final StyledString.Style DECORATIONS_STYLER
public URI getFont()
public URI getBackgoundColor()
public URI getForegroundColor()
public boolean isStrikedout()
public URI getStrikeoutColor()
public StyledString.Style.UnderLineStyle getUnderlineStyle()
public URI getUnderlineColor()
public StyledString.Style.BorderStyle getBorderStyle()
public URI getBorderColor()
public java.lang.String toString()
toString
in class java.lang.Object
public static StyledString.Style.Builder newBuilder()