public class RuleFontFaceImpl extends AbstractRuleBlock<Declaration> implements RuleFontFace
RuleFontFace.Source, RuleFontFace.SourceLocal, RuleFontFace.SourceURLstylesheethash, listmodCount| Modifier | Constructor and Description |
|---|---|
protected |
RuleFontFaceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFontFamily()
Gets the font family name
|
CSSProperty.FontStyle |
getFontStyle()
Gets the font style
|
CSSProperty.FontWeight |
getFontWeight()
Gets the font weight
|
List<RuleFontFace.Source> |
getSources()
Gets the declared font sources
|
List<String> |
getUnicodeRanges()
Gets the unicode ranges
|
String |
toString() |
String |
toString(int depth)
Pretty output of CSS definition using indentation
|
equals, getStyleSheet, hashCode, setStyleSheetadd, add, asList, get, iterator, remove, replaceAll, set, size, unlockaddAll, clear, indexOf, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetStyleSheet, setStyleSheetasList, replaceAll, unlockadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic String getFontFamily()
RuleFontFacegetFontFamily in interface RuleFontFacepublic List<RuleFontFace.Source> getSources()
RuleFontFacegetSources in interface RuleFontFacenull when no valid source declaration is present.public CSSProperty.FontStyle getFontStyle()
RuleFontFacegetFontStyle in interface RuleFontFacepublic CSSProperty.FontWeight getFontWeight()
RuleFontFacegetFontWeight in interface RuleFontFacepublic List<String> getUnicodeRanges()
RuleFontFacegetUnicodeRanges in interface RuleFontFacepublic String toString()
toString in class AbstractCollection<Declaration>public String toString(int depth)
PrettyOutputtoString in interface PrettyOutputdepth - Number of times output is indentedOutputUtilCopyright © 2018. All rights reserved.