Uses of Interface
com.helger.css.decl.ICSSTopLevelRule
-
Packages that use ICSSTopLevelRule Package Description com.helger.css.decl com.helger.css.decl.visit -
-
Uses of ICSSTopLevelRule in com.helger.css.decl
Classes in com.helger.css.decl that implement ICSSTopLevelRule Modifier and Type Class Description classCSSFontFaceRuleRepresents a single@font-facerule.
Example:
@font-face { font-family: 'icons'; src: url(path/to/font.woff) format('woff'); unicode-range: U+E000-E005; }classCSSKeyframesRuleRepresents a single @keyframes rule.
Example:
@keyframes identifier { 0% { top: 0; left: 0; } 30% { top: 50px; } }classCSSMediaRuleRepresents a single@mediarule: a list of style rules only valid for certain media.
Example:
@media print { div#footer { display: none; } }classCSSPageRuleRepresents a single@pagerule.
Example:
@page { size: auto; margin: 10%; }classCSSStyleRuleRepresents a single CSS style rule.classCSSSupportsRuleRepresents a single@supportsrule: a list of style rules only valid when a certain declaration is available.classCSSUnknownRuleRepresents a single@rule that is non-standard and/or unknown.classCSSViewportRuleRepresents a single@viewportrule.
Example:
@viewport { width: device-width; }Fields in com.helger.css.decl with type parameters of type ICSSTopLevelRule Modifier and Type Field Description protected com.helger.commons.collection.impl.ICommonsList<ICSSTopLevelRule>AbstractHasTopLevelRules. m_aRulesMethods in com.helger.css.decl that return ICSSTopLevelRule Modifier and Type Method Description ICSSTopLevelRuleAbstractHasTopLevelRules. getRule(int nIndex)Deprecated.UseAbstractHasTopLevelRules.getRuleAtIndex(int)insteadICSSTopLevelRuleAbstractHasTopLevelRules. 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 ICSSTopLevelRule Modifier and Type Method Description com.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 ICSSTopLevelRule Modifier and Type Method Description AbstractHasTopLevelRulesAbstractHasTopLevelRules. addRule(int nIndex, ICSSTopLevelRule aRule)Add a new top-level rule at the specified index.AbstractHasTopLevelRulesAbstractHasTopLevelRules. 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 ICSSTopLevelRule Modifier and Type Method Description com.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 ICSSTopLevelRule Modifier and Type Method Description voidAbstractModifyingCSSUrlVisitor. 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.
-