Package com.helger.css.decl.shorthand
Class CSSShortHandDescriptor
java.lang.Object
com.helger.css.decl.shorthand.CSSShortHandDescriptor
- Direct Known Subclasses:
CSSShortHandDescriptorFlex,CSSShortHandDescriptorWithAlignment
A single descriptor for a short hand property (like font or border)
- Since:
- 3.7.4
- Author:
- Philip Helger
-
Constructor Summary
ConstructorsConstructorDescriptionCSSShortHandDescriptor(ECSSProperty eProperty, CSSPropertyWithDefaultValue... aSubProperties) -
Method Summary
Modifier and TypeMethodDescriptioncom.helger.commons.collection.impl.ICommonsList<CSSPropertyWithDefaultValue>com.helger.commons.collection.impl.ICommonsList<CSSDeclaration>getSplitIntoPieces(CSSDeclaration aDeclaration) protected voidmodifyExpressionMembers(com.helger.commons.collection.impl.ICommonsList<ICSSExpressionMember> aExpressionMembers) Modify the passed expression members before they are splittedtoString()
-
Constructor Details
-
CSSShortHandDescriptor
public CSSShortHandDescriptor(@Nonnull ECSSProperty eProperty, @Nonnull @Nonempty CSSPropertyWithDefaultValue... aSubProperties)
-
-
Method Details
-
getProperty
-
getAllSubProperties
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<CSSPropertyWithDefaultValue> getAllSubProperties() -
modifyExpressionMembers
@OverrideOnDemand protected void modifyExpressionMembers(@Nonnull com.helger.commons.collection.impl.ICommonsList<ICSSExpressionMember> aExpressionMembers) Modify the passed expression members before they are splitted- Parameters:
aExpressionMembers- The list to be modified. Nevernullbut maybe empty.
-
getSplitIntoPieces
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<CSSDeclaration> getSplitIntoPieces(@Nonnull CSSDeclaration aDeclaration) -
toString
-