Interface ICSSPropertyFontHandler
- All Superinterfaces:
ICSSPropertyHandler
- All Known Implementing Classes:
AbstractCSSPropertyFontHandler, CSSPropertyFontDefinitionHandler, CSSPropertyFontSWTHandler
CSS2 Font Property Handler.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyCSSPropertyFont(Object element, CSSValue value, String pseudo, CSSEngine engine) A shorthand property for setting all of the properties for a font in one declaration.voidapplyCSSPropertyFontFamily(Object element, CSSValue value, String pseudo, CSSEngine engine) A prioritized list of font family names and/or generic family names for an element.voidapplyCSSPropertyFontSize(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets the size of a font.voidapplyCSSPropertyFontSizeAdjust(Object element, CSSValue value, String pseudo, CSSEngine engine) Specifies an aspect value for an element that will preserve the x-height of the first-choice font.voidapplyCSSPropertyFontStretch(Object element, CSSValue value, String pseudo, CSSEngine engine) Condenses or expands the current font-family.voidapplyCSSPropertyFontStyle(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets the style of the font.voidapplyCSSPropertyFontVariant(Object element, CSSValue value, String pseudo, CSSEngine engine) Displays text in a small-caps font or a normal font.voidapplyCSSPropertyFontWeight(Object element, CSSValue value, String pseudo, CSSEngine engine) Sets the weight of a font.retrieveCSSPropertyFontAdjust(Object element, String pseudo, CSSEngine engine) retrieveCSSPropertyFontFamily(Object element, String pseudo, CSSEngine engine) retrieveCSSPropertyFontSize(Object element, String pseudo, CSSEngine engine) retrieveCSSPropertyFontStretch(Object element, String pseudo, CSSEngine engine) retrieveCSSPropertyFontStyle(Object element, String pseudo, CSSEngine engine) retrieveCSSPropertyFontVariant(Object element, String pseudo, CSSEngine engine) retrieveCSSPropertyFontWeight(Object element, String pseudo, CSSEngine engine) Methods inherited from interface ICSSPropertyHandler
applyCSSProperty, onAllCSSPropertiesApplied, onAllCSSPropertiesApplied, retrieveCSSProperty
-
Method Details
-
applyCSSPropertyFont
void applyCSSPropertyFont(Object element, CSSValue value, String pseudo, CSSEngine engine) throws Exception A shorthand property for setting all of the properties for a font in one declaration. Available values are=font-style font-variant font-weight font-size/line-height font-family caption icon menu message-box small-caption status-bar- Throws:
Exception
-
applyCSSPropertyFontFamily
-
applyCSSPropertyFontSize
-
applyCSSPropertyFontSizeAdjust
-
applyCSSPropertyFontStretch
-
applyCSSPropertyFontStyle
-
applyCSSPropertyFontVariant
-
applyCSSPropertyFontWeight
-
retrieveCSSPropertyFontFamily
-
retrieveCSSPropertyFontSize
-
retrieveCSSPropertyFontAdjust
-
retrieveCSSPropertyFontStretch
-
retrieveCSSPropertyFontStyle
-
retrieveCSSPropertyFontVariant
-
retrieveCSSPropertyFontWeight
-