-
- All Implemented Interfaces:
-
org.readium.r2.navigator.preferences.Configurable.Settings
public final class EpubSettings implements Configurable.Settings
EPUB navigator settings values.
-
-
Field Summary
Fields Modifier and Type Field Description private final ColorbackgroundColorprivate final ColumnCountcolumnCountprivate final FontFamilyfontFamilyprivate final DoublefontSizeprivate final DoublefontWeightprivate final Booleanhyphensprivate final ImageFilterimageFilterprivate final Languagelanguageprivate final DoubleletterSpacingprivate final Booleanligaturesprivate final DoublelineHeightprivate final DoublepageMarginsprivate final DoubleparagraphIndentprivate final DoubleparagraphSpacingprivate final BooleanpublisherStylesprivate final ReadingProgressionreadingProgressionprivate final Booleanscrollprivate final Spreadspreadprivate final TextAligntextAlignprivate final ColortextColorprivate final BooleantextNormalizationprivate final Themethemeprivate final DoubletypeScaleprivate final BooleanverticalTextprivate final DoublewordSpacing
-
Constructor Summary
Constructors Constructor Description EpubSettings(Color backgroundColor, ColumnCount columnCount, FontFamily fontFamily, Double fontSize, Double fontWeight, Boolean hyphens, ImageFilter imageFilter, Language language, Double letterSpacing, Boolean ligatures, Double lineHeight, Double pageMargins, Double paragraphIndent, Double paragraphSpacing, Boolean publisherStyles, ReadingProgression readingProgression, Boolean scroll, Spread spread, TextAlign textAlign, Color textColor, Boolean textNormalization, Theme theme, Double typeScale, Boolean verticalText, Double wordSpacing)
-
Method Summary
Modifier and Type Method Description final ColorgetBackgroundColor()final ColumnCountgetColumnCount()final FontFamilygetFontFamily()final DoublegetFontSize()final DoublegetFontWeight()final BooleangetHyphens()final ImageFiltergetImageFilter()final LanguagegetLanguage()final DoublegetLetterSpacing()final BooleangetLigatures()final DoublegetLineHeight()final DoublegetPageMargins()final DoublegetParagraphIndent()final DoublegetParagraphSpacing()final BooleangetPublisherStyles()final ReadingProgressiongetReadingProgression()final BooleangetScroll()final SpreadgetSpread()final TextAligngetTextAlign()final ColorgetTextColor()final BooleangetTextNormalization()final ThemegetTheme()final DoublegetTypeScale()final BooleangetVerticalText()final DoublegetWordSpacing()-
-
Constructor Detail
-
EpubSettings
EpubSettings(Color backgroundColor, ColumnCount columnCount, FontFamily fontFamily, Double fontSize, Double fontWeight, Boolean hyphens, ImageFilter imageFilter, Language language, Double letterSpacing, Boolean ligatures, Double lineHeight, Double pageMargins, Double paragraphIndent, Double paragraphSpacing, Boolean publisherStyles, ReadingProgression readingProgression, Boolean scroll, Spread spread, TextAlign textAlign, Color textColor, Boolean textNormalization, Theme theme, Double typeScale, Boolean verticalText, Double wordSpacing)
-
-
Method Detail
-
getBackgroundColor
final Color getBackgroundColor()
-
getColumnCount
final ColumnCount getColumnCount()
-
getFontFamily
final FontFamily getFontFamily()
-
getFontSize
final Double getFontSize()
-
getFontWeight
final Double getFontWeight()
-
getHyphens
final Boolean getHyphens()
-
getImageFilter
final ImageFilter getImageFilter()
-
getLanguage
final Language getLanguage()
-
getLetterSpacing
final Double getLetterSpacing()
-
getLigatures
final Boolean getLigatures()
-
getLineHeight
final Double getLineHeight()
-
getPageMargins
final Double getPageMargins()
-
getParagraphIndent
final Double getParagraphIndent()
-
getParagraphSpacing
final Double getParagraphSpacing()
-
getPublisherStyles
final Boolean getPublisherStyles()
-
getReadingProgression
final ReadingProgression getReadingProgression()
-
getTextAlign
final TextAlign getTextAlign()
-
getTextColor
final Color getTextColor()
-
getTextNormalization
final Boolean getTextNormalization()
-
getTypeScale
final Double getTypeScale()
-
getVerticalText
final Boolean getVerticalText()
-
getWordSpacing
final Double getWordSpacing()
-
-
-
-