| Package | Description |
|---|---|
| com.helger.css.decl | |
| com.helger.css.propertyvalue | |
| com.helger.css.writer |
| Modifier and Type | Class and Description |
|---|---|
class |
CSSWritableList<DATATYPE extends ICSSWriteable>
Represents a list of
ICSSWriteable objects. |
class |
CSSWritableList<DATATYPE extends ICSSWriteable>
Represents a list of
ICSSWriteable objects. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ICSSExpressionMathMember
Base interface for all CSS math (
calc()) member objects. |
interface |
ICSSExpressionMember
Base interface for all CSS expression objects.
|
interface |
ICSSPageRuleMember
Base interface for all CSS page rule body objects.
|
interface |
ICSSSelectorMember
Marker interface for all children of a single CSS selector.
|
interface |
ICSSSupportsConditionMember
Marker interface for all children of a single CSS supports condition.
|
interface |
ICSSTopLevelRule
Marker interface for all top level CSS elements that can occur in any order
font face rules -
CSSFontFaceRule
keyframes rules - CSSKeyframesRule
media rules - CSSMediaRule
page rules - CSSPageRule
style rules - CSSStyleRule
supports rules - CSSSupportsRule
unknown rules - CSSUnknownRule
viewport rules - CSSViewportRule
To easily iterate over all rules contained in a CascadingStyleSheet
you can use the
CSSVisitor.visitCSS(CascadingStyleSheet, com.helger.css.decl.visit.ICSSVisitor)
method. |
interface |
IHasCSSDeclarations<IMPLTYPE extends IHasCSSDeclarations<IMPLTYPE>>
Sanity interface for all objects having CSS declarations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CSSDeclaration
Represents a single element in a CSS style rule.
|
class |
CSSDeclarationContainer
Represents a common container of
CSSDeclaration objects. |
class |
CSSDeclarationList
Represents a list of
CSSDeclaration objects. |
class |
CSSExpression
Represents a single expression consisting of several expression members
|
class |
CSSExpressionMemberFunction
Represents a CSS function element
|
class |
CSSExpressionMemberLineNames
Represents a CSS line-names element as used in css-grid.
|
class |
CSSExpressionMemberMath
Represents a CSS calc() element
|
class |
CSSExpressionMemberMathProduct
Part of a CSS calc element
|
class |
CSSExpressionMemberMathUnitProduct
Part of a CSS calc element
|
class |
CSSExpressionMemberMathUnitSimple
Part of a CSS calc element
|
class |
CSSExpressionMemberTermSimple
Represents a simple expression member
|
class |
CSSExpressionMemberTermURI
Represents an expression member URI
|
class |
CSSFontFaceRule
Represents a single
@font-face rule. |
class |
CSSHSL
Represents a single HSL color value (hue, saturation, lightness).
|
class |
CSSHSLA
Represents a single HSLA color value (hue, saturation, lightness, opacity).
|
class |
CSSImportRule
Represents a single import rule on top level.
|
class |
CSSKeyframesBlock
keyframes block
|
class |
CSSKeyframesRule
Represents a single @keyframes rule.
|
class |
CSSMediaExpression
Represents a single media expression
|
class |
CSSMediaQuery
Represents a single media query
|
class |
CSSMediaRule
Represents a single
@media rule: a list of style rules only
valid for certain media. |
class |
CSSNamespaceRule
Represents a single namespace rule on top level.
|
class |
CSSPageMarginBlock |
class |
CSSPageRule
Represents a single
@page rule. |
class |
CSSRect
Represents a single CSS rectangle
|
class |
CSSRGB
Represents a single RGB color value (red, green, blue)
|
class |
CSSRGBA
Represents a single RGBA color value (red, green, blue, opacity)
|
class |
CSSSelector
Represents a single selector as the aggregation of selector members.
|
class |
CSSSelectorAttribute
A single CSS selector attribute.
|
class |
CSSSelectorMemberFunctionLike
Represents a single CSS complex selector pseudo element.
|
class |
CSSSelectorMemberHost
Represents a single, simple CSS selector as used for the ":host()" CSS pseudo
class function.
|
class |
CSSSelectorMemberHostContext
Represents a single, simple CSS selector as used for the ":host-context()"
CSS pseudo class function.
|
class |
CSSSelectorMemberNot
Represents an inverted CSS selector, used for the ":not()" CSS function.
|
class |
CSSSelectorMemberSlotted
Represents a single, simple CSS selector as used for the "::slotted()" CSS
pseudo element.
|
class |
CSSSelectorSimpleMember
Represents a single CSS selector like an element name, a hash value (ID), a
class or a pseudo class.
|
class |
CSSStyleRule
Represents a single CSS style rule.
|
class |
CSSSupportsConditionDeclaration
Represents a single supports condition with a declaration.
|
class |
CSSSupportsConditionNegation
Represents a single negation supports condition.
|
class |
CSSSupportsConditionNested
Represents a single negation supports condition
|
class |
CSSSupportsRule
Represents a single
@supports rule: a list of style rules only
valid when a certain declaration is available. |
class |
CSSUnknownRule
Represents a single
@ rule that is non-standard and/or unknown. |
class |
CSSURI
Represents a single CSS URI.
|
class |
CSSViewportRule
Represents a single
@viewport rule. |
class |
CSSWritableList<DATATYPE extends ICSSWriteable>
Represents a list of
ICSSWriteable objects. |
class |
ECSSAttributeOperator
Enumeration with selector attribute operations as in
[foo^="bar"] |
class |
ECSSExpressionOperator
Enumeration with expression operators.
|
class |
ECSSMathOperator
Represents the different math operators available.
|
class |
ECSSSelectorCombinator
This enum contains all the selector combinators.
|
class |
ECSSSupportsConditionOperator
Contains the binary operators for the @supports rule as in
@supports (transition-property: color) or (animation-name: foo) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ICSSMultiValue
Base interface for a CSS value that contains more than one value
|
interface |
ICSSValue
Represents a single CSS value that is used in a CSS declaration.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CSSValue
Represents the combination of a single CSS property (
ICSSProperty)
and it's according value plus the important state (! |
class |
CSSValueList
Represents a CSS value that has both different property names and multiple
different values.
|
class |
CSSValueMultiProperty
Represents a CSS value that has several property names, but only one value.
|
class |
CSSValueMultiValue
Represents a CSS value that has one property name, but multiple different
values.
|
| Modifier and Type | Method and Description |
|---|---|
String |
CSSWriter.getCSSAsString(ICSSWriteable aCSS)
Get the string representation of the passed CSS object.
|
String |
CSSWriter.getCSSAsString(ICSSWriteable aCSS)
Get the string representation of the passed CSS object.
|
void |
CSSWriter.writeCSS(ICSSWriteable aCSS,
Writer aWriter)
Write the CSS content to the passed writer.
|
void |
CSSWriter.writeCSS(ICSSWriteable aCSS,
Writer aWriter)
Write the CSS content to the passed writer.
|
Copyright © 2014–2022 Philip Helger. All rights reserved.