public class StyleSettings extends Object
Style settings
Modifier and Type | Class and Description |
---|---|
static class |
StyleSettings.Builder
A little sugar
|
Constructor and Description |
---|
StyleSettings()
Initializes a new instance of the
StyleSettings class. |
Modifier and Type | Method and Description |
---|---|
String |
getEndStringSeparator()
Gets or sets the end separator string.
|
Color |
getFontColor()
Gets or sets the font color.
|
Color |
getHighlightColor()
Gets or sets the highlight color.
|
Size |
getOriginalSize()
Get or sets the original sizes of comparing documents
|
String |
getStartStringSeparator()
Gets or sets the begin separator string.
|
char[] |
getWordsSeparators()
Gets or sets the words separator chars.
|
boolean |
isBold()
Gets or sets a value indicating whether this is bold.
|
boolean |
isItalic()
Gets or sets a value indicating whether this is italic
|
boolean |
isStrikethrough()
Gets or sets a value indicating whether strike through
|
boolean |
isUnderline()
Gets or sets a value indicating whether this is underline
|
void |
setBold(boolean value)
Gets or sets a value indicating whether this is bold.
|
void |
setEndStringSeparator(String value)
Gets or sets the end separator string.
|
void |
setFontColor(Color value)
Gets or sets the font color.
|
void |
setHighlightColor(Color value)
Gets or sets the highlight color.
|
void |
setItalic(boolean value)
Gets or sets a value indicating whether this is italic
|
void |
setOriginalSize(Size value)
Get or sets the original sizes of comparing documents
|
void |
setStartStringSeparator(String value)
Gets or sets the begin separator string.
|
void |
setStrikethrough(boolean value)
Gets or sets a value indicating whether strike through
|
void |
setUnderline(boolean value)
Gets or sets a value indicating whether this is underline
|
void |
setWordsSeparators(char[] value)
Gets or sets the words separator chars.
|
public StyleSettings()
Initializes a new instance of the StyleSettings
class.
public final String getEndStringSeparator()
Gets or sets the end separator string.
public final Color getFontColor()
Gets or sets the font color.
public final Color getHighlightColor()
Gets or sets the highlight color.
public final Size getOriginalSize()
Get or sets the original sizes of comparing documents
public final String getStartStringSeparator()
Gets or sets the begin separator string.
public final char[] getWordsSeparators()
Gets or sets the words separator chars.
public final boolean isBold()
Gets or sets a value indicating whether this is bold.
public final boolean isItalic()
Gets or sets a value indicating whether this is italic
public final boolean isStrikethrough()
Gets or sets a value indicating whether strike through
public final boolean isUnderline()
Gets or sets a value indicating whether this is underline
public final void setBold(boolean value)
Gets or sets a value indicating whether this is bold.
public final void setEndStringSeparator(String value)
Gets or sets the end separator string.
public final void setFontColor(Color value)
Gets or sets the font color.
public final void setHighlightColor(Color value)
Gets or sets the highlight color.
public final void setItalic(boolean value)
Gets or sets a value indicating whether this is italic
public final void setOriginalSize(Size value)
Get or sets the original sizes of comparing documents
public final void setStartStringSeparator(String value)
Gets or sets the begin separator string.
public final void setStrikethrough(boolean value)
Gets or sets a value indicating whether strike through
public final void setUnderline(boolean value)
Gets or sets a value indicating whether this is underline
public final void setWordsSeparators(char[] value)
Gets or sets the words separator chars.
Copyright © 2020. All rights reserved.