Interface CSS2FontProperties
- All Superinterfaces:
CSSValue
- All Known Implementing Classes:
CSS2FontPropertiesImpl
-
Field Summary
Fields inherited from interface CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST -
Method Summary
Modifier and TypeMethodDescriptiongetSize()getStyle()booleanWhethergetSize()stems from a parsed CSS declaration rather than mirroring the widget's current font.voidsetFamily(CssValues.CssPrimitive family) voidvoidsetSizeFromCSS(boolean sizeFromCSS) voidsetStyle(CssValues.CssPrimitive style) voidsetWeight(CssValues.CssPrimitive weight) Methods inherited from interface CSSValue
getCssText, getCssValueType, setCssText
-
Method Details
-
getFamily
CssValues.CssPrimitive getFamily() -
setFamily
-
getSize
CssValues.CssPrimitive getSize() -
setSize
-
isSizeFromCSS
boolean isSizeFromCSS()WhethergetSize()stems from a parsed CSS declaration rather than mirroring the widget's current font. Font definitions only override the height when the size was not set by CSS. -
setSizeFromCSS
void setSizeFromCSS(boolean sizeFromCSS) -
getWeight
CssValues.CssPrimitive getWeight() -
setWeight
-
getStyle
CssValues.CssPrimitive getStyle() -
setStyle
-