public interface CSS2Properties
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.
Modifier and Type | Method | Description |
---|---|---|
String |
getAzimuth() |
See the azimuth property definition in CSS2. |
String |
getBackground() |
See the background property definition in CSS2. |
String |
getBackgroundAttachment() |
See the background-attachment property definition in CSS2. |
String |
getBackgroundColor() |
See the background-color property definition in CSS2. |
String |
getBackgroundImage() |
See the background-image property definition in CSS2. |
String |
getBackgroundPosition() |
See the background-position property definition in CSS2. |
String |
getBackgroundRepeat() |
See the background-repeat property definition in CSS2. |
String |
getBorder() |
See the border property definition in CSS2. |
String |
getBorderBottom() |
See the border-bottom property definition in CSS2. |
String |
getBorderBottomColor() |
See the border-bottom-color property definition in CSS2. |
String |
getBorderBottomStyle() |
See the border-bottom-style property definition in CSS2. |
String |
getBorderBottomWidth() |
See the border-bottom-width property definition in CSS2. |
String |
getBorderCollapse() |
See the border-collapse property definition in CSS2. |
String |
getBorderColor() |
See the border-color property definition in CSS2. |
String |
getBorderLeft() |
See the border-left property definition in CSS2. |
String |
getBorderLeftColor() |
See the border-left-color property definition in CSS2. |
String |
getBorderLeftStyle() |
See the border-left-style property definition in CSS2. |
String |
getBorderLeftWidth() |
See the border-left-width property definition in CSS2. |
String |
getBorderRight() |
See the border-right property definition in CSS2. |
String |
getBorderRightColor() |
See the border-right-color property definition in CSS2. |
String |
getBorderRightStyle() |
See the border-right-style property definition in CSS2. |
String |
getBorderRightWidth() |
See the border-right-width property definition in CSS2. |
String |
getBorderSpacing() |
See the border-spacing property definition in CSS2. |
String |
getBorderStyle() |
See the border-style property definition in CSS2. |
String |
getBorderTop() |
See the border-top property definition in CSS2. |
String |
getBorderTopColor() |
See the border-top-color property definition in CSS2. |
String |
getBorderTopStyle() |
See the border-top-style property definition in CSS2. |
String |
getBorderTopWidth() |
See the border-top-width property definition in CSS2. |
String |
getBorderWidth() |
See the border-width property definition in CSS2. |
String |
getBottom() |
See the bottom property definition in CSS2. |
String |
getCaptionSide() |
See the caption-side property definition in CSS2. |
String |
getClear() |
See the clear property definition in CSS2. |
String |
getClip() |
See the clip property definition in CSS2. |
String |
getColor() |
See the color property definition in CSS2. |
String |
getContent() |
See the content property definition in CSS2. |
String |
getCounterIncrement() |
See the counter-increment property definition in CSS2. |
String |
getCounterReset() |
See the counter-reset property definition in CSS2. |
String |
getCssFloat() |
See the float property definition in CSS2. |
String |
getCue() |
See the cue property definition in CSS2. |
String |
getCueAfter() |
See the cue-after property definition in CSS2. |
String |
getCueBefore() |
See the cue-before property definition in CSS2. |
String |
getCursor() |
See the cursor property definition in CSS2. |
String |
getDirection() |
See the direction property definition in CSS2. |
String |
getDisplay() |
See the display property definition in CSS2. |
String |
getElevation() |
See the elevation property definition in CSS2. |
String |
getEmptyCells() |
See the empty-cells property definition in CSS2. |
String |
getFont() |
See the font property definition in CSS2. |
String |
getFontFamily() |
See the font-family property definition in CSS2. |
String |
getFontSize() |
See the font-size property definition in CSS2. |
String |
getFontSizeAdjust() |
See the font-size-adjust property definition in CSS2. |
String |
getFontStretch() |
See the font-stretch property definition in CSS2. |
String |
getFontStyle() |
See the font-style property definition in CSS2. |
String |
getFontVariant() |
See the font-variant property definition in CSS2. |
String |
getFontWeight() |
See the font-weight property definition in CSS2. |
String |
getHeight() |
See the height property definition in CSS2. |
String |
getLeft() |
See the left property definition in CSS2. |
String |
getLetterSpacing() |
See the letter-spacing property definition in CSS2. |
String |
getLineHeight() |
See the line-height property definition in CSS2. |
String |
getListStyle() |
See the list-style property definition in CSS2. |
String |
getListStyleImage() |
See the list-style-image property definition in CSS2. |
String |
getListStylePosition() |
See the list-style-position property definition in CSS2. |
String |
getListStyleType() |
See the list-style-type property definition in CSS2. |
String |
getMargin() |
See the margin property definition in CSS2. |
String |
getMarginBottom() |
See the margin-bottom property definition in CSS2. |
String |
getMarginLeft() |
See the margin-left property definition in CSS2. |
String |
getMarginRight() |
See the margin-right property definition in CSS2. |
String |
getMarginTop() |
See the margin-top property definition in CSS2. |
String |
getMarkerOffset() |
See the marker-offset property definition in CSS2. |
String |
getMarks() |
See the marks property definition in CSS2. |
String |
getMaxHeight() |
See the max-height property definition in CSS2. |
String |
getMaxWidth() |
See the max-width property definition in CSS2. |
String |
getMinHeight() |
See the min-height property definition in CSS2. |
String |
getMinWidth() |
See the min-width property definition in CSS2. |
String |
getOrphans() |
See the orphans property definition in CSS2. |
String |
getOutline() |
See the outline property definition in CSS2. |
String |
getOutlineColor() |
See the outline-color property definition in CSS2. |
String |
getOutlineStyle() |
See the outline-style property definition in CSS2. |
String |
getOutlineWidth() |
See the outline-width property definition in CSS2. |
String |
getOverflow() |
See the overflow property definition in CSS2. |
String |
getPadding() |
See the padding property definition in CSS2. |
String |
getPaddingBottom() |
See the padding-bottom property definition in CSS2. |
String |
getPaddingLeft() |
See the padding-left property definition in CSS2. |
String |
getPaddingRight() |
See the padding-right property definition in CSS2. |
String |
getPaddingTop() |
See the padding-top property definition in CSS2. |
String |
getPage() |
See the page property definition in CSS2. |
String |
getPageBreakAfter() |
See the page-break-after property definition in CSS2. |
String |
getPageBreakBefore() |
See the page-break-before property definition in CSS2. |
String |
getPageBreakInside() |
See the page-break-inside property definition in CSS2. |
String |
getPause() |
See the pause property definition in CSS2. |
String |
getPauseAfter() |
See the pause-after property definition in CSS2. |
String |
getPauseBefore() |
See the pause-before property definition in CSS2. |
String |
getPitch() |
See the pitch property definition in CSS2. |
String |
getPitchRange() |
See the pitch-range property definition in CSS2. |
String |
getPlayDuring() |
See the play-during property definition in CSS2. |
String |
getPosition() |
See the position property definition in CSS2. |
String |
getQuotes() |
See the quotes property definition in CSS2. |
String |
getRichness() |
See the richness property definition in CSS2. |
String |
getRight() |
See the right property definition in CSS2. |
String |
getSize() |
See the size property definition in CSS2. |
String |
getSpeak() |
See the speak property definition in CSS2. |
String |
getSpeakHeader() |
See the speak-header property definition in CSS2. |
String |
getSpeakNumeral() |
See the speak-numeral property definition in CSS2. |
String |
getSpeakPunctuation() |
See the speak-punctuation property definition in CSS2. |
String |
getSpeechRate() |
See the speech-rate property definition in CSS2. |
String |
getStress() |
See the stress property definition in CSS2. |
String |
getTableLayout() |
See the table-layout property definition in CSS2. |
String |
getTextAlign() |
See the text-align property definition in CSS2. |
String |
getTextDecoration() |
See the text-decoration property definition in CSS2. |
String |
getTextIndent() |
See the text-indent property definition in CSS2. |
String |
getTextShadow() |
See the text-shadow property definition in CSS2. |
String |
getTextTransform() |
See the text-transform property definition in CSS2. |
String |
getTop() |
See the top property definition in CSS2. |
String |
getUnicodeBidi() |
See the unicode-bidi property definition in CSS2. |
String |
getVerticalAlign() |
See the vertical-align property definition in CSS2. |
String |
getVisibility() |
See the visibility property definition in CSS2. |
String |
getVoiceFamily() |
See the voice-family property definition in CSS2. |
String |
getVolume() |
See the volume property definition in CSS2. |
String |
getWhiteSpace() |
See the white-space property definition in CSS2. |
String |
getWidows() |
See the widows property definition in CSS2. |
String |
getWidth() |
See the width property definition in CSS2. |
String |
getWordSpacing() |
See the word-spacing property definition in CSS2. |
String |
getZIndex() |
See the z-index property definition in CSS2. |
void |
setAzimuth |
See the azimuth property definition in CSS2. |
void |
setBackground |
See the background property definition in CSS2. |
void |
setBackgroundAttachment |
See the background-attachment property definition in CSS2. |
void |
setBackgroundColor |
See the background-color property definition in CSS2. |
void |
setBackgroundImage |
See the background-image property definition in CSS2. |
void |
setBackgroundPosition |
See the background-position property definition in CSS2. |
void |
setBackgroundRepeat |
See the background-repeat property definition in CSS2. |
void |
setBorder |
See the border property definition in CSS2. |
void |
setBorderBottom |
See the border-bottom property definition in CSS2. |
void |
setBorderBottomColor |
See the border-bottom-color property definition in CSS2. |
void |
setBorderBottomStyle |
See the border-bottom-style property definition in CSS2. |
void |
setBorderBottomWidth |
See the border-bottom-width property definition in CSS2. |
void |
setBorderCollapse |
See the border-collapse property definition in CSS2. |
void |
setBorderColor |
See the border-color property definition in CSS2. |
void |
setBorderLeft |
See the border-left property definition in CSS2. |
void |
setBorderLeftColor |
See the border-left-color property definition in CSS2. |
void |
setBorderLeftStyle |
See the border-left-style property definition in CSS2. |
void |
setBorderLeftWidth |
See the border-left-width property definition in CSS2. |
void |
setBorderRight |
See the border-right property definition in CSS2. |
void |
setBorderRightColor |
See the border-right-color property definition in CSS2. |
void |
setBorderRightStyle |
See the border-right-style property definition in CSS2. |
void |
setBorderRightWidth |
See the border-right-width property definition in CSS2. |
void |
setBorderSpacing |
See the border-spacing property definition in CSS2. |
void |
setBorderStyle |
See the border-style property definition in CSS2. |
void |
setBorderTop |
See the border-top property definition in CSS2. |
void |
setBorderTopColor |
See the border-top-color property definition in CSS2. |
void |
setBorderTopStyle |
See the border-top-style property definition in CSS2. |
void |
setBorderTopWidth |
See the border-top-width property definition in CSS2. |
void |
setBorderWidth |
See the border-width property definition in CSS2. |
void |
setBottom |
See the bottom property definition in CSS2. |
void |
setCaptionSide |
See the caption-side property definition in CSS2. |
void |
setClear |
See the clear property definition in CSS2. |
void |
setClip |
See the clip property definition in CSS2. |
void |
setColor |
See the color property definition in CSS2. |
void |
setContent |
See the content property definition in CSS2. |
void |
setCounterIncrement |
See the counter-increment property definition in CSS2. |
void |
setCounterReset |
See the counter-reset property definition in CSS2. |
void |
setCssFloat |
See the float property definition in CSS2. |
void |
setCue |
See the cue property definition in CSS2. |
void |
setCueAfter |
See the cue-after property definition in CSS2. |
void |
setCueBefore |
See the cue-before property definition in CSS2. |
void |
setCursor |
See the cursor property definition in CSS2. |
void |
setDirection |
See the direction property definition in CSS2. |
void |
setDisplay |
See the display property definition in CSS2. |
void |
setElevation |
See the elevation property definition in CSS2. |
void |
setEmptyCells |
See the empty-cells property definition in CSS2. |
void |
setFont |
See the font property definition in CSS2. |
void |
setFontFamily |
See the font-family property definition in CSS2. |
void |
setFontSize |
See the font-size property definition in CSS2. |
void |
setFontSizeAdjust |
See the font-size-adjust property definition in CSS2. |
void |
setFontStretch |
See the font-stretch property definition in CSS2. |
void |
setFontStyle |
See the font-style property definition in CSS2. |
void |
setFontVariant |
See the font-variant property definition in CSS2. |
void |
setFontWeight |
See the font-weight property definition in CSS2. |
void |
setHeight |
See the height property definition in CSS2. |
void |
setLeft |
See the left property definition in CSS2. |
void |
setLetterSpacing |
See the letter-spacing property definition in CSS2. |
void |
setLineHeight |
See the line-height property definition in CSS2. |
void |
setListStyle |
See the list-style property definition in CSS2. |
void |
setListStyleImage |
See the list-style-image property definition in CSS2. |
void |
setListStylePosition |
See the list-style-position property definition in CSS2. |
void |
setListStyleType |
See the list-style-type property definition in CSS2. |
void |
setMargin |
See the margin property definition in CSS2. |
void |
setMarginBottom |
See the margin-bottom property definition in CSS2. |
void |
setMarginLeft |
See the margin-left property definition in CSS2. |
void |
setMarginRight |
See the margin-right property definition in CSS2. |
void |
setMarginTop |
See the margin-top property definition in CSS2. |
void |
setMarkerOffset |
See the marker-offset property definition in CSS2. |
void |
setMarks |
See the marks property definition in CSS2. |
void |
setMaxHeight |
See the max-height property definition in CSS2. |
void |
setMaxWidth |
See the max-width property definition in CSS2. |
void |
setMinHeight |
See the min-height property definition in CSS2. |
void |
setMinWidth |
See the min-width property definition in CSS2. |
void |
setOrphans |
See the orphans property definition in CSS2. |
void |
setOutline |
See the outline property definition in CSS2. |
void |
setOutlineColor |
See the outline-color property definition in CSS2. |
void |
setOutlineStyle |
See the outline-style property definition in CSS2. |
void |
setOutlineWidth |
See the outline-width property definition in CSS2. |
void |
setOverflow |
See the overflow property definition in CSS2. |
void |
setPadding |
See the padding property definition in CSS2. |
void |
setPaddingBottom |
See the padding-bottom property definition in CSS2. |
void |
setPaddingLeft |
See the padding-left property definition in CSS2. |
void |
setPaddingRight |
See the padding-right property definition in CSS2. |
void |
setPaddingTop |
See the padding-top property definition in CSS2. |
void |
setPage |
See the page property definition in CSS2. |
void |
setPageBreakAfter |
See the page-break-after property definition in CSS2. |
void |
setPageBreakBefore |
See the page-break-before property definition in CSS2. |
void |
setPageBreakInside |
See the page-break-inside property definition in CSS2. |
void |
setPause |
See the pause property definition in CSS2. |
void |
setPauseAfter |
See the pause-after property definition in CSS2. |
void |
setPauseBefore |
See the pause-before property definition in CSS2. |
void |
setPitch |
See the pitch property definition in CSS2. |
void |
setPitchRange |
See the pitch-range property definition in CSS2. |
void |
setPlayDuring |
See the play-during property definition in CSS2. |
void |
setPosition |
See the position property definition in CSS2. |
void |
setQuotes |
See the quotes property definition in CSS2. |
void |
setRichness |
See the richness property definition in CSS2. |
void |
setRight |
See the right property definition in CSS2. |
void |
setSize |
See the size property definition in CSS2. |
void |
setSpeak |
See the speak property definition in CSS2. |
void |
setSpeakHeader |
See the speak-header property definition in CSS2. |
void |
setSpeakNumeral |
See the speak-numeral property definition in CSS2. |
void |
setSpeakPunctuation |
See the speak-punctuation property definition in CSS2. |
void |
setSpeechRate |
See the speech-rate property definition in CSS2. |
void |
setStress |
See the stress property definition in CSS2. |
void |
setTableLayout |
See the table-layout property definition in CSS2. |
void |
setTextAlign |
See the text-align property definition in CSS2. |
void |
setTextDecoration |
See the text-decoration property definition in CSS2. |
void |
setTextIndent |
See the text-indent property definition in CSS2. |
void |
setTextShadow |
See the text-shadow property definition in CSS2. |
void |
setTextTransform |
See the text-transform property definition in CSS2. |
void |
setTop |
See the top property definition in CSS2. |
void |
setUnicodeBidi |
See the unicode-bidi property definition in CSS2. |
void |
setVerticalAlign |
See the vertical-align property definition in CSS2. |
void |
setVisibility |
See the visibility property definition in CSS2. |
void |
setVoiceFamily |
See the voice-family property definition in CSS2. |
void |
setVolume |
See the volume property definition in CSS2. |
void |
setWhiteSpace |
See the white-space property definition in CSS2. |
void |
setWidows |
See the widows property definition in CSS2. |
void |
setWidth |
See the width property definition in CSS2. |
void |
setWordSpacing |
See the word-spacing property definition in CSS2. |
void |
setZIndex |
See the z-index property definition in CSS2. |
String getAzimuth()
void setAzimuth(String azimuth) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBackground()
void setBackground(String background) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBackgroundAttachment()
void setBackgroundAttachment(String backgroundAttachment) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBackgroundColor()
void setBackgroundColor(String backgroundColor) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBackgroundImage()
void setBackgroundImage(String backgroundImage) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBackgroundPosition()
void setBackgroundPosition(String backgroundPosition) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBackgroundRepeat()
void setBackgroundRepeat(String backgroundRepeat) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorder()
void setBorder(String border) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderCollapse()
void setBorderCollapse(String borderCollapse) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderColor()
void setBorderColor(String borderColor) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderSpacing()
void setBorderSpacing(String borderSpacing) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderStyle()
void setBorderStyle(String borderStyle) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderTop()
void setBorderTop(String borderTop) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderRight()
void setBorderRight(String borderRight) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderBottom()
void setBorderBottom(String borderBottom) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderLeft()
void setBorderLeft(String borderLeft) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderTopColor()
void setBorderTopColor(String borderTopColor) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderRightColor()
void setBorderRightColor(String borderRightColor) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderBottomColor()
void setBorderBottomColor(String borderBottomColor) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderLeftColor()
void setBorderLeftColor(String borderLeftColor) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderTopStyle()
void setBorderTopStyle(String borderTopStyle) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderRightStyle()
void setBorderRightStyle(String borderRightStyle) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderBottomStyle()
void setBorderBottomStyle(String borderBottomStyle) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderLeftStyle()
void setBorderLeftStyle(String borderLeftStyle) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderTopWidth()
void setBorderTopWidth(String borderTopWidth) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderRightWidth()
void setBorderRightWidth(String borderRightWidth) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderBottomWidth()
void setBorderBottomWidth(String borderBottomWidth) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderLeftWidth()
void setBorderLeftWidth(String borderLeftWidth) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBorderWidth()
void setBorderWidth(String borderWidth) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getBottom()
void setBottom(String bottom) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getCaptionSide()
void setCaptionSide(String captionSide) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getClear()
void setClear(String clear) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getClip()
void setClip(String clip) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getColor()
void setColor(String color) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getContent()
void setContent(String content) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getCounterIncrement()
void setCounterIncrement(String counterIncrement) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getCounterReset()
void setCounterReset(String counterReset) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getCue()
void setCue(String cue) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getCueAfter()
void setCueAfter(String cueAfter) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getCueBefore()
void setCueBefore(String cueBefore) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getCursor()
void setCursor(String cursor) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getDirection()
void setDirection(String direction) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getDisplay()
void setDisplay(String display) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getElevation()
void setElevation(String elevation) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getEmptyCells()
void setEmptyCells(String emptyCells) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getCssFloat()
void setCssFloat(String cssFloat) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getFont()
void setFont(String font) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getFontFamily()
void setFontFamily(String fontFamily) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getFontSize()
void setFontSize(String fontSize) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getFontSizeAdjust()
void setFontSizeAdjust(String fontSizeAdjust) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getFontStretch()
void setFontStretch(String fontStretch) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getFontStyle()
void setFontStyle(String fontStyle) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getFontVariant()
void setFontVariant(String fontVariant) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getFontWeight()
void setFontWeight(String fontWeight) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getHeight()
void setHeight(String height) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getLeft()
void setLeft(String left) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getLetterSpacing()
void setLetterSpacing(String letterSpacing) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getLineHeight()
void setLineHeight(String lineHeight) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getListStyle()
void setListStyle(String listStyle) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getListStyleImage()
void setListStyleImage(String listStyleImage) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getListStylePosition()
void setListStylePosition(String listStylePosition) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getListStyleType()
void setListStyleType(String listStyleType) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getMargin()
void setMargin(String margin) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getMarginTop()
void setMarginTop(String marginTop) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getMarginRight()
void setMarginRight(String marginRight) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getMarginBottom()
void setMarginBottom(String marginBottom) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getMarginLeft()
void setMarginLeft(String marginLeft) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getMarkerOffset()
void setMarkerOffset(String markerOffset) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getMarks()
void setMarks(String marks) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getMaxHeight()
void setMaxHeight(String maxHeight) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getMaxWidth()
void setMaxWidth(String maxWidth) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getMinHeight()
void setMinHeight(String minHeight) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getMinWidth()
void setMinWidth(String minWidth) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getOrphans()
void setOrphans(String orphans) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getOutline()
void setOutline(String outline) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getOutlineColor()
void setOutlineColor(String outlineColor) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getOutlineStyle()
void setOutlineStyle(String outlineStyle) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getOutlineWidth()
void setOutlineWidth(String outlineWidth) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getOverflow()
void setOverflow(String overflow) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPadding()
void setPadding(String padding) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPaddingTop()
void setPaddingTop(String paddingTop) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPaddingRight()
void setPaddingRight(String paddingRight) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPaddingBottom()
void setPaddingBottom(String paddingBottom) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPaddingLeft()
void setPaddingLeft(String paddingLeft) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPage()
void setPage(String page) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPageBreakAfter()
void setPageBreakAfter(String pageBreakAfter) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPageBreakBefore()
void setPageBreakBefore(String pageBreakBefore) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPageBreakInside()
void setPageBreakInside(String pageBreakInside) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPause()
void setPause(String pause) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPauseAfter()
void setPauseAfter(String pauseAfter) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPauseBefore()
void setPauseBefore(String pauseBefore) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPitch()
void setPitch(String pitch) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPitchRange()
void setPitchRange(String pitchRange) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPlayDuring()
void setPlayDuring(String playDuring) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getPosition()
void setPosition(String position) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getQuotes()
void setQuotes(String quotes) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getRichness()
void setRichness(String richness) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getRight()
void setRight(String right) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getSize()
void setSize(String size) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getSpeak()
void setSpeak(String speak) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getSpeakHeader()
void setSpeakHeader(String speakHeader) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getSpeakNumeral()
void setSpeakNumeral(String speakNumeral) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getSpeakPunctuation()
void setSpeakPunctuation(String speakPunctuation) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getSpeechRate()
void setSpeechRate(String speechRate) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getStress()
void setStress(String stress) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getTableLayout()
void setTableLayout(String tableLayout) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getTextAlign()
void setTextAlign(String textAlign) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getTextDecoration()
void setTextDecoration(String textDecoration) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getTextIndent()
void setTextIndent(String textIndent) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getTextShadow()
void setTextShadow(String textShadow) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getTextTransform()
void setTextTransform(String textTransform) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getTop()
void setTop(String top) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getUnicodeBidi()
void setUnicodeBidi(String unicodeBidi) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getVerticalAlign()
void setVerticalAlign(String verticalAlign) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getVisibility()
void setVisibility(String visibility) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getVoiceFamily()
void setVoiceFamily(String voiceFamily) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getVolume()
void setVolume(String volume) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getWhiteSpace()
void setWhiteSpace(String whiteSpace) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getWidows()
void setWidows(String widows) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getWidth()
void setWidth(String width) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getWordSpacing()
void setWordSpacing(String wordSpacing) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable. String getZIndex()
void setZIndex(String zIndex) throws DOMException
DOMException
- SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.xml.dom/org/w3c/dom/css/CSS2Properties.html