CSSKeyframesRule represents a complete set of keyframes for a single
 animation.- 
Field SummaryFields inherited from interface org.w3c.css.om.CSSRuleCOUNTER_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, NESTED_DECLARATIONS, PAGE_RULE, PROPERTY_RULE, REGION_STYLE_RULE, STYLE_RULE, SUPPORTS_RULE, UNKNOWN_RULE, VIEWPORT_RULEFields inherited from interface org.w3c.dom.css.CSSRuleCHARSET_RULE
- 
Method SummaryModifier and TypeMethodDescriptionvoidappendRule(String rule) Appends a new rule into this keyframes rule collection.voiddeleteRule(String select) Deletes the last declaredCSSKeyframeRulematching the specified keyframe selector from thiskeyframesrule collection.The findRule returns the last declared CSSKeyframeRule matching the specified keyframe selector.Gets the list of keyframe rules.getName()Gets the name of the keyframes.voidSets the name of the keyframes.Methods inherited from interface org.w3c.css.om.CSSRulegetParentRule, getParentStyleSheetMethods inherited from interface org.w3c.dom.css.CSSRulegetCssText, getType, setCssText
- 
Method Details- 
getNameString getName()Gets the name of the keyframes.- Returns:
- the name of the keyframes.
 
- 
setNameSets the name of the keyframes.- Parameters:
- name- the name of the keyframes.
 
- 
getCssRulesCSSRuleList getCssRules()Gets the list of keyframe rules.- Returns:
- the list of keyframe rules.
 
- 
appendRuleAppends a new rule into this keyframes rule collection.- Parameters:
- rule- The parsable text representing the rule.
 
- 
deleteRuleDeletes the last declaredCSSKeyframeRulematching the specified keyframe selector from thiskeyframesrule collection. If no matching rule exists, the method does nothing.The number and order of the values in the specified keyframe selector must match those of the targeted keyframe rule(s). The match is not sensitive to white space around the values in the list. - Parameters:
- select- The keyframe selector of the rule to be deleted: a comma-separated list of keywords or percentage values between 0% and 100%.
 
- 
findRuleThe findRule returns the last declared CSSKeyframeRule matching the specified keyframe selector. If no matching rule exists, the method does nothing.- Parameters:
- select- The keyframe selector of the rule to be deleted: a comma-separated list of keywords or percentage values between 0% and 100%.
- Returns:
- the found rule, or null if no rule was found.
 
 
-