Class CSS2FontPropertiesImpl
java.lang.Object
org.eclipse.e4.ui.css.core.dom.properties.css2.CSS2FontPropertiesImpl
- All Implemented Interfaces:
CSS2FontProperties, CSSValue
-
Field Summary
Fields inherited from interface CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshortgetSize()getStyle()booleanWhetherCSS2FontProperties.getSize()stems from a parsed CSS declaration rather than mirroring the widget's current font.voidsetCssText(String arg0) voidsetFamily(CssValues.CssPrimitive family) voidvoidsetSizeAdjust(CssValues.CssPrimitive sizeAdjust) voidsetSizeFromCSS(boolean sizeFromCSS) voidsetStretch(CssValues.CssPrimitive stretch) voidsetStyle(CssValues.CssPrimitive style) voidsetVariant(CssValues.CssPrimitive variant) voidsetWeight(CssValues.CssPrimitive weight)
-
Constructor Details
-
CSS2FontPropertiesImpl
public CSS2FontPropertiesImpl()
-
-
Method Details
-
getFamily
- Specified by:
getFamilyin interfaceCSS2FontProperties
-
setFamily
- Specified by:
setFamilyin interfaceCSS2FontProperties
-
getSize
- Specified by:
getSizein interfaceCSS2FontProperties
-
setSize
- Specified by:
setSizein interfaceCSS2FontProperties
-
isSizeFromCSS
public boolean isSizeFromCSS()Description copied from interface:CSS2FontPropertiesWhetherCSS2FontProperties.getSize()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.- Specified by:
isSizeFromCSSin interfaceCSS2FontProperties
-
setSizeFromCSS
public void setSizeFromCSS(boolean sizeFromCSS) - Specified by:
setSizeFromCSSin interfaceCSS2FontProperties
-
getSizeAdjust
- Specified by:
getSizeAdjustin interfaceCSS2FontProperties
-
setSizeAdjust
- Specified by:
setSizeAdjustin interfaceCSS2FontProperties
-
getWeight
- Specified by:
getWeightin interfaceCSS2FontProperties
-
setWeight
- Specified by:
setWeightin interfaceCSS2FontProperties
-
getStyle
- Specified by:
getStylein interfaceCSS2FontProperties
-
setStyle
- Specified by:
setStylein interfaceCSS2FontProperties
-
getVariant
- Specified by:
getVariantin interfaceCSS2FontProperties
-
setVariant
- Specified by:
setVariantin interfaceCSS2FontProperties
-
getStretch
- Specified by:
getStretchin interfaceCSS2FontProperties
-
setStretch
- Specified by:
setStretchin interfaceCSS2FontProperties
-
getCssText
- Specified by:
getCssTextin interfaceCSSValue
-
getCssValueType
public short getCssValueType()- Specified by:
getCssValueTypein interfaceCSSValue
-
setCssText
- Specified by:
setCssTextin interfaceCSSValue- Throws:
DOMException
-