FileDocCategorySizeDatePackage
CSS2Properties.javaAPI DocJava SE 6 API65384Tue Jun 10 00:27:32 BST 2008org.w3c.dom.css

CSS2Properties

public interface CSS2Properties
The CSS2Properties interface represents a convenience mechanism for retrieving and setting properties within a CSSStyleDeclaration. The attributes of this interface correspond to all the properties specified in CSS2. Getting an attribute of this interface is equivalent to calling the getPropertyValue method of the CSSStyleDeclaration interface. Setting an attribute of this interface is equivalent to calling the setProperty method of the CSSStyleDeclaration interface.

A conformant implementation of the CSS module is not required to implement the CSS2Properties interface. If an implementation does implement this interface, the expectation is that language-specific methods can be used to cast from an instance of the CSSStyleDeclaration interface to the CSS2Properties interface.

If an implementation does implement this interface, it is expected to understand the specific syntax of the shorthand properties, and apply their semantics; when the margin property is set, for example, the marginTop, marginRight, marginBottom and marginLeft properties are actually being set by the underlying implementation.

When dealing with CSS "shorthand" properties, the shorthand properties should be decomposed into their component longhand properties as appropriate, and when querying for their value, the form returned should be the shortest form exactly equivalent to the declarations made in the ruleset. However, if there is no shorthand declaration that could be added to the ruleset without changing in any way the rules already declared in the ruleset (i.e., by adding longhand rules that were previously not declared in the ruleset), then the empty string should be returned for the shorthand property.

For example, querying for the font property should not return "normal normal normal 14pt/normal Arial, sans-serif", when "14pt Arial, sans-serif" suffices. (The normals are initial values, and are implied by use of the longhand property.)

If the values for all the longhand properties that compose a particular string are the initial values, then a string consisting of all the initial values should be returned (e.g. a border-width value of "medium" should be returned as such, not as "").

For some shorthand properties that take missing values from other sides, such as the margin, padding, and border-[width|style|color] properties, the minimum number of sides possible should be used; i.e., "0px 10px" will be returned instead of "0px 10px 0px 10px".

If the value of a shorthand property can not be decomposed into its component longhand properties, as is the case for the font property with a value of "menu", querying for the values of the component longhand properties should return the empty string.

See also the Document Object Model (DOM) Level 2 Style Specification.

since
DOM Level 2

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetAzimuth()
See the azimuth property definition in CSS2.

public java.lang.StringgetBackground()
See the background property definition in CSS2.

public java.lang.StringgetBackgroundAttachment()
See the background-attachment property definition in CSS2.

public java.lang.StringgetBackgroundColor()
See the background-color property definition in CSS2.

public java.lang.StringgetBackgroundImage()
See the background-image property definition in CSS2.

public java.lang.StringgetBackgroundPosition()
See the background-position property definition in CSS2.

public java.lang.StringgetBackgroundRepeat()
See the background-repeat property definition in CSS2.

public java.lang.StringgetBorder()
See the border property definition in CSS2.

public java.lang.StringgetBorderBottom()
See the border-bottom property definition in CSS2.

public java.lang.StringgetBorderBottomColor()
See the border-bottom-color property definition in CSS2.

public java.lang.StringgetBorderBottomStyle()
See the border-bottom-style property definition in CSS2.

public java.lang.StringgetBorderBottomWidth()
See the border-bottom-width property definition in CSS2.

public java.lang.StringgetBorderCollapse()
See the border-collapse property definition in CSS2.

public java.lang.StringgetBorderColor()
See the border-color property definition in CSS2.

public java.lang.StringgetBorderLeft()
See the border-left property definition in CSS2.

public java.lang.StringgetBorderLeftColor()
See the border-left-color property definition in CSS2.

public java.lang.StringgetBorderLeftStyle()
See the border-left-style property definition in CSS2.

public java.lang.StringgetBorderLeftWidth()
See the border-left-width property definition in CSS2.

public java.lang.StringgetBorderRight()
See the border-right property definition in CSS2.

public java.lang.StringgetBorderRightColor()
See the border-right-color property definition in CSS2.

public java.lang.StringgetBorderRightStyle()
See the border-right-style property definition in CSS2.

public java.lang.StringgetBorderRightWidth()
See the border-right-width property definition in CSS2.

public java.lang.StringgetBorderSpacing()
See the border-spacing property definition in CSS2.

public java.lang.StringgetBorderStyle()
See the border-style property definition in CSS2.

public java.lang.StringgetBorderTop()
See the border-top property definition in CSS2.

public java.lang.StringgetBorderTopColor()
See the border-top-color property definition in CSS2.

public java.lang.StringgetBorderTopStyle()
See the border-top-style property definition in CSS2.

public java.lang.StringgetBorderTopWidth()
See the border-top-width property definition in CSS2.

public java.lang.StringgetBorderWidth()
See the border-width property definition in CSS2.

public java.lang.StringgetBottom()
See the bottom property definition in CSS2.

public java.lang.StringgetCaptionSide()
See the caption-side property definition in CSS2.

public java.lang.StringgetClear()
See the clear property definition in CSS2.

public java.lang.StringgetClip()
See the clip property definition in CSS2.

public java.lang.StringgetColor()
See the color property definition in CSS2.

public java.lang.StringgetContent()
See the content property definition in CSS2.

public java.lang.StringgetCounterIncrement()
See the counter-increment property definition in CSS2.

public java.lang.StringgetCounterReset()
See the counter-reset property definition in CSS2.

public java.lang.StringgetCssFloat()
See the float property definition in CSS2.

public java.lang.StringgetCue()
See the cue property definition in CSS2.

public java.lang.StringgetCueAfter()
See the cue-after property definition in CSS2.

public java.lang.StringgetCueBefore()
See the cue-before property definition in CSS2.

public java.lang.StringgetCursor()
See the cursor property definition in CSS2.

public java.lang.StringgetDirection()
See the direction property definition in CSS2.

public java.lang.StringgetDisplay()
See the display property definition in CSS2.

public java.lang.StringgetElevation()
See the elevation property definition in CSS2.

public java.lang.StringgetEmptyCells()
See the empty-cells property definition in CSS2.

public java.lang.StringgetFont()
See the font property definition in CSS2.

public java.lang.StringgetFontFamily()
See the font-family property definition in CSS2.

public java.lang.StringgetFontSize()
See the font-size property definition in CSS2.

public java.lang.StringgetFontSizeAdjust()
See the font-size-adjust property definition in CSS2.

public java.lang.StringgetFontStretch()
See the font-stretch property definition in CSS2.

public java.lang.StringgetFontStyle()
See the font-style property definition in CSS2.

public java.lang.StringgetFontVariant()
See the font-variant property definition in CSS2.

public java.lang.StringgetFontWeight()
See the font-weight property definition in CSS2.

public java.lang.StringgetHeight()
See the height property definition in CSS2.

public java.lang.StringgetLeft()
See the left property definition in CSS2.

public java.lang.StringgetLetterSpacing()
See the letter-spacing property definition in CSS2.

public java.lang.StringgetLineHeight()
See the line-height property definition in CSS2.

public java.lang.StringgetListStyle()
See the list-style property definition in CSS2.

public java.lang.StringgetListStyleImage()
See the list-style-image property definition in CSS2.

public java.lang.StringgetListStylePosition()
See the list-style-position property definition in CSS2.

public java.lang.StringgetListStyleType()
See the list-style-type property definition in CSS2.

public java.lang.StringgetMargin()
See the margin property definition in CSS2.

public java.lang.StringgetMarginBottom()
See the margin-bottom property definition in CSS2.

public java.lang.StringgetMarginLeft()
See the margin-left property definition in CSS2.

public java.lang.StringgetMarginRight()
See the margin-right property definition in CSS2.

public java.lang.StringgetMarginTop()
See the margin-top property definition in CSS2.

public java.lang.StringgetMarkerOffset()
See the marker-offset property definition in CSS2.

public java.lang.StringgetMarks()
See the marks property definition in CSS2.

public java.lang.StringgetMaxHeight()
See the max-height property definition in CSS2.

public java.lang.StringgetMaxWidth()
See the max-width property definition in CSS2.

public java.lang.StringgetMinHeight()
See the min-height property definition in CSS2.

public java.lang.StringgetMinWidth()
See the min-width property definition in CSS2.

public java.lang.StringgetOrphans()
See the orphans property definition in CSS2.

public java.lang.StringgetOutline()
See the outline property definition in CSS2.

public java.lang.StringgetOutlineColor()
See the outline-color property definition in CSS2.

public java.lang.StringgetOutlineStyle()
See the outline-style property definition in CSS2.

public java.lang.StringgetOutlineWidth()
See the outline-width property definition in CSS2.

public java.lang.StringgetOverflow()
See the overflow property definition in CSS2.

public java.lang.StringgetPadding()
See the padding property definition in CSS2.

public java.lang.StringgetPaddingBottom()
See the padding-bottom property definition in CSS2.

public java.lang.StringgetPaddingLeft()
See the padding-left property definition in CSS2.

public java.lang.StringgetPaddingRight()
See the padding-right property definition in CSS2.

public java.lang.StringgetPaddingTop()
See the padding-top property definition in CSS2.

public java.lang.StringgetPage()
See the page property definition in CSS2.

public java.lang.StringgetPageBreakAfter()
See the page-break-after property definition in CSS2.

public java.lang.StringgetPageBreakBefore()
See the page-break-before property definition in CSS2.

public java.lang.StringgetPageBreakInside()
See the page-break-inside property definition in CSS2.

public java.lang.StringgetPause()
See the pause property definition in CSS2.

public java.lang.StringgetPauseAfter()
See the pause-after property definition in CSS2.

public java.lang.StringgetPauseBefore()
See the pause-before property definition in CSS2.

public java.lang.StringgetPitch()
See the pitch property definition in CSS2.

public java.lang.StringgetPitchRange()
See the pitch-range property definition in CSS2.

public java.lang.StringgetPlayDuring()
See the play-during property definition in CSS2.

public java.lang.StringgetPosition()
See the position property definition in CSS2.

public java.lang.StringgetQuotes()
See the quotes property definition in CSS2.

public java.lang.StringgetRichness()
See the richness property definition in CSS2.

public java.lang.StringgetRight()
See the right property definition in CSS2.

public java.lang.StringgetSize()
See the size property definition in CSS2.

public java.lang.StringgetSpeak()
See the speak property definition in CSS2.

public java.lang.StringgetSpeakHeader()
See the speak-header property definition in CSS2.

public java.lang.StringgetSpeakNumeral()
See the speak-numeral property definition in CSS2.

public java.lang.StringgetSpeakPunctuation()
See the speak-punctuation property definition in CSS2.

public java.lang.StringgetSpeechRate()
See the speech-rate property definition in CSS2.

public java.lang.StringgetStress()
See the stress property definition in CSS2.

public java.lang.StringgetTableLayout()
See the table-layout property definition in CSS2.

public java.lang.StringgetTextAlign()
See the text-align property definition in CSS2.

public java.lang.StringgetTextDecoration()
See the text-decoration property definition in CSS2.

public java.lang.StringgetTextIndent()
See the text-indent property definition in CSS2.

public java.lang.StringgetTextShadow()
See the text-shadow property definition in CSS2.

public java.lang.StringgetTextTransform()
See the text-transform property definition in CSS2.

public java.lang.StringgetTop()
See the top property definition in CSS2.

public java.lang.StringgetUnicodeBidi()
See the unicode-bidi property definition in CSS2.

public java.lang.StringgetVerticalAlign()
See the vertical-align property definition in CSS2.

public java.lang.StringgetVisibility()
See the visibility property definition in CSS2.

public java.lang.StringgetVoiceFamily()
See the voice-family property definition in CSS2.

public java.lang.StringgetVolume()
See the volume property definition in CSS2.

public java.lang.StringgetWhiteSpace()
See the white-space property definition in CSS2.

public java.lang.StringgetWidows()
See the widows property definition in CSS2.

public java.lang.StringgetWidth()
See the width property definition in CSS2.

public java.lang.StringgetWordSpacing()
See the word-spacing property definition in CSS2.

public java.lang.StringgetZIndex()
See the z-index property definition in CSS2.

public voidsetAzimuth(java.lang.String azimuth)
See the azimuth property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBackground(java.lang.String background)
See the background property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBackgroundAttachment(java.lang.String backgroundAttachment)
See the background-attachment property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBackgroundColor(java.lang.String backgroundColor)
See the background-color property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBackgroundImage(java.lang.String backgroundImage)
See the background-image property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBackgroundPosition(java.lang.String backgroundPosition)
See the background-position property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBackgroundRepeat(java.lang.String backgroundRepeat)
See the background-repeat property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorder(java.lang.String border)
See the border property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderBottom(java.lang.String borderBottom)
See the border-bottom property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderBottomColor(java.lang.String borderBottomColor)
See the border-bottom-color property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderBottomStyle(java.lang.String borderBottomStyle)
See the border-bottom-style property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderBottomWidth(java.lang.String borderBottomWidth)
See the border-bottom-width property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderCollapse(java.lang.String borderCollapse)
See the border-collapse property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderColor(java.lang.String borderColor)
See the border-color property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderLeft(java.lang.String borderLeft)
See the border-left property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderLeftColor(java.lang.String borderLeftColor)
See the border-left-color property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderLeftStyle(java.lang.String borderLeftStyle)
See the border-left-style property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderLeftWidth(java.lang.String borderLeftWidth)
See the border-left-width property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderRight(java.lang.String borderRight)
See the border-right property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderRightColor(java.lang.String borderRightColor)
See the border-right-color property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderRightStyle(java.lang.String borderRightStyle)
See the border-right-style property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderRightWidth(java.lang.String borderRightWidth)
See the border-right-width property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderSpacing(java.lang.String borderSpacing)
See the border-spacing property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderStyle(java.lang.String borderStyle)
See the border-style property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderTop(java.lang.String borderTop)
See the border-top property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderTopColor(java.lang.String borderTopColor)
See the border-top-color property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderTopStyle(java.lang.String borderTopStyle)
See the border-top-style property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderTopWidth(java.lang.String borderTopWidth)
See the border-top-width property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBorderWidth(java.lang.String borderWidth)
See the border-width property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetBottom(java.lang.String bottom)
See the bottom property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetCaptionSide(java.lang.String captionSide)
See the caption-side property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetClear(java.lang.String clear)
See the clear property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetClip(java.lang.String clip)
See the clip property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetColor(java.lang.String color)
See the color property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetContent(java.lang.String content)
See the content property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetCounterIncrement(java.lang.String counterIncrement)
See the counter-increment property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetCounterReset(java.lang.String counterReset)
See the counter-reset property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetCssFloat(java.lang.String cssFloat)
See the float property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetCue(java.lang.String cue)
See the cue property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetCueAfter(java.lang.String cueAfter)
See the cue-after property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetCueBefore(java.lang.String cueBefore)
See the cue-before property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetCursor(java.lang.String cursor)
See the cursor property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetDirection(java.lang.String direction)
See the direction property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetDisplay(java.lang.String display)
See the display property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetElevation(java.lang.String elevation)
See the elevation property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetEmptyCells(java.lang.String emptyCells)
See the empty-cells property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetFont(java.lang.String font)
See the font property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetFontFamily(java.lang.String fontFamily)
See the font-family property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetFontSize(java.lang.String fontSize)
See the font-size property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetFontSizeAdjust(java.lang.String fontSizeAdjust)
See the font-size-adjust property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetFontStretch(java.lang.String fontStretch)
See the font-stretch property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetFontStyle(java.lang.String fontStyle)
See the font-style property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetFontVariant(java.lang.String fontVariant)
See the font-variant property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetFontWeight(java.lang.String fontWeight)
See the font-weight property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetHeight(java.lang.String height)
See the height property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetLeft(java.lang.String left)
See the left property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetLetterSpacing(java.lang.String letterSpacing)
See the letter-spacing property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetLineHeight(java.lang.String lineHeight)
See the line-height property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetListStyle(java.lang.String listStyle)
See the list-style property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetListStyleImage(java.lang.String listStyleImage)
See the list-style-image property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetListStylePosition(java.lang.String listStylePosition)
See the list-style-position property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetListStyleType(java.lang.String listStyleType)
See the list-style-type property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetMargin(java.lang.String margin)
See the margin property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetMarginBottom(java.lang.String marginBottom)
See the margin-bottom property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetMarginLeft(java.lang.String marginLeft)
See the margin-left property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetMarginRight(java.lang.String marginRight)
See the margin-right property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetMarginTop(java.lang.String marginTop)
See the margin-top property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetMarkerOffset(java.lang.String markerOffset)
See the marker-offset property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetMarks(java.lang.String marks)
See the marks property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetMaxHeight(java.lang.String maxHeight)
See the max-height property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetMaxWidth(java.lang.String maxWidth)
See the max-width property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetMinHeight(java.lang.String minHeight)
See the min-height property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetMinWidth(java.lang.String minWidth)
See the min-width property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetOrphans(java.lang.String orphans)
See the orphans property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetOutline(java.lang.String outline)
See the outline property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetOutlineColor(java.lang.String outlineColor)
See the outline-color property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetOutlineStyle(java.lang.String outlineStyle)
See the outline-style property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetOutlineWidth(java.lang.String outlineWidth)
See the outline-width property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetOverflow(java.lang.String overflow)
See the overflow property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPadding(java.lang.String padding)
See the padding property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPaddingBottom(java.lang.String paddingBottom)
See the padding-bottom property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPaddingLeft(java.lang.String paddingLeft)
See the padding-left property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPaddingRight(java.lang.String paddingRight)
See the padding-right property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPaddingTop(java.lang.String paddingTop)
See the padding-top property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPage(java.lang.String page)
See the page property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPageBreakAfter(java.lang.String pageBreakAfter)
See the page-break-after property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPageBreakBefore(java.lang.String pageBreakBefore)
See the page-break-before property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPageBreakInside(java.lang.String pageBreakInside)
See the page-break-inside property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPause(java.lang.String pause)
See the pause property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPauseAfter(java.lang.String pauseAfter)
See the pause-after property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPauseBefore(java.lang.String pauseBefore)
See the pause-before property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPitch(java.lang.String pitch)
See the pitch property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPitchRange(java.lang.String pitchRange)
See the pitch-range property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPlayDuring(java.lang.String playDuring)
See the play-during property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetPosition(java.lang.String position)
See the position property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetQuotes(java.lang.String quotes)
See the quotes property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetRichness(java.lang.String richness)
See the richness property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetRight(java.lang.String right)
See the right property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetSize(java.lang.String size)
See the size property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetSpeak(java.lang.String speak)
See the speak property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetSpeakHeader(java.lang.String speakHeader)
See the speak-header property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetSpeakNumeral(java.lang.String speakNumeral)
See the speak-numeral property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetSpeakPunctuation(java.lang.String speakPunctuation)
See the speak-punctuation property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetSpeechRate(java.lang.String speechRate)
See the speech-rate property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetStress(java.lang.String stress)
See the stress property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetTableLayout(java.lang.String tableLayout)
See the table-layout property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetTextAlign(java.lang.String textAlign)
See the text-align property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetTextDecoration(java.lang.String textDecoration)
See the text-decoration property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetTextIndent(java.lang.String textIndent)
See the text-indent property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetTextShadow(java.lang.String textShadow)
See the text-shadow property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetTextTransform(java.lang.String textTransform)
See the text-transform property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetTop(java.lang.String top)
See the top property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetUnicodeBidi(java.lang.String unicodeBidi)
See the unicode-bidi property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetVerticalAlign(java.lang.String verticalAlign)
See the vertical-align property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetVisibility(java.lang.String visibility)
See the visibility property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetVoiceFamily(java.lang.String voiceFamily)
See the voice-family property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetVolume(java.lang.String volume)
See the volume property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetWhiteSpace(java.lang.String whiteSpace)
See the white-space property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetWidows(java.lang.String widows)
See the widows property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetWidth(java.lang.String width)
See the width property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetWordSpacing(java.lang.String wordSpacing)
See the word-spacing property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

public voidsetZIndex(java.lang.String zIndex)
See the z-index property definition in CSS2.

exception
DOMException SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.