Package io.sf.carte.doc.style.css
Interface CSSPropertyRule
- All Superinterfaces:
CSSPropertyDefinition,CSSRule,org.w3c.dom.css.CSSRule
- All Known Implementing Classes:
PropertyRule
@property rule.- See Also:
-
Field Summary
Fields inherited from interface io.sf.carte.doc.style.css.CSSRule
COUNTER_STYLE_RULE, CUSTOM_MEDIA_RULE, DOCUMENT_RULE, FONT_FACE_RULE, FONT_FEATURE_VALUES_RULE, IMPORT_RULE, KEYFRAME_RULE, KEYFRAMES_RULE, MARGIN_RULE, MEDIA_RULE, NAMESPACE_RULE, PAGE_RULE, PROPERTY_RULE, REGION_STYLE_RULE, STYLE_RULE, SUPPORTS_RULE, UNKNOWN_RULE, VIEWPORT_RULEFields inherited from interface org.w3c.dom.css.CSSRule
CHARSET_RULE -
Method Summary
Methods inherited from interface io.sf.carte.doc.style.css.CSSRule
getMinifiedCssText, getParentRule, getParentStyleSheet, getPrecedingComments, getTrailingComments, writeCssTextMethods inherited from interface org.w3c.dom.css.CSSRule
getCssText, getType, setCssText
-
Method Details
-
getName
String getName()Gets the custom property name.- Specified by:
getNamein interfaceCSSPropertyDefinition- Returns:
- the property name.
-
inherits
boolean inherits()Whether the property inherits or not.- Specified by:
inheritsin interfaceCSSPropertyDefinition- Returns:
trueif the property inherits.
-
getInitialValue
CSSLexicalValue getInitialValue()The initial value associated with the@propertyrule.- Specified by:
getInitialValuein interfaceCSSPropertyDefinition- Returns:
- the initial value, or
nullif none was specified.
-
getSyntax
CSSValueSyntax getSyntax()The syntax associated with the@propertyrule.- Specified by:
getSyntaxin interfaceCSSPropertyDefinition- Returns:
- the syntax, or
nullif invalid.
-