Lines Matching defs:rule
56 * If this style sheet comes from an <code>@import</code> rule, the
69 * includes both rule sets and at-rules.
74 * Used to insert a new rule into the style sheet. The new rule now
76 * @param rule The parsable text representing the rule. For rule sets
78 * at-rules, this specifies both the at-identifier and the rule
80 * @param index The index within the style sheet's rule list of the rule
81 * before which to insert the specified rule. If the specified index
82 * is equal to the length of the style sheet's rule collection, the
83 * rule will be added to the end of the style sheet.
84 * @return The index within the style sheet's rule collection of the
85 * newly inserted rule.
87 * HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at the
88 * specified index e.g. if an <code>@import</code> rule is inserted
89 * after a standard rule set or other at-rule.
94 * <br>SYNTAX_ERR: Raised if the specified rule has a syntax error and
97 public int insertRule(String rule,
102 * Used to delete a rule from the style sheet.
103 * @param index The index within the style sheet's rule list of the rule
107 * a rule in the style sheet's rule list.