Package io.sf.carte.doc.style.css
Interface CSSFontFeatureValuesMap
public interface CSSFontFeatureValuesMap
Based on W3C's CSSFontFeatureValuesMap interface. See the
definition of
@font-feature-values interface in CSS Fonts Module Level 4..
-
Method Summary
Modifier and TypeMethodDescriptionGet the feature values associated with the given feature value name.Get a list of the comments that preceded this map, if any.Get a list of the comments that were found right after this map, if any.void
set
(String featureValueName, PrimitiveValue... values) Set the feature value(s) associated to the given feature value name.
-
Method Details
-
get
Get the feature values associated with the given feature value name.- Parameters:
featureValueName
- the feature value name.- Returns:
- the feature values, or
null
if there are no values for that name.
-
set
Set the feature value(s) associated to the given feature value name.- Parameters:
featureValueName
- the feature value name.values
- the feature value(s).
-
getPrecedingComments
StringList getPrecedingComments()Get a list of the comments that preceded this map, if any.- Returns:
- the list of comments, or
null
if there were no preceding comments.
-
getTrailingComments
StringList getTrailingComments()Get a list of the comments that were found right after this map, if any.- Returns:
- the list of comments, or
null
if there were no trailing comments.
-