Uses of Interface
com.helger.css.decl.ICSSTopLevelRule
Packages that use ICSSTopLevelRule
-
Uses of ICSSTopLevelRule in com.helger.css.decl
Classes in com.helger.css.decl that implement ICSSTopLevelRuleModifier and TypeClassDescriptionclassRepresents a single@font-facerule.
Example:
@font-face { font-family: 'icons'; src: url(path/to/font.woff) format('woff'); unicode-range: U+E000-E005; }classRepresents a single @keyframes rule.
Example:
@keyframes identifier { 0% { top: 0; left: 0; } 30% { top: 50px; } }classRepresents a single@mediarule: a list of style rules only valid for certain media.
Example:
@media print { div#footer { display: none; } }classRepresents a single@pagerule.
Example:
@page { size: auto; margin: 10%; }classRepresents a single CSS style rule.classRepresents a single@supportsrule: a list of style rules only valid when a certain declaration is available.classRepresents a single@rule that is non-standard and/or unknown.classRepresents a single@viewportrule.
Example:
@viewport { width: device-width; }Fields in com.helger.css.decl with type parameters of type ICSSTopLevelRuleModifier and TypeFieldDescriptionprotected final com.helger.commons.collection.impl.ICommonsList<ICSSTopLevelRule> AbstractHasTopLevelRules.m_aRulesMethods in com.helger.css.decl that return ICSSTopLevelRuleModifier and TypeMethodDescriptionAbstractHasTopLevelRules.getRule(int nIndex) Deprecated.AbstractHasTopLevelRules.getRuleAtIndex(int nIndex) Get the top-level rule at the specified index.Methods in com.helger.css.decl that return types with arguments of type ICSSTopLevelRuleModifier and TypeMethodDescriptioncom.helger.commons.collection.impl.ICommonsList<ICSSTopLevelRule> AbstractHasTopLevelRules.getAllRules()Get a copy of all contained top-level rules.com.helger.commons.collection.impl.ICommonsList<ICSSTopLevelRule> AbstractHasTopLevelRules.getAllRules(Predicate<? super ICSSTopLevelRule> aFilter) Get a copy of all contained top-level rules.Methods in com.helger.css.decl with parameters of type ICSSTopLevelRuleModifier and TypeMethodDescriptionAbstractHasTopLevelRules.addRule(int nIndex, ICSSTopLevelRule aRule) Add a new top-level rule at the specified index.AbstractHasTopLevelRules.addRule(ICSSTopLevelRule aRule) Add a new top-level rule at the end.com.helger.commons.state.EChangeAbstractHasTopLevelRules.removeRule(ICSSTopLevelRule aRule) Remove the specified top-level rule.Method parameters in com.helger.css.decl with type arguments of type ICSSTopLevelRuleModifier and TypeMethodDescriptioncom.helger.commons.collection.impl.ICommonsList<ICSSTopLevelRule> AbstractHasTopLevelRules.getAllRules(Predicate<? super ICSSTopLevelRule> aFilter) Get a copy of all contained top-level rules.com.helger.commons.state.EChangeAbstractHasTopLevelRules.removeRules(Predicate<? super ICSSTopLevelRule> aFilter) Remove all rules matching the passed predicate. -
Uses of ICSSTopLevelRule in com.helger.css.decl.visit
Methods in com.helger.css.decl.visit with parameters of type ICSSTopLevelRuleModifier and TypeMethodDescriptionvoidAbstractModifyingCSSUrlVisitor.onUrlDeclaration(ICSSTopLevelRule aTopLevelRule, CSSDeclaration aDeclaration, CSSExpressionMemberTermURI aExprTerm) voidDefaultCSSUrlVisitor.onUrlDeclaration(ICSSTopLevelRule aTopLevelRule, CSSDeclaration aDeclaration, CSSExpressionMemberTermURI aURITerm) voidICSSUrlVisitor.onUrlDeclaration(ICSSTopLevelRule aTopLevelRule, CSSDeclaration aDeclaration, CSSExpressionMemberTermURI aURITerm) Called on a CSS declaration value that contains an URL.
Note: for keyframes it is currently not possible to retrieve the keyframes block to which the declaration belongs.static voidCSSVisitor.visitTopLevelRule(ICSSTopLevelRule aTopLevelRule, ICSSVisitor aVisitor) Visit all elements of a single top-level rule.
AbstractHasTopLevelRules.getRuleAtIndex(int)instead