Interface ICSSKeyframesRule

  • All Superinterfaces:

    public interface ICSSKeyframesRule
    extends ICSSRule

    The CSSKeyframesRule interface represents a complete set of keyframes for a single animation

    • Method Detail

      • getName

        java.lang.String getName()

        This attribute is the name of the keyframes, used by the ‘animation-name’ property.

        Value: The name.
      • getCSSRules

        ICSSRuleList getCSSRules()

        This attribute gives access to the keyframes in the list

        Value: The CSS rules.
      • appendRule

        void appendRule(java.lang.String rule)

        The appendRule method appends the passed CSSKeyframeRule into the list at the passed key

        rule - The rule to be appended, expressed in the same syntax as one entry in the ‘@keyframes’ rule
      • deleteRule

        void deleteRule(java.lang.String key)

        The deleteRule method deletes the CSSKeyframeRule with the passed key. If a rule with this key does not exist, the method does nothing

        key - The key which describes the rule to be deleted. The key must resolve to a number between 0 and 1, or the rule is ignored
      • findRule

        ICSSKeyframeRule findRule(java.lang.String key)

        The findRule method returns the rule with a key matching the passed key. If no such rule exists, a null value is returned

        key - The key which described the rule to find. The key must resolve to a number between 0 and 1, or the rule is ignored.
        The found rule