Module io.sf.carte.echosvg.css
Interface ShorthandManager
- All Known Implementing Classes:
FontShorthandManager
,MarginShorthandManager
,MarkerShorthandManager
public interface ShorthandManager
This interface represents the objects which provide support for shorthand
properties.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
To handle a property value created by a ShorthandManager. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the property handled.boolean
Whether the handled property can be additively animated.boolean
Whether the handled property can be animated.void
setValues
(CSSEngine eng, ShorthandManager.PropertyHandler ph, io.sf.carte.doc.style.css.nsac.LexicalUnit lu, boolean imp) Sets the properties which are affected by this shorthand property.
-
Method Details
-
getPropertyName
String getPropertyName()Returns the name of the property handled. -
isAnimatableProperty
boolean isAnimatableProperty()Whether the handled property can be animated. -
isAdditiveProperty
boolean isAdditiveProperty()Whether the handled property can be additively animated. -
setValues
void setValues(CSSEngine eng, ShorthandManager.PropertyHandler ph, io.sf.carte.doc.style.css.nsac.LexicalUnit lu, boolean imp) throws DOMException Sets the properties which are affected by this shorthand property.- Parameters:
eng
- The current CSSEngine.ph
- The property handler to use.lu
- The SAC lexical unit used to create the value.imp
- The property priority.- Throws:
DOMException
-