- All Implemented Interfaces:
ExtendedCSSStyleDeclaration,Cloneable,CSS2Properties,CSSStyleDeclaration
- Direct Known Subclasses:
AnonymousStyleDeclaration,ComputedCSSStyle,InlineStyle
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseCSSStyleDeclaration(BaseCSSDeclarationRule parentRule) Constructor with parent CSS rule argument.protectedBaseCSSStyleDeclaration(BaseCSSStyleDeclaration copiedObject) Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddOverrideProperty(String propertyName, StyleValue cssValue, String priority) protected voidaddProperty(String propertyName, StyleValue cssValue, String priority) voidaddStyle(BaseCSSStyleDeclaration style) Add all the properties in the given style declaration to this one.protected voidappendLonghandMinifiedCssText(StringBuilder sb, String ptyname, StyleValue cssVal, boolean important) protected voidappendShorthandMinifiedCssText(StringBuilder sb, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) clone()protected voidcompatLonghand(String propertyName, StyleValue overridden, boolean priorityImportant, boolean isOverridden) computeBoundProperty(String masterProperty, String propertyName, StyleValue value) The used value of some properties is bound by a 'master' property, so if that master property has a list value withnitems, those properties have also a list value ofnitems.diff(BaseCSSStyleDeclaration other) Gives an object containing the differences between two declarations.booleangetClear()getClip()getColor()Retrieves the parsable textual representation of the declaration block (excluding the surrounding curly braces).protected StyleValuegetCSSValue(String propertyName) getCue()protected PrimitiveValueprotected StyleValuegetDeclaredCSSValue(String propertyName) getFont()getLeft()intThe number of properties that have been explicitly set in this declaration block.getMarks()Retrieves a minified textual representation of the declaration block (excluding the surrounding curly braces).The node that owns this declaration.getPage()Retrieves the CSS rule that contains this declaration block.getPause()getPitch()getPropertyCSSValue(String propertyName) Gets the object representation of the value of a CSS property if it has been explicitly set for this declaration block.getPropertyPriority(String propertyName) Used to retrieve the priority of a CSS property (e.g. the"important"qualifier) if the property has been explicitly set in this declaration block.getPropertyValue(String propertyName) Gets the text value of a CSS property if it has been explicitly set within this declaration block.getRight()getSize()getSpeak()Gets the style database which is used to compute the style.Get the error handler for this style declaration.protected AbstractCSSStyleSheetFactorygetTop()protected ValueFactorygetWidth()inthashCode()booleanisEmpty()Is this style declaration empty?item(int index) Used to retrieve the properties that have been set in this declaration block.protected voidprioritySplit(AbstractCSSStyleDeclaration importantDecl, AbstractCSSStyleDeclaration normalDecl) Splits this style declaration in two: one for important properties only, and the other with normal properties.removeProperty(String propertyName) Used to remove a CSS property if it has been explicitly set within this declaration block.voidsetAzimuth(String azimuth) voidsetBackground(String background) voidsetBackgroundAttachment(String backgroundAttachment) voidsetBackgroundColor(String backgroundColor) voidsetBackgroundImage(String backgroundImage) voidsetBackgroundPosition(String backgroundPosition) voidsetBackgroundRepeat(String backgroundRepeat) voidvoidsetBorderBottom(String borderBottom) voidsetBorderBottomColor(String borderBottomColor) voidsetBorderBottomStyle(String borderBottomStyle) voidsetBorderBottomWidth(String borderBottomWidth) voidsetBorderCollapse(String borderCollapse) voidsetBorderColor(String borderColor) voidsetBorderLeft(String borderLeft) voidsetBorderLeftColor(String borderLeftColor) voidsetBorderLeftStyle(String borderLeftStyle) voidsetBorderLeftWidth(String borderLeftWidth) voidsetBorderRight(String borderRight) voidsetBorderRightColor(String borderRightColor) voidsetBorderRightStyle(String borderRightStyle) voidsetBorderRightWidth(String borderRightWidth) voidsetBorderSpacing(String borderSpacing) voidsetBorderStyle(String borderStyle) voidsetBorderTop(String borderTop) voidsetBorderTopColor(String borderTopColor) voidsetBorderTopStyle(String borderTopStyle) voidsetBorderTopWidth(String borderTopWidth) voidsetBorderWidth(String borderWidth) voidvoidsetCaptionSide(String captionSide) voidvoidvoidvoidsetContent(String content) voidsetCounterIncrement(String counterIncrement) voidsetCounterReset(String counterReset) voidsetCssFloat(String cssFloat) voidsetCssText(String cssText) Parses the given value and resets all the properties in the declaration block, including the removal or addition of properties.voidvoidsetCueAfter(String cueAfter) voidsetCueBefore(String cueBefore) voidvoidsetDirection(String direction) voidsetDisplay(String display) voidsetElevation(String elevation) voidsetEmptyCells(String emptyCells) voidvoidsetFontFamily(String fontFamily) voidsetFontSize(String fontSize) voidsetFontSizeAdjust(String fontSizeAdjust) voidsetFontStretch(String fontStretch) voidsetFontStyle(String fontStyle) voidsetFontVariant(String fontVariant) voidsetFontWeight(String fontWeight) voidvoidvoidsetLetterSpacing(String letterSpacing) voidsetLineHeight(String lineHeight) voidsetListStyle(String listStyle) voidsetListStyleImage(String listStyleImage) voidsetListStylePosition(String listStylePosition) voidsetListStyleType(String listStyleType) protected voidsetLonghandProperty(String propertyName, LexicalUnit value, String priority) voidvoidsetMarginBottom(String marginBottom) voidsetMarginLeft(String marginLeft) voidsetMarginRight(String marginRight) voidsetMarginTop(String marginTop) voidsetMarkerOffset(String markerOffset) voidvoidsetMaxHeight(String maxHeight) voidsetMaxWidth(String maxWidth) voidsetMinHeight(String minHeight) voidsetMinWidth(String minWidth) voidsetOrphans(String orphans) voidsetOutline(String outline) voidsetOutlineColor(String outlineColor) voidsetOutlineStyle(String outlineStyle) voidsetOutlineWidth(String outlineWidth) voidsetOverflow(String overflow) voidsetPadding(String padding) voidsetPaddingBottom(String paddingBottom) voidsetPaddingLeft(String paddingLeft) voidsetPaddingRight(String paddingRight) voidsetPaddingTop(String paddingTop) voidvoidsetPageBreakAfter(String pageBreakAfter) voidsetPageBreakBefore(String pageBreakBefore) voidsetPageBreakInside(String pageBreakInside) voidvoidsetPauseAfter(String pauseAfter) voidsetPauseBefore(String pauseBefore) voidvoidsetPitchRange(String pitchRange) voidsetPlayDuring(String playDuring) voidsetPosition(String position) voidsetProperty(String propertyName, String value, String priority) Used to set a property value and priority within this declaration block.voidsetProperty(String propertyName, LexicalUnit value, String priority) protected voidsetPropertyCSSValue(String propertyName, StyleValue value, String hrefcontext) voidvoidsetRichness(String richness) voidvoidvoidvoidsetSpeakHeader(String speakHeader) voidsetSpeakNumeral(String speakNumeral) voidsetSpeakPunctuation(String speakPunctuation) voidsetSpeechRate(String speechRate) voidvoidsetTableLayout(String tableLayout) voidsetTextAlign(String textAlign) voidsetTextDecoration(String textDecoration) voidsetTextIndent(String textIndent) voidsetTextShadow(String textShadow) voidsetTextTransform(String textTransform) voidvoidsetUnicodeBidi(String unicodeBidi) voidsetVerticalAlign(String verticalAlign) voidsetVisibility(String visibility) voidsetVoiceFamily(String voiceFamily) voidvoidsetWhiteSpace(String whiteSpace) voidvoidvoidsetWordSpacing(String wordSpacing) voidprotected voidshorthandError(String propertyName, LexicalUnit value, boolean important, LinkedList<String> shadowedShorthands, DOMException e) static booleantestColor(LexicalUnit lunit) toString()voidwriteCssText(SimpleWriter wri, StyleFormattingContext context) Writes a textual representation of the declaration block (excluding the surrounding curly braces) to aSimpleWriter, and according to aStyleFormattingContext.protected voidwriteLonghandCssText(SimpleWriter wri, StyleFormattingContext context, String ptyname, StyleValue ptyvalue, boolean important) protected voidwriteShorthandCssText(SimpleWriter wri, StyleFormattingContext context, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval)
-
Constructor Details
-
BaseCSSStyleDeclaration
Constructor with parent CSS rule argument.- Parameters:
parentRule- the parent CSS rule.
-
BaseCSSStyleDeclaration
public BaseCSSStyleDeclaration() -
BaseCSSStyleDeclaration
Copy constructor.- Parameters:
copiedObject- the BaseCSSStyleDeclaration to be copied.
-
-
Method Details
-
getMinifiedCssText
Retrieves a minified textual representation of the declaration block (excluding the surrounding curly braces).- Specified by:
getMinifiedCssTextin interfaceExtendedCSSStyleDeclaration- Specified by:
getMinifiedCssTextin classAbstractCSSStyleDeclaration- Returns:
- the minified representation of this style declaration.
-
appendShorthandMinifiedCssText
protected void appendShorthandMinifiedCssText(StringBuilder sb, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) -
appendLonghandMinifiedCssText
protected void appendLonghandMinifiedCssText(StringBuilder sb, String ptyname, StyleValue cssVal, boolean important) -
getCssText
Retrieves the parsable textual representation of the declaration block (excluding the surrounding curly braces).- Specified by:
getCssTextin interfaceCSSStyleDeclaration- Returns:
- the textual representation of the declaration block.
- Throws:
DOMException- SYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable.
-
writeCssText
Description copied from class:AbstractCSSStyleDeclarationWrites a textual representation of the declaration block (excluding the surrounding curly braces) to aSimpleWriter, and according to aStyleFormattingContext.- Specified by:
writeCssTextin interfaceExtendedCSSStyleDeclaration- Specified by:
writeCssTextin classAbstractCSSStyleDeclaration- Parameters:
wri- the simple writer to write to.context- the style formatting context.- Throws:
IOException- if a problem occurs while writing the text.
-
writeShorthandCssText
protected void writeShorthandCssText(SimpleWriter wri, StyleFormattingContext context, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) throws IOException - Throws:
IOException
-
writeLonghandCssText
protected void writeLonghandCssText(SimpleWriter wri, StyleFormattingContext context, String ptyname, StyleValue ptyvalue, boolean important) throws IOException - Throws:
IOException
-
getStyleDeclarationErrorHandler
Description copied from class:AbstractCSSStyleDeclarationGet the error handler for this style declaration.- Specified by:
getStyleDeclarationErrorHandlerin classAbstractCSSStyleDeclaration- Returns:
- the error handler, or
nullif this is an anonymous style declaration.
-
setCssText
Parses the given value and resets all the properties in the declaration block, including the removal or addition of properties.- Specified by:
setCssTextin interfaceCSSStyleDeclaration- Parameters:
cssText- the text with the style declaration.- Throws:
DOMException- NOT_SUPPORTED_ERR: if the system was unable to instantiate parser.
-
getStyleSheetFactory
- Specified by:
getStyleSheetFactoryin classAbstractCSSStyleDeclaration
-
getValueFactory
-
getPropertyValue
Description copied from interface:ExtendedCSSStyleDeclarationGets the text value of a CSS property if it has been explicitly set within this declaration block.If the declaration was created by a factory with the
IEVALUESflag enabled, the compatibility values shall appear in the cssText serializations, but its value won't be returned by this method unless no other valid value was previously specified for the property.- Specified by:
getPropertyValuein interfaceCSSStyleDeclaration- Specified by:
getPropertyValuein interfaceExtendedCSSStyleDeclaration- Parameters:
propertyName- The name of the CSS property.- Returns:
- the value of the property if it has been explicitly set for this declaration block, or the empty string if the property has not been set or is a shorthand that could not be serialized.
-
getPropertyCSSValue
Description copied from interface:ExtendedCSSStyleDeclarationGets the object representation of the value of a CSS property if it has been explicitly set for this declaration block.If the declaration was created by a factory with the
IEVALUESflag enabled, the compatibility values shall appear in the cssText serializations, but its value won't be returned by this method unless no other valid value was previously specified for the property.- Specified by:
getPropertyCSSValuein interfaceCSSStyleDeclaration- Specified by:
getPropertyCSSValuein interfaceExtendedCSSStyleDeclaration- Specified by:
getPropertyCSSValuein classAbstractCSSStyleDeclaration- Parameters:
propertyName- The name of the CSS property.- Returns:
- the value of the property if it has been explicitly set for this declaration
block. Returns
nullif the property has not been set or is a shorthand.
-
getCSSValue
-
getDeclaredCSSValue
-
computeBoundProperty
public StyleValue computeBoundProperty(String masterProperty, String propertyName, StyleValue value) The used value of some properties is bound by a 'master' property, so if that master property has a list value withnitems, those properties have also a list value ofnitems. If more values were specified, they are truncated, and if less, the specified values are repeated until reachingn.- Parameters:
masterProperty- the name of the master property (e.g. 'background-image').propertyName- the name of the bound property.value- the specified value for that property.- Returns:
- the used value for the given parameters.
-
removeProperty
Used to remove a CSS property if it has been explicitly set within this declaration block.- Specified by:
removePropertyin interfaceCSSStyleDeclaration- Parameters:
propertyName- name of the property to remove.- Returns:
- Returns the value of the property if it has been explicitly set for this declaration block. Returns the empty string if the property has not been set or the property name does not correspond to a known CSS property.
-
getPropertyPriority
Used to retrieve the priority of a CSS property (e.g. the"important"qualifier) if the property has been explicitly set in this declaration block.- Specified by:
getPropertyPriorityin interfaceCSSStyleDeclaration- Parameters:
propertyName- The name of the CSS property.- Returns:
- A string representing the priority (e.g.
"important") if the property has been explicitly set in this declaration block and has a priority specified. The empty string otherwise.
-
setProperty
public void setProperty(String propertyName, LexicalUnit value, String priority) throws DOMException - Throws:
DOMException
-
shorthandError
protected void shorthandError(String propertyName, LexicalUnit value, boolean important, LinkedList<String> shadowedShorthands, DOMException e) -
setLonghandProperty
protected void setLonghandProperty(String propertyName, LexicalUnit value, String priority) throws DOMException - Throws:
DOMException
-
setProperty
Used to set a property value and priority within this declaration block.- Specified by:
setPropertyin interfaceCSSStyleDeclaration- Parameters:
propertyName- The name of the CSS property. See the CSS property index.value- The new value of the property.priority- The new priority of the property (e.g."important").- Throws:
DOMException- SYNTAX_ERR: Raised if the specified value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is readonly or the property is readonly.
-
addProperty
-
addOverrideProperty
-
compatLonghand
protected void compatLonghand(String propertyName, StyleValue overridden, boolean priorityImportant, boolean isOverridden) -
isEmpty
public boolean isEmpty()Description copied from class:AbstractCSSStyleDeclarationIs this style declaration empty?- Specified by:
isEmptyin classAbstractCSSStyleDeclaration- Returns:
trueif the declaration is empty,falseotherwise.
-
getLength
public int getLength()The number of properties that have been explicitly set in this declaration block. The range of valid indices is 0 to length-1 inclusive.- Specified by:
getLengthin interfaceCSSStyleDeclaration
-
item
Used to retrieve the properties that have been set in this declaration block. The order of the properties retrieved using this method does not have to be the order in which they were set. This method can be used to iterate over all properties in this declaration block.- Specified by:
itemin interfaceCSSStyleDeclaration- Parameters:
index- the property index.- Returns:
- the name of the property at this ordinal position, or the empty string if no property exists at this position.
-
getParentRule
Retrieves the CSS rule that contains this declaration block.- Specified by:
getParentRulein interfaceCSSStyleDeclaration- Specified by:
getParentRulein interfaceExtendedCSSStyleDeclaration- Returns:
- the CSS rule that contains this declaration block or
nullif thisCSSStyleDeclarationis not attached to aCSSRule.
-
getOwnerNode
The node that owns this declaration.For computed styles, the owner is always the element for which the style was computed.
- Returns:
- the node that owns this declaration, or null if none.
-
addStyle
Add all the properties in the given style declaration to this one.- Parameters:
style- the style declaration whose properties have to be added.
-
setPropertyCSSValue
-
prioritySplit
protected void prioritySplit(AbstractCSSStyleDeclaration importantDecl, AbstractCSSStyleDeclaration normalDecl) Splits this style declaration in two: one for important properties only, and the other with normal properties.- Specified by:
prioritySplitin classAbstractCSSStyleDeclaration- Parameters:
importantDecl- the style declaration for important properties.normalDecl- the style declaration for normal properties.
-
getStyleDatabase
Gets the style database which is used to compute the style.- Returns:
nullthe style database, ornullif no style database is being used (like in the case of declared styles).
-
getCurrentColor
-
getCSSColor
-
hashCode
public int hashCode() -
equals
-
diff
Gives an object containing the differences between two declarations.Properties that are set in this style declaration but not in
otherwill be in the left side of the diff, while the ones that are set in theotherbut not in this one will be in the right side. Properties that are set to different values or that have different priorities will be in thegetDifferent()part.- Parameters:
other- the style declaration to be compared to.- Returns:
- the
Diffobject containing the differences.
-
toString
-
clone
-
testColor
-
getAzimuth
- Specified by:
getAzimuthin interfaceCSS2Properties
-
setAzimuth
- Specified by:
setAzimuthin interfaceCSS2Properties- Throws:
DOMException
-
getBackground
- Specified by:
getBackgroundin interfaceCSS2Properties
-
setBackground
- Specified by:
setBackgroundin interfaceCSS2Properties- Throws:
DOMException
-
getBackgroundAttachment
- Specified by:
getBackgroundAttachmentin interfaceCSS2Properties
-
setBackgroundAttachment
- Specified by:
setBackgroundAttachmentin interfaceCSS2Properties- Throws:
DOMException
-
getBackgroundColor
- Specified by:
getBackgroundColorin interfaceCSS2Properties
-
setBackgroundColor
- Specified by:
setBackgroundColorin interfaceCSS2Properties- Throws:
DOMException
-
getBackgroundImage
- Specified by:
getBackgroundImagein interfaceCSS2Properties
-
setBackgroundImage
- Specified by:
setBackgroundImagein interfaceCSS2Properties- Throws:
DOMException
-
getBackgroundPosition
- Specified by:
getBackgroundPositionin interfaceCSS2Properties
-
setBackgroundPosition
- Specified by:
setBackgroundPositionin interfaceCSS2Properties- Throws:
DOMException
-
getBackgroundRepeat
- Specified by:
getBackgroundRepeatin interfaceCSS2Properties
-
setBackgroundRepeat
- Specified by:
setBackgroundRepeatin interfaceCSS2Properties- Throws:
DOMException
-
getBorder
- Specified by:
getBorderin interfaceCSS2Properties
-
setBorder
- Specified by:
setBorderin interfaceCSS2Properties- Throws:
DOMException
-
getBorderCollapse
- Specified by:
getBorderCollapsein interfaceCSS2Properties
-
setBorderCollapse
- Specified by:
setBorderCollapsein interfaceCSS2Properties- Throws:
DOMException
-
getBorderColor
- Specified by:
getBorderColorin interfaceCSS2Properties
-
setBorderColor
- Specified by:
setBorderColorin interfaceCSS2Properties- Throws:
DOMException
-
getBorderSpacing
- Specified by:
getBorderSpacingin interfaceCSS2Properties
-
setBorderSpacing
- Specified by:
setBorderSpacingin interfaceCSS2Properties- Throws:
DOMException
-
getBorderStyle
- Specified by:
getBorderStylein interfaceCSS2Properties
-
setBorderStyle
- Specified by:
setBorderStylein interfaceCSS2Properties- Throws:
DOMException
-
getBorderTop
- Specified by:
getBorderTopin interfaceCSS2Properties
-
setBorderTop
- Specified by:
setBorderTopin interfaceCSS2Properties- Throws:
DOMException
-
getBorderRight
- Specified by:
getBorderRightin interfaceCSS2Properties
-
setBorderRight
- Specified by:
setBorderRightin interfaceCSS2Properties- Throws:
DOMException
-
getBorderBottom
- Specified by:
getBorderBottomin interfaceCSS2Properties
-
setBorderBottom
- Specified by:
setBorderBottomin interfaceCSS2Properties- Throws:
DOMException
-
getBorderLeft
- Specified by:
getBorderLeftin interfaceCSS2Properties
-
setBorderLeft
- Specified by:
setBorderLeftin interfaceCSS2Properties- Throws:
DOMException
-
getBorderTopColor
- Specified by:
getBorderTopColorin interfaceCSS2Properties
-
setBorderTopColor
- Specified by:
setBorderTopColorin interfaceCSS2Properties- Throws:
DOMException
-
getBorderRightColor
- Specified by:
getBorderRightColorin interfaceCSS2Properties
-
setBorderRightColor
- Specified by:
setBorderRightColorin interfaceCSS2Properties- Throws:
DOMException
-
getBorderBottomColor
- Specified by:
getBorderBottomColorin interfaceCSS2Properties
-
setBorderBottomColor
- Specified by:
setBorderBottomColorin interfaceCSS2Properties- Throws:
DOMException
-
getBorderLeftColor
- Specified by:
getBorderLeftColorin interfaceCSS2Properties
-
setBorderLeftColor
- Specified by:
setBorderLeftColorin interfaceCSS2Properties- Throws:
DOMException
-
getBorderTopStyle
- Specified by:
getBorderTopStylein interfaceCSS2Properties
-
setBorderTopStyle
- Specified by:
setBorderTopStylein interfaceCSS2Properties- Throws:
DOMException
-
getBorderRightStyle
- Specified by:
getBorderRightStylein interfaceCSS2Properties
-
setBorderRightStyle
- Specified by:
setBorderRightStylein interfaceCSS2Properties- Throws:
DOMException
-
getBorderBottomStyle
- Specified by:
getBorderBottomStylein interfaceCSS2Properties
-
setBorderBottomStyle
- Specified by:
setBorderBottomStylein interfaceCSS2Properties- Throws:
DOMException
-
getBorderLeftStyle
- Specified by:
getBorderLeftStylein interfaceCSS2Properties
-
setBorderLeftStyle
- Specified by:
setBorderLeftStylein interfaceCSS2Properties- Throws:
DOMException
-
getBorderTopWidth
- Specified by:
getBorderTopWidthin interfaceCSS2Properties
-
setBorderTopWidth
- Specified by:
setBorderTopWidthin interfaceCSS2Properties- Throws:
DOMException
-
getBorderRightWidth
- Specified by:
getBorderRightWidthin interfaceCSS2Properties
-
setBorderRightWidth
- Specified by:
setBorderRightWidthin interfaceCSS2Properties- Throws:
DOMException
-
getBorderBottomWidth
- Specified by:
getBorderBottomWidthin interfaceCSS2Properties
-
setBorderBottomWidth
- Specified by:
setBorderBottomWidthin interfaceCSS2Properties- Throws:
DOMException
-
getBorderLeftWidth
- Specified by:
getBorderLeftWidthin interfaceCSS2Properties
-
setBorderLeftWidth
- Specified by:
setBorderLeftWidthin interfaceCSS2Properties- Throws:
DOMException
-
getBorderWidth
- Specified by:
getBorderWidthin interfaceCSS2Properties
-
setBorderWidth
- Specified by:
setBorderWidthin interfaceCSS2Properties- Throws:
DOMException
-
getBottom
- Specified by:
getBottomin interfaceCSS2Properties
-
setBottom
- Specified by:
setBottomin interfaceCSS2Properties- Throws:
DOMException
-
getCaptionSide
- Specified by:
getCaptionSidein interfaceCSS2Properties
-
setCaptionSide
- Specified by:
setCaptionSidein interfaceCSS2Properties- Throws:
DOMException
-
getClear
- Specified by:
getClearin interfaceCSS2Properties
-
setClear
- Specified by:
setClearin interfaceCSS2Properties- Throws:
DOMException
-
getClip
- Specified by:
getClipin interfaceCSS2Properties
-
setClip
- Specified by:
setClipin interfaceCSS2Properties- Throws:
DOMException
-
getColor
- Specified by:
getColorin interfaceCSS2Properties
-
setColor
- Specified by:
setColorin interfaceCSS2Properties- Throws:
DOMException
-
getContent
- Specified by:
getContentin interfaceCSS2Properties
-
setContent
- Specified by:
setContentin interfaceCSS2Properties- Throws:
DOMException
-
getCounterIncrement
- Specified by:
getCounterIncrementin interfaceCSS2Properties
-
setCounterIncrement
- Specified by:
setCounterIncrementin interfaceCSS2Properties- Throws:
DOMException
-
getCounterReset
- Specified by:
getCounterResetin interfaceCSS2Properties
-
setCounterReset
- Specified by:
setCounterResetin interfaceCSS2Properties- Throws:
DOMException
-
getCue
- Specified by:
getCuein interfaceCSS2Properties
-
setCue
- Specified by:
setCuein interfaceCSS2Properties- Throws:
DOMException
-
getCueAfter
- Specified by:
getCueAfterin interfaceCSS2Properties
-
setCueAfter
- Specified by:
setCueAfterin interfaceCSS2Properties- Throws:
DOMException
-
getCueBefore
- Specified by:
getCueBeforein interfaceCSS2Properties
-
setCueBefore
- Specified by:
setCueBeforein interfaceCSS2Properties- Throws:
DOMException
-
getCursor
- Specified by:
getCursorin interfaceCSS2Properties
-
setCursor
- Specified by:
setCursorin interfaceCSS2Properties- Throws:
DOMException
-
getDirection
- Specified by:
getDirectionin interfaceCSS2Properties
-
setDirection
- Specified by:
setDirectionin interfaceCSS2Properties- Throws:
DOMException
-
getDisplay
- Specified by:
getDisplayin interfaceCSS2Properties
-
setDisplay
- Specified by:
setDisplayin interfaceCSS2Properties- Throws:
DOMException
-
getElevation
- Specified by:
getElevationin interfaceCSS2Properties
-
setElevation
- Specified by:
setElevationin interfaceCSS2Properties- Throws:
DOMException
-
getEmptyCells
- Specified by:
getEmptyCellsin interfaceCSS2Properties
-
setEmptyCells
- Specified by:
setEmptyCellsin interfaceCSS2Properties- Throws:
DOMException
-
getCssFloat
- Specified by:
getCssFloatin interfaceCSS2Properties
-
setCssFloat
- Specified by:
setCssFloatin interfaceCSS2Properties- Throws:
DOMException
-
getFont
- Specified by:
getFontin interfaceCSS2Properties
-
setFont
- Specified by:
setFontin interfaceCSS2Properties- Throws:
DOMException
-
getFontFamily
- Specified by:
getFontFamilyin interfaceCSS2Properties
-
setFontFamily
- Specified by:
setFontFamilyin interfaceCSS2Properties- Throws:
DOMException
-
getFontSize
- Specified by:
getFontSizein interfaceCSS2Properties
-
setFontSize
- Specified by:
setFontSizein interfaceCSS2Properties- Throws:
DOMException
-
getFontSizeAdjust
- Specified by:
getFontSizeAdjustin interfaceCSS2Properties
-
setFontSizeAdjust
- Specified by:
setFontSizeAdjustin interfaceCSS2Properties- Throws:
DOMException
-
getFontStretch
- Specified by:
getFontStretchin interfaceCSS2Properties
-
setFontStretch
- Specified by:
setFontStretchin interfaceCSS2Properties- Throws:
DOMException
-
getFontStyle
- Specified by:
getFontStylein interfaceCSS2Properties
-
setFontStyle
- Specified by:
setFontStylein interfaceCSS2Properties- Throws:
DOMException
-
getFontVariant
- Specified by:
getFontVariantin interfaceCSS2Properties
-
setFontVariant
- Specified by:
setFontVariantin interfaceCSS2Properties- Throws:
DOMException
-
getFontWeight
- Specified by:
getFontWeightin interfaceCSS2Properties
-
setFontWeight
- Specified by:
setFontWeightin interfaceCSS2Properties- Throws:
DOMException
-
getHeight
- Specified by:
getHeightin interfaceCSS2Properties
-
setHeight
- Specified by:
setHeightin interfaceCSS2Properties- Throws:
DOMException
-
getLeft
- Specified by:
getLeftin interfaceCSS2Properties
-
setLeft
- Specified by:
setLeftin interfaceCSS2Properties- Throws:
DOMException
-
getLetterSpacing
- Specified by:
getLetterSpacingin interfaceCSS2Properties
-
setLetterSpacing
- Specified by:
setLetterSpacingin interfaceCSS2Properties- Throws:
DOMException
-
getLineHeight
- Specified by:
getLineHeightin interfaceCSS2Properties
-
setLineHeight
- Specified by:
setLineHeightin interfaceCSS2Properties- Throws:
DOMException
-
getListStyle
- Specified by:
getListStylein interfaceCSS2Properties
-
setListStyle
- Specified by:
setListStylein interfaceCSS2Properties- Throws:
DOMException
-
getListStyleImage
- Specified by:
getListStyleImagein interfaceCSS2Properties
-
setListStyleImage
- Specified by:
setListStyleImagein interfaceCSS2Properties- Throws:
DOMException
-
getListStylePosition
- Specified by:
getListStylePositionin interfaceCSS2Properties
-
setListStylePosition
- Specified by:
setListStylePositionin interfaceCSS2Properties- Throws:
DOMException
-
getListStyleType
- Specified by:
getListStyleTypein interfaceCSS2Properties
-
setListStyleType
- Specified by:
setListStyleTypein interfaceCSS2Properties- Throws:
DOMException
-
getMargin
- Specified by:
getMarginin interfaceCSS2Properties
-
setMargin
- Specified by:
setMarginin interfaceCSS2Properties- Throws:
DOMException
-
getMarginTop
- Specified by:
getMarginTopin interfaceCSS2Properties
-
setMarginTop
- Specified by:
setMarginTopin interfaceCSS2Properties- Throws:
DOMException
-
getMarginRight
- Specified by:
getMarginRightin interfaceCSS2Properties
-
setMarginRight
- Specified by:
setMarginRightin interfaceCSS2Properties- Throws:
DOMException
-
getMarginBottom
- Specified by:
getMarginBottomin interfaceCSS2Properties
-
setMarginBottom
- Specified by:
setMarginBottomin interfaceCSS2Properties- Throws:
DOMException
-
getMarginLeft
- Specified by:
getMarginLeftin interfaceCSS2Properties
-
setMarginLeft
- Specified by:
setMarginLeftin interfaceCSS2Properties- Throws:
DOMException
-
getMarkerOffset
- Specified by:
getMarkerOffsetin interfaceCSS2Properties
-
setMarkerOffset
- Specified by:
setMarkerOffsetin interfaceCSS2Properties- Throws:
DOMException
-
getMarks
- Specified by:
getMarksin interfaceCSS2Properties
-
setMarks
- Specified by:
setMarksin interfaceCSS2Properties- Throws:
DOMException
-
getMaxHeight
- Specified by:
getMaxHeightin interfaceCSS2Properties
-
setMaxHeight
- Specified by:
setMaxHeightin interfaceCSS2Properties- Throws:
DOMException
-
getMaxWidth
- Specified by:
getMaxWidthin interfaceCSS2Properties
-
setMaxWidth
- Specified by:
setMaxWidthin interfaceCSS2Properties- Throws:
DOMException
-
getMinHeight
- Specified by:
getMinHeightin interfaceCSS2Properties
-
setMinHeight
- Specified by:
setMinHeightin interfaceCSS2Properties- Throws:
DOMException
-
getMinWidth
- Specified by:
getMinWidthin interfaceCSS2Properties
-
setMinWidth
- Specified by:
setMinWidthin interfaceCSS2Properties- Throws:
DOMException
-
getOrphans
- Specified by:
getOrphansin interfaceCSS2Properties
-
setOrphans
- Specified by:
setOrphansin interfaceCSS2Properties- Throws:
DOMException
-
getOutline
- Specified by:
getOutlinein interfaceCSS2Properties
-
setOutline
- Specified by:
setOutlinein interfaceCSS2Properties- Throws:
DOMException
-
getOutlineColor
- Specified by:
getOutlineColorin interfaceCSS2Properties
-
setOutlineColor
- Specified by:
setOutlineColorin interfaceCSS2Properties- Throws:
DOMException
-
getOutlineStyle
- Specified by:
getOutlineStylein interfaceCSS2Properties
-
setOutlineStyle
- Specified by:
setOutlineStylein interfaceCSS2Properties- Throws:
DOMException
-
getOutlineWidth
- Specified by:
getOutlineWidthin interfaceCSS2Properties
-
setOutlineWidth
- Specified by:
setOutlineWidthin interfaceCSS2Properties- Throws:
DOMException
-
getOverflow
- Specified by:
getOverflowin interfaceCSS2Properties
-
setOverflow
- Specified by:
setOverflowin interfaceCSS2Properties- Throws:
DOMException
-
getPadding
- Specified by:
getPaddingin interfaceCSS2Properties
-
setPadding
- Specified by:
setPaddingin interfaceCSS2Properties- Throws:
DOMException
-
getPaddingTop
- Specified by:
getPaddingTopin interfaceCSS2Properties
-
setPaddingTop
- Specified by:
setPaddingTopin interfaceCSS2Properties- Throws:
DOMException
-
getPaddingRight
- Specified by:
getPaddingRightin interfaceCSS2Properties
-
setPaddingRight
- Specified by:
setPaddingRightin interfaceCSS2Properties- Throws:
DOMException
-
getPaddingBottom
- Specified by:
getPaddingBottomin interfaceCSS2Properties
-
setPaddingBottom
- Specified by:
setPaddingBottomin interfaceCSS2Properties- Throws:
DOMException
-
getPaddingLeft
- Specified by:
getPaddingLeftin interfaceCSS2Properties
-
setPaddingLeft
- Specified by:
setPaddingLeftin interfaceCSS2Properties- Throws:
DOMException
-
getPage
- Specified by:
getPagein interfaceCSS2Properties
-
setPage
- Specified by:
setPagein interfaceCSS2Properties- Throws:
DOMException
-
getPageBreakAfter
- Specified by:
getPageBreakAfterin interfaceCSS2Properties
-
setPageBreakAfter
- Specified by:
setPageBreakAfterin interfaceCSS2Properties- Throws:
DOMException
-
getPageBreakBefore
- Specified by:
getPageBreakBeforein interfaceCSS2Properties
-
setPageBreakBefore
- Specified by:
setPageBreakBeforein interfaceCSS2Properties- Throws:
DOMException
-
getPageBreakInside
- Specified by:
getPageBreakInsidein interfaceCSS2Properties
-
setPageBreakInside
- Specified by:
setPageBreakInsidein interfaceCSS2Properties- Throws:
DOMException
-
getPause
- Specified by:
getPausein interfaceCSS2Properties
-
setPause
- Specified by:
setPausein interfaceCSS2Properties- Throws:
DOMException
-
getPauseAfter
- Specified by:
getPauseAfterin interfaceCSS2Properties
-
setPauseAfter
- Specified by:
setPauseAfterin interfaceCSS2Properties- Throws:
DOMException
-
getPauseBefore
- Specified by:
getPauseBeforein interfaceCSS2Properties
-
setPauseBefore
- Specified by:
setPauseBeforein interfaceCSS2Properties- Throws:
DOMException
-
getPitch
- Specified by:
getPitchin interfaceCSS2Properties
-
setPitch
- Specified by:
setPitchin interfaceCSS2Properties- Throws:
DOMException
-
getPitchRange
- Specified by:
getPitchRangein interfaceCSS2Properties
-
setPitchRange
- Specified by:
setPitchRangein interfaceCSS2Properties- Throws:
DOMException
-
getPlayDuring
- Specified by:
getPlayDuringin interfaceCSS2Properties
-
setPlayDuring
- Specified by:
setPlayDuringin interfaceCSS2Properties- Throws:
DOMException
-
getPosition
- Specified by:
getPositionin interfaceCSS2Properties
-
setPosition
- Specified by:
setPositionin interfaceCSS2Properties- Throws:
DOMException
-
getQuotes
- Specified by:
getQuotesin interfaceCSS2Properties
-
setQuotes
- Specified by:
setQuotesin interfaceCSS2Properties- Throws:
DOMException
-
getRichness
- Specified by:
getRichnessin interfaceCSS2Properties
-
setRichness
- Specified by:
setRichnessin interfaceCSS2Properties- Throws:
DOMException
-
getRight
- Specified by:
getRightin interfaceCSS2Properties
-
setRight
- Specified by:
setRightin interfaceCSS2Properties- Throws:
DOMException
-
getSize
- Specified by:
getSizein interfaceCSS2Properties
-
setSize
- Specified by:
setSizein interfaceCSS2Properties- Throws:
DOMException
-
getSpeak
- Specified by:
getSpeakin interfaceCSS2Properties
-
setSpeak
- Specified by:
setSpeakin interfaceCSS2Properties- Throws:
DOMException
-
getSpeakHeader
- Specified by:
getSpeakHeaderin interfaceCSS2Properties
-
setSpeakHeader
- Specified by:
setSpeakHeaderin interfaceCSS2Properties- Throws:
DOMException
-
getSpeakNumeral
- Specified by:
getSpeakNumeralin interfaceCSS2Properties
-
setSpeakNumeral
- Specified by:
setSpeakNumeralin interfaceCSS2Properties- Throws:
DOMException
-
getSpeakPunctuation
- Specified by:
getSpeakPunctuationin interfaceCSS2Properties
-
setSpeakPunctuation
- Specified by:
setSpeakPunctuationin interfaceCSS2Properties- Throws:
DOMException
-
getSpeechRate
- Specified by:
getSpeechRatein interfaceCSS2Properties
-
setSpeechRate
- Specified by:
setSpeechRatein interfaceCSS2Properties- Throws:
DOMException
-
getStress
- Specified by:
getStressin interfaceCSS2Properties
-
setStress
- Specified by:
setStressin interfaceCSS2Properties- Throws:
DOMException
-
getTableLayout
- Specified by:
getTableLayoutin interfaceCSS2Properties
-
setTableLayout
- Specified by:
setTableLayoutin interfaceCSS2Properties- Throws:
DOMException
-
getTextAlign
- Specified by:
getTextAlignin interfaceCSS2Properties
-
setTextAlign
- Specified by:
setTextAlignin interfaceCSS2Properties- Throws:
DOMException
-
getTextDecoration
- Specified by:
getTextDecorationin interfaceCSS2Properties
-
setTextDecoration
- Specified by:
setTextDecorationin interfaceCSS2Properties- Throws:
DOMException
-
getTextIndent
- Specified by:
getTextIndentin interfaceCSS2Properties
-
setTextIndent
- Specified by:
setTextIndentin interfaceCSS2Properties- Throws:
DOMException
-
getTextShadow
- Specified by:
getTextShadowin interfaceCSS2Properties
-
setTextShadow
- Specified by:
setTextShadowin interfaceCSS2Properties- Throws:
DOMException
-
getTextTransform
- Specified by:
getTextTransformin interfaceCSS2Properties
-
setTextTransform
- Specified by:
setTextTransformin interfaceCSS2Properties- Throws:
DOMException
-
getTop
- Specified by:
getTopin interfaceCSS2Properties
-
setTop
- Specified by:
setTopin interfaceCSS2Properties- Throws:
DOMException
-
getUnicodeBidi
- Specified by:
getUnicodeBidiin interfaceCSS2Properties
-
setUnicodeBidi
- Specified by:
setUnicodeBidiin interfaceCSS2Properties- Throws:
DOMException
-
getVerticalAlign
- Specified by:
getVerticalAlignin interfaceCSS2Properties
-
setVerticalAlign
- Specified by:
setVerticalAlignin interfaceCSS2Properties- Throws:
DOMException
-
getVisibility
- Specified by:
getVisibilityin interfaceCSS2Properties
-
setVisibility
- Specified by:
setVisibilityin interfaceCSS2Properties- Throws:
DOMException
-
getVoiceFamily
- Specified by:
getVoiceFamilyin interfaceCSS2Properties
-
setVoiceFamily
- Specified by:
setVoiceFamilyin interfaceCSS2Properties- Throws:
DOMException
-
getVolume
- Specified by:
getVolumein interfaceCSS2Properties
-
setVolume
- Specified by:
setVolumein interfaceCSS2Properties- Throws:
DOMException
-
getWhiteSpace
- Specified by:
getWhiteSpacein interfaceCSS2Properties
-
setWhiteSpace
- Specified by:
setWhiteSpacein interfaceCSS2Properties- Throws:
DOMException
-
getWidows
- Specified by:
getWidowsin interfaceCSS2Properties
-
setWidows
- Specified by:
setWidowsin interfaceCSS2Properties- Throws:
DOMException
-
getWidth
- Specified by:
getWidthin interfaceCSS2Properties
-
setWidth
- Specified by:
setWidthin interfaceCSS2Properties- Throws:
DOMException
-
getWordSpacing
- Specified by:
getWordSpacingin interfaceCSS2Properties
-
setWordSpacing
- Specified by:
setWordSpacingin interfaceCSS2Properties- Throws:
DOMException
-
getZIndex
- Specified by:
getZIndexin interfaceCSS2Properties
-
setZIndex
- Specified by:
setZIndexin interfaceCSS2Properties- Throws:
DOMException
-