com.gargoylesoftware.htmlunit.javascript.host.css
Class CSSStyleDeclaration

java.lang.Object
  extended by net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
      extended by com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
          extended by com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleDeclaration
All Implemented Interfaces:
ScriptableWithFallbackGetter, Serializable, Cloneable, net.sourceforge.htmlunit.corejs.javascript.ConstProperties, net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableObject, net.sourceforge.htmlunit.corejs.javascript.Scriptable
Direct Known Subclasses:
ComputedCSSStyleDeclaration

public class CSSStyleDeclaration
extends SimpleScriptable
implements ScriptableWithFallbackGetter

A JavaScript object for a CSSStyleDeclaration.

Version:
$Revision: 7580 $
Author:
Mike Bowler, Christian Sell, Daniel Gredler, Chris Erskine, Ahmed Ashour, Rodney Gitzel, Sudhan Moghe, Ronald Brill
See Also:
Serialized Form

Nested Class Summary
protected static class CSSStyleDeclaration.CssValue
          Encapsulates the retrieval of a style attribute, given a DOM element from which to retrieve it.
static class CSSStyleDeclaration.StyleElement
          Contains information about a single style element, including its name, its value, and an index which can be compared against other indices in order to determine precedence.
 
Field Summary
protected static String PRIORITY_IMPORTANT
          Css important property constant.
protected static String WIDTH
          The width style attribute.
 
Fields inherited from class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
CSSStyleDeclaration()
          Creates an instance.
CSSStyleDeclaration(Element element)
          Creates an instance and sets its parent scope to the one of the provided element.
 
Method Summary
protected static String camelize(String string)
          Transforms the specified string from delimiter-separated (e.g.
 Object getAttribute(String name, int flag)
          Returns the value of the specified attribute, or an empty string if it does not exist.
 String getAzimuth()
          Gets the "azimuth" style attribute.
 String getBackground()
          Gets the "background" style attribute.
 String getBackgroundAttachment()
          Gets the "backgroundAttachment" style attribute.
 String getBackgroundColor()
          Gets the "backgroundColor" style attribute.
 String getBackgroundImage()
          Gets the "backgroundImage" style attribute.
 String getBackgroundPosition()
          Gets the "backgroundPosition" style attribute.
 String getBackgroundPositionX()
          Gets the "backgroundPositionX" style attribute.
 String getBackgroundPositionY()
          Gets the "backgroundPositionY" style attribute.
 String getBackgroundRepeat()
          Gets the "backgroundRepeat" style attribute.
 String getBehavior()
          Gets the object's behavior (IE only).
 String getBorder()
          Gets the "border" style attribute.
 String getBorderBottom()
          Gets the "borderBottom" style attribute.
 String getBorderBottomColor()
          Gets the "borderBottomColor" style attribute.
 String getBorderBottomStyle()
          Gets the "borderBottomStyle" style attribute.
 String getBorderBottomWidth()
          Gets the "borderBottomWidth" style attribute.
 String getBorderCollapse()
          Gets the "borderCollapse" style attribute.
 String getBorderColor()
          Gets the "borderColor" style attribute.
 String getBorderLeft()
          Gets the "borderLeft" style attribute.
 String getBorderLeftColor()
          Gets the "borderLeftColor" style attribute.
 String getBorderLeftStyle()
          Gets the "borderLeftStyle" style attribute.
 String getBorderLeftWidth()
          Gets the "borderLeftWidth" style attribute.
 String getBorderRight()
          Gets the "borderRight" style attribute.
 String getBorderRightColor()
          Gets the "borderRightColor" style attribute.
 String getBorderRightStyle()
          Gets the "borderRightStyle" style attribute.
 String getBorderRightWidth()
          Gets the "borderRightWidth" style attribute.
 String getBorderSpacing()
          Gets the "borderSpacing" style attribute.
 String getBorderStyle()
          Gets the "borderStyle" style attribute.
 String getBorderTop()
          Gets the "borderTop" style attribute.
 String getBorderTopColor()
          Gets the "borderTopColor" style attribute.
 String getBorderTopStyle()
          Gets the "borderTopStyle" style attribute.
 String getBorderTopWidth()
          Gets the "borderTopWidth" style attribute.
 String getBorderWidth()
          Gets the "borderWidth" style attribute.
 String getBottom()
          Gets the "bottom" style attribute.
 String getBoxSizing()
          Gets the "boxSizing" style attribute.
 String getCaptionSide()
          Gets the "captionSide" style attribute.
 String getClear()
          Gets the "clear" style attribute.
 String getClip()
          Gets the "clip" style attribute.
 String getColor()
          Gets the "color" style attribute.
 String getContent()
          Gets the "content" style attribute.
 String getCounterIncrement()
          Gets the "counterIncrement" style attribute.
 String getCounterReset()
          Gets the "counterReset" style attribute.
 String getCssFloat()
          Gets the "cssFloat" style attribute.
 String getCssText()
          Returns the actual text of the style.
 String getCue()
          Gets the "cue" style attribute.
 String getCueAfter()
          Gets the "cueAfter" style attribute.
 String getCueBefore()
          Gets the "cueBefore" style attribute.
protected  long getCurrentElementIndex()
          Returns the current style element index.
 String getCursor()
          Gets the "cursor" style attribute.
 String getDirection()
          Gets the "direction" style attribute.
 String getDisplay()
          Gets the "display" style attribute.
protected  HTMLElement getElement()
          Returns the element to which this style belongs.
 String getElevation()
          Gets the "elevation" style attribute.
 String getEmptyCells()
          Gets the "emptyCells" style attribute.
 String getFilter()
          Gets the object's filter (IE only).
 String getFont()
          Gets the "font" style attribute.
 String getFontFamily()
          Gets the "fontFamily" style attribute.
 String getFontSize()
          Gets the "fontSize" style attribute.
 String getFontSizeAdjust()
          Gets the "fontSizeAdjust" style attribute.
 String getFontStretch()
          Gets the "fontStretch" style attribute.
 String getFontStyle()
          Gets the "fontStyle" style attribute.
 String getFontVariant()
          Gets the "fontVariant" style attribute.
 String getFontWeight()
          Gets the "fontWeight" style attribute.
 String getHeight()
          Gets the "height" style attribute.
 String getImeMode()
          Gets the "imeMode" style attribute.
 String getLayoutFlow()
          Gets the "layoutFlow" style attribute.
 String getLayoutGrid()
          Gets the "layoutGrid" style attribute.
 String getLayoutGridChar()
          Gets the "layoutGridChar" style attribute.
 String getLayoutGridLine()
          Gets the "layoutGridLine" style attribute.
 String getLayoutGridMode()
          Gets the "layoutGridMode" style attribute.
 String getLayoutGridType()
          Gets the "layoutGridType" style attribute.
 String getLeft()
          Gets the "left" style attribute.
 int getLength()
          Gets the "length", not yet implemented.
 String getLetterSpacing()
          Gets the "letterSpacing" style attribute.
 String getLineBreak()
          Gets the "lineBreak" style attribute.
 String getLineHeight()
          Gets the "lineHeight" style attribute.
 String getListStyle()
          Gets the "listStyle" style attribute.
 String getListStyleImage()
          Gets the "listStyleImage" style attribute.
 String getListStylePosition()
          Gets the "listStylePosition" style attribute.
 String getListStyleType()
          Gets the "listStyleType" style attribute.
 String getMargin()
          Gets the "margin" style attribute.
 String getMarginBottom()
          Gets the "marginBottom" style attribute.
 String getMarginLeft()
          Gets the "marginLeft" style attribute.
 String getMarginRight()
          Gets the "marginRight" style attribute.
 String getMarginTop()
          Gets the "marginTop" style attribute.
 String getMarkerOffset()
          Gets the "markerOffset" style attribute.
 String getMarks()
          Gets the "marks" style attribute.
 String getMaxHeight()
          Gets the "maxHeight" style attribute.
 String getMaxWidth()
          Gets the "maxWidth" style attribute.
 String getMinHeight()
          Gets the "minHeight" style attribute.
 String getMinWidth()
          Gets the "minWidth" style attribute.
 String getMozAppearance()
          Gets the "MozAppearance" style attribute.
 String getMozBackgroundClip()
          Gets the "MozBackgroundClip" style attribute.
 String getMozBackgroundInlinePolicy()
          Gets the "MozBackgroundInlinePolicy" style attribute.
 String getMozBackgroundOrigin()
          Gets the "MozBackgroundOrigin" style attribute.
 String getMozBackgroundSize()
          Gets the "MozBackgroundSize" style attribute.
 String getMozBinding()
          Gets the "MozBinding" style attribute.
 String getMozBorderBottomColors()
          Gets the "MozBorderBottomColors" style attribute.
 String getMozBorderEnd()
          Gets the "MozBorderEnd" style attribute.
 String getMozBorderEndColor()
          Gets the "MozBorderEndColor" style attribute.
 String getMozBorderEndStyle()
          Gets the "MozBorderEndStyle" style attribute.
 String getMozBorderEndWidth()
          Gets the "MozBorderEndWidth" style attribute.
 String getMozBorderImage()
          Gets the "MozBorderImage" style attribute.
 String getMozBorderLeftColors()
          Gets the "MozBorderLeftColors" style attribute.
 String getMozBorderRadius()
          Gets the "MozBorderRadius" style attribute.
 String getMozBorderRadiusBottomleft()
          Gets the "MozBorderRadiusBottomleft" style attribute.
 String getMozBorderRadiusBottomright()
          Gets the "MozBorderRadiusBottomright" style attribute.
 String getMozBorderRadiusTopleft()
          Gets the "MozBorderRadiusTopleft" style attribute.
 String getMozBorderRadiusTopright()
          Gets the "MozBorderRadiusTopright" style attribute.
 String getMozBorderRightColors()
          Gets the "MozBorderRightColors" style attribute.
 String getMozBorderStart()
          Gets the "MozBorderStart" style attribute.
 String getMozBorderStartColor()
          Gets the "MozBorderStartColor" style attribute.
 String getMozBorderStartStyle()
          Gets the "MozBorderStartStyle" style attribute.
 String getMozBorderStartWidth()
          Gets the "MozBorderStartWidth" style attribute.
 String getMozBorderTopColors()
          Gets the "MozBorderTopColors" style attribute.
 String getMozBoxAlign()
          Gets the "MozBoxAlign" style attribute.
 String getMozBoxDirection()
          Gets the "MozBoxDirection" style attribute.
 String getMozBoxFlex()
          Gets the "MozBoxFlex" style attribute.
 String getMozBoxOrdinalGroup()
          Gets the "MozBoxOrdinalGroup" style attribute.
 String getMozBoxOrient()
          Gets the "MozBoxOrient" style attribute.
 String getMozBoxPack()
          Gets the "MozBoxPack" style attribute.
 String getMozBoxShadow()
          Gets the "MozBoxShadow" style attribute.
 String getMozBoxSizing()
          Gets the "MozBoxSizing" style attribute.
 String getMozColumnCount()
          Gets the "MozColumnCount" style attribute.
 String getMozColumnGap()
          Gets the "MozColumnGap" style attribute.
 String getMozColumnRule()
          Gets the "MozColumnRule" style attribute.
 String getMozColumnRuleColor()
          Gets the "MozColumnRuleColor" style attribute.
 String getMozColumnRuleStyle()
          Gets the "MozColumnRuleStyle" style attribute.
 String getMozColumnRuleWidth()
          Gets the "MozColumnRuleWidth" style attribute.
 String getMozColumnWidth()
          Gets the "MozColumnWidth" style attribute.
 String getMozFloatEdge()
          Gets the "MozFloatEdge" style attribute.
 String getMozForceBrokenImageIcon()
          Gets the "MozForceBrokenImageIcon" style attribute.
 String getMozImageRegion()
          Gets the "MozImageRegion" style attribute.
 String getMozMarginEnd()
          Gets the "MozMarginEnd" style attribute.
 String getMozMarginStart()
          Gets the "MozMarginStart" style attribute.
 String getMozOpacity()
          Gets the "MozOpacity" style attribute.
 String getMozOutline()
          Gets the "MozOutline" style attribute.
 String getMozOutlineColor()
          Gets the "MozOutlineColor" style attribute.
 String getMozOutlineOffset()
          Gets the "MozOutlineOffset" style attribute.
 String getMozOutlineRadius()
          Gets the "MozOutlineRadius" style attribute.
 String getMozOutlineRadiusBottomleft()
          Gets the "MozOutlineRadiusBottomleft" style attribute.
 String getMozOutlineRadiusBottomright()
          Gets the "MozOutlineRadiusBottomright" style attribute.
 String getMozOutlineRadiusTopleft()
          Gets the "MozOutlineRadiusTopleft" style attribute.
 String getMozOutlineRadiusTopright()
          Gets the "MozOutlineRadiusTopright" style attribute.
 String getMozOutlineStyle()
          Gets the "MozOutlineStyle" style attribute.
 String getMozOutlineWidth()
          Gets the "MozOutlineWidth" style attribute.
 String getMozPaddingEnd()
          Gets the "MozPaddingEnd" style attribute.
 String getMozPaddingStart()
          Gets the "MozPaddingStart" style attribute.
 String getMozStackSizing()
          Gets the "MozStackSizing" style attribute.
 String getMozTransform()
          Gets the "MozTransform" style attribute.
 String getMozTransformOrigin()
          Gets the "MozTransformOrigin" style attribute.
 String getMozUserFocus()
          Gets the "MozUserFocus" style attribute.
 String getMozUserInput()
          Gets the "MozUserInput" style attribute.
 String getMozUserModify()
          Gets the "MozUserModify" style attribute.
 String getMozUserSelect()
          Gets the "MozUserSelect" style attribute.
 String getMozWindowShadow()
          Gets the "MozWindowShadow" style attribute.
 String getMsBlockProgression()
          Gets the "msBlockProgression" style attribute.
 String getMsInterpolationMode()
          Gets the "msInterpolationMode" style attribute.
 String getOpacity()
          Gets the "opacity" style attribute.
 String getOrphans()
          Gets the "orphans" style attribute.
 String getOutline()
          Gets the "outline" style attribute.
 String getOutlineColor()
          Gets the "outlineColor" style attribute.
 String getOutlineOffset()
          Gets the "outlineOffset" style attribute.
 String getOutlineStyle()
          Gets the "outlineStyle" style attribute.
 String getOutlineWidth()
          Gets the "outlineWidth" style attribute.
 String getOverflow()
          Gets the "overflow" style attribute.
 String getOverflowX()
          Gets the "overflowX" style attribute.
 String getOverflowY()
          Gets the "overflowY" style attribute.
 String getPadding()
          Gets the "padding" style attribute.
 String getPaddingBottom()
          Gets the "paddingBottom" style attribute.
 String getPaddingLeft()
          Gets the "paddingLeft" style attribute.
 String getPaddingRight()
          Gets the "paddingRight" style attribute.
 String getPaddingTop()
          Gets the "paddingTop" style attribute.
 String getPage()
          Gets the "page" style attribute.
 String getPageBreakAfter()
          Gets the "pageBreakAfter" style attribute.
 String getPageBreakBefore()
          Gets the "pageBreakBefore" style attribute.
 String getPageBreakInside()
          Gets the "pageBreakInside" style attribute.
 String getPause()
          Gets the "pause" style attribute.
 String getPauseAfter()
          Gets the "pauseAfter" style attribute.
 String getPauseBefore()
          Gets the "pauseBefore" style attribute.
 String getPitch()
          Gets the "pitch" style attribute.
 String getPitchRange()
          Gets the "pitchRange" style attribute.
 int getPixelBottom()
          Gets the "pixelBottom" style attribute.
 int getPixelLeft()
          Gets the "pixelLeft" style attribute.
 int getPixelRight()
          Gets the "pixelRight" style attribute.
 int getPixelTop()
          Gets the "pixelTop" style attribute.
 String getPointerEvents()
          Gets the "pointerEvents" style attribute.
 int getPosBottom()
          Gets the "posBottom" style attribute.
 int getPosHeight()
          Gets the "posHeight" style attribute.
 String getPosition()
          Gets the "position" style attribute.
 int getPosLeft()
          Gets the "posLeft" style attribute.
 int getPosRight()
          Gets the "posRight" style attribute.
 int getPosTop()
          Gets the "posTop" style attribute.
 int getPosWidth()
          Gets the "posWidth" style attribute.
 CSSValue getPropertyCSSValue(String name)
          Gets the CSS property value.
 String getPropertyValue(String name)
          Gets the value of the specified property of the style.
 String getQuotes()
          Gets the "quotes" style attribute.
 String getRichness()
          Gets the "richness" style attribute.
 String getRight()
          Gets the "right" style attribute.
 String getRubyAlign()
          Gets the "rubyAlign" style attribute.
 String getRubyOverhang()
          Gets the "rubyOverhang" style attribute.
 String getRubyPosition()
          Gets the "rubyPosition" style attribute.
 String getScrollbar3dLightColor()
          Gets the "scrollbar3dLightColor" style attribute.
 String getScrollbarArrowColor()
          Gets the "scrollbarArrowColor" style attribute.
 String getScrollbarBaseColor()
          Gets the "scrollbarBaseColor" style attribute.
 String getScrollbarDarkShadowColor()
          Gets the "scrollbarDarkShadowColor" style attribute.
 String getScrollbarFaceColor()
          Gets the "scrollbarFaceColor" style attribute.
 String getScrollbarHighlightColor()
          Gets the "scrollbarHighlightColor" style attribute.
 String getScrollbarShadowColor()
          Gets the "scrollbarShadowColor" style attribute.
 String getScrollbarTrackColor()
          Gets the "scrollbarTrackColor" style attribute.
 String getSize()
          Gets the "size" style attribute.
 String getSpeak()
          Gets the "speak" style attribute.
 String getSpeakHeader()
          Gets the "speakHeader" style attribute.
 String getSpeakNumeral()
          Gets the "speakNumeral" style attribute.
 String getSpeakPunctuation()
          Gets the "speakPunctuation" style attribute.
 String getSpeechRate()
          Gets the "speechRate" style attribute.
 String getStress()
          Gets the "stress" style attribute.
protected  String getStyleAttribute(String name, Map<String,CSSStyleDeclaration.StyleElement> styleMap)
          Returns the value of the named style attribute, or an empty string if it is not found.
 String getStyleFloat()
          Gets the "styleFloat" style attribute.
protected  Map<String,CSSStyleDeclaration.StyleElement> getStyleMap()
          Returns a sorted map containing style elements, keyed on style element name.
 String getTableLayout()
          Gets the "tableLayout" style attribute.
 String getTextAlign()
          Gets the "textAlign" style attribute.
 String getTextAlignLast()
          Gets the "textAlignLast" style attribute.
 String getTextAutospace()
          Gets the "textAutospace" style attribute.
 String getTextDecoration()
          Gets the "textDecoration" style attribute.
 boolean getTextDecorationBlink()
          Gets the "textDecorationBlink" style attribute.
 boolean getTextDecorationLineThrough()
          Gets the "textDecorationLineThrough" style attribute.
 boolean getTextDecorationNone()
          Gets the "textDecorationNone" style attribute.
 boolean getTextDecorationOverline()
          Gets the "textDecorationOverline" style attribute.
 boolean getTextDecorationUnderline()
          Gets the "textDecorationUnderline" style attribute.
 String getTextIndent()
          Gets the "textIndent" style attribute.
 String getTextJustify()
          Gets the "textJustify" style attribute.
 String getTextJustifyTrim()
          Gets the "textJustifyTrim" style attribute.
 String getTextKashida()
          Gets the "textKashida" style attribute.
 String getTextKashidaSpace()
          Gets the "textKashidaSpace" style attribute.
 String getTextOverflow()
          Gets the "textOverflow" style attribute.
 String getTextShadow()
          Gets the "textShadow" style attribute.
 String getTextTransform()
          Gets the "textTransform" style attribute.
 String getTextUnderlinePosition()
          Gets the "textUnderlinePosition" style attribute.
 String getTop()
          Gets the "top" style attribute.
 String getUnicodeBidi()
          Gets the "unicodeBidi" style attribute.
 String getVerticalAlign()
          Gets the "verticalAlign" style attribute.
 String getVisibility()
          Gets the "visibility" style attribute.
 String getVoiceFamily()
          Gets the "voiceFamily" style attribute.
 String getVolume()
          Gets the "volume" style attribute.
 String getWhiteSpace()
          Gets the "whiteSpace" style attribute.
 String getWidows()
          Gets the "widows" style attribute.
 String getWidth()
          Gets the "width" style attribute.
 Object getWithFallback(String name)
          IE makes unknown style properties accessible.
 String getWordBreak()
          Gets the "wordBreak" style attribute.
 String getWordSpacing()
          Gets the "wordSpacing" style attribute.
 String getWordWrap()
          Gets the "wordWrap" style attribute.
 String getWritingMode()
          Gets the "writingMode" style attribute.
 Object getZIndex()
          Gets the "zIndex" style attribute.
 String getZoom()
          Gets the "zoom" style attribute.
protected static int pixelValue(HTMLElement element, CSSStyleDeclaration.CssValue value)
          Converts the specified length CSS attribute value into an integer number of pixels.
protected static int pixelValue(String value)
          Converts the specified length string value into an integer number of pixels.
 boolean removeAttribute(String name, Object flag)
          Removes the specified attribute.
 boolean removeExpression(String propertyName)
          Removes the expression from the specified property.
 String removeProperty(String name)
          Removes the named property.
 void setAttribute(String name, String value, Object flag)
          Sets the value of the specified attribute.
 void setAzimuth(String azimuth)
          Sets the "azimuth" style attribute.
 void setBackground(String background)
          Sets the "background" style attribute.
 void setBackgroundAttachment(String backgroundAttachment)
          Sets the "backgroundAttachment" style attribute.
 void setBackgroundColor(String backgroundColor)
          Sets the "backgroundColor" style attribute.
 void setBackgroundImage(String backgroundImage)
          Sets the "backgroundImage" style attribute.
 void setBackgroundPosition(String backgroundPosition)
          Sets the "backgroundPosition" style attribute.
 void setBackgroundPositionX(String backgroundPositionX)
          Sets the "backgroundPositionX" style attribute.
 void setBackgroundPositionY(String backgroundPositionY)
          Sets the "backgroundPositionY" style attribute.
 void setBackgroundRepeat(String backgroundRepeat)
          Sets the "backgroundRepeat" style attribute.
 void setBehavior(String behavior)
          Sets the object's behavior (IE only).
 void setBorder(String border)
          Sets the "border" style attribute.
 void setBorderBottom(String borderBottom)
          Sets the "borderBottom" style attribute.
 void setBorderBottomColor(String borderBottomColor)
          Sets the "borderBottomColor" style attribute.
 void setBorderBottomStyle(String borderBottomStyle)
          Sets the "borderBottomStyle" style attribute.
 void setBorderBottomWidth(String borderBottomWidth)
          Sets the "borderBottomWidth" style attribute.
 void setBorderCollapse(String borderCollapse)
          Sets the "borderCollapse" style attribute.
 void setBorderColor(String borderColor)
          Sets the "borderColor" style attribute.
 void setBorderLeft(String borderLeft)
          Sets the "borderLeft" style attribute.
 void setBorderLeftColor(String borderLeftColor)
          Sets the "borderLeftColor" style attribute.
 void setBorderLeftStyle(String borderLeftStyle)
          Sets the "borderLeftStyle" style attribute.
 void setBorderLeftWidth(String borderLeftWidth)
          Sets the "borderLeftWidth" style attribute.
 void setBorderRight(String borderRight)
          Sets the "borderRight" style attribute.
 void setBorderRightColor(String borderRightColor)
          Sets the "borderRightColor" style attribute.
 void setBorderRightStyle(String borderRightStyle)
          Sets the "borderRightStyle" style attribute.
 void setBorderRightWidth(String borderRightWidth)
          Sets the "borderRightWidth" style attribute.
 void setBorderSpacing(String borderSpacing)
          Sets the "borderSpacing" style attribute.
 void setBorderStyle(String borderStyle)
          Sets the "borderStyle" style attribute.
 void setBorderTop(String borderTop)
          Sets the "borderTop" style attribute.
 void setBorderTopColor(String borderTopColor)
          Sets the "borderTopColor" style attribute.
 void setBorderTopStyle(String borderTopStyle)
          Sets the "borderTopStyle" style attribute.
 void setBorderTopWidth(String borderTopWidth)
          Sets the "borderTopWidth" style attribute.
 void setBorderWidth(String borderWidth)
          Sets the "borderWidth" style attribute.
 void setBottom(String bottom)
          Sets the "bottom" style attribute.
 void setBoxSizing(String boxSizing)
          Sets the "boxSizing" style attribute.
 void setCaptionSide(String captionSide)
          Sets the "captionSide" style attribute.
 void setClear(String clear)
          Sets the "clear" style attribute.
 void setClip(String clip)
          Sets the "clip" style attribute.
 void setColor(String color)
          Sets the "color" style attribute.
 void setContent(String content)
          Sets the "content" style attribute.
 void setCounterIncrement(String counterIncrement)
          Sets the "counterIncrement" style attribute.
 void setCounterReset(String counterReset)
          Sets the "counterReset" style attribute.
 void setCssFloat(String value)
          Sets the "cssFloat" style attribute.
 void setCssText(String value)
          Sets the actual text of the style.
 void setCue(String cue)
          Sets the "cue" style attribute.
 void setCueAfter(String cueAfter)
          Sets the "cueAfter" style attribute.
 void setCueBefore(String cueBefore)
          Sets the "cueBefore" style attribute.
 void setCursor(String cursor)
          Sets the "cursor" style attribute.
 void setDirection(String direction)
          Sets the "direction" style attribute.
 void setDisplay(String display)
          Sets the "display" style attribute.
 void setElevation(String elevation)
          Sets the "elevation" style attribute.
 void setEmptyCells(String emptyCells)
          Sets the "emptyCells" style attribute.
 void setExpression(String propertyName, String expression, String language)
          Sets an expression for the specified Style.
 void setFilter(String filter)
          Sets the object's filter (IE only).
 void setFont(String font)
          Sets the "font" style attribute.
 void setFontFamily(String fontFamily)
          Sets the "fontFamily" style attribute.
 void setFontSize(String fontSize)
          Sets the "fontSize" style attribute.
 void setFontSizeAdjust(String fontSizeAdjust)
          Sets the "fontSizeAdjust" style attribute.
 void setFontStretch(String fontStretch)
          Sets the "fontStretch" style attribute.
 void setFontStyle(String fontStyle)
          Sets the "fontStyle" style attribute.
 void setFontVariant(String fontVariant)
          Sets the "fontVariant" style attribute.
 void setFontWeight(String fontWeight)
          Sets the "fontWeight" style attribute.
 void setHeight(String height)
          Sets the "height" style attribute.
 void setImeMode(String imeMode)
          Sets the "imeMode" style attribute.
 void setLayoutFlow(String layoutFlow)
          Sets the "layoutFlow" style attribute.
 void setLayoutGrid(String layoutGrid)
          Sets the "layoutGrid" style attribute.
 void setLayoutGridChar(String layoutGridChar)
          Sets the "layoutGridChar" style attribute.
 void setLayoutGridLine(String layoutGridLine)
          Sets the "layoutGridLine" style attribute.
 void setLayoutGridMode(String layoutGridMode)
          Sets the "layoutGridMode" style attribute.
 void setLayoutGridType(String layoutGridType)
          Sets the "layoutGridType" style attribute.
 void setLeft(String left)
          Sets the "left" style attribute.
 void setLetterSpacing(String letterSpacing)
          Sets the "letterSpacing" style attribute.
 void setLineBreak(String lineBreak)
          Sets the "lineBreak" style attribute.
 void setLineHeight(String lineHeight)
          Sets the "lineHeight" style attribute.
 void setListStyle(String listStyle)
          Sets the "listStyle" style attribute.
 void setListStyleImage(String listStyleImage)
          Sets the "listStyleImage" style attribute.
 void setListStylePosition(String listStylePosition)
          Sets the "listStylePosition" style attribute.
 void setListStyleType(String listStyleType)
          Sets the "listStyleType" style attribute.
 void setMargin(String margin)
          Sets the "margin" style attribute.
 void setMarginBottom(String marginBottom)
          Sets the "marginBottom" style attribute.
 void setMarginLeft(String marginLeft)
          Sets the "marginLeft" style attribute.
 void setMarginRight(String marginRight)
          Sets the "marginRight" style attribute.
 void setMarginTop(String marginTop)
          Sets the "marginTop" style attribute.
 void setMarkerOffset(String markerOffset)
          Sets the "markerOffset" style attribute.
 void setMarks(String marks)
          Sets the "marks" style attribute.
 void setMaxHeight(String maxHeight)
          Sets the "maxHeight" style attribute.
 void setMaxWidth(String maxWidth)
          Sets the "maxWidth" style attribute.
 void setMinHeight(String minHeight)
          Sets the "minHeight" style attribute.
 void setMinWidth(String minWidth)
          Sets the "minWidth" style attribute.
 void setMozAppearance(String mozAppearance)
          Sets the "MozAppearance" style attribute.
 void setMozBackgroundClip(String mozBackgroundClip)
          Sets the "MozBackgroundClip" style attribute.
 void setMozBackgroundInlinePolicy(String mozBackgroundInlinePolicy)
          Sets the "MozBackgroundInlinePolicy" style attribute.
 void setMozBackgroundOrigin(String mozBackgroundOrigin)
          Sets the "MozBackgroundOrigin" style attribute.
 void setMozBackgroundSize(String mozBackgroundSize)
          Sets the "MozBackgroundSize" style attribute.
 void setMozBinding(String mozBinding)
          Sets the "MozBinding" style attribute.
 void setMozBorderBottomColors(String mozBorderBottomColors)
          Sets the "MozBorderBottomColors" style attribute.
 void setMozBorderEnd(String mozBorderEnd)
          Sets the "MozBorderEnd" style attribute.
 void setMozBorderEndColor(String mozBorderEndColor)
          Sets the "MozBorderEndColor" style attribute.
 void setMozBorderEndStyle(String mozBorderEndStyle)
          Sets the "MozBorderEndStyle" style attribute.
 void setMozBorderEndWidth(String mozBorderEndWidth)
          Sets the "MozBorderEndWidth" style attribute.
 void setMozBorderImage(String mozBorderImage)
          Sets the "MozBorderImage" style attribute.
 void setMozBorderLeftColors(String mozBorderLeftColors)
          Sets the "MozBorderLeftColors" style attribute.
 void setMozBorderRadius(String mozBorderRadius)
          Sets the "MozBorderRadius" style attribute.
 void setMozBorderRadiusBottomleft(String mozBorderRadiusBottomleft)
          Sets the "MozBorderRadiusBottomleft" style attribute.
 void setMozBorderRadiusBottomright(String mozBorderRadiusBottomright)
          Sets the "MozBorderRadiusBottomright" style attribute.
 void setMozBorderRadiusTopleft(String mozBorderRadiusTopleft)
          Sets the "MozBorderRadiusTopleft" style attribute.
 void setMozBorderRadiusTopright(String mozBorderRadiusTopright)
          Sets the "MozBorderRadiusTopright" style attribute.
 void setMozBorderRightColors(String mozBorderRightColors)
          Sets the "MozBorderRightColors" style attribute.
 void setMozBorderStart(String mozBorderStart)
          Sets the "MozBorderStart" style attribute.
 void setMozBorderStartColor(String mozBorderStartColor)
          Sets the "MozBorderStartColor" style attribute.
 void setMozBorderStartStyle(String mozBorderStartStyle)
          Sets the "MozBorderStartStyle" style attribute.
 void setMozBorderStartWidth(String mozBorderStartWidth)
          Sets the "MozBorderStartWidth" style attribute.
 void setMozBorderTopColors(String mozBorderTopColors)
          Sets the "MozBorderTopColors" style attribute.
 void setMozBoxAlign(String mozBoxAlign)
          Sets the "MozBoxAlign" style attribute.
 void setMozBoxDirection(String mozBoxDirection)
          Sets the "MozBoxDirection" style attribute.
 void setMozBoxFlex(String mozBoxFlex)
          Sets the "MozBoxFlex" style attribute.
 void setMozBoxOrdinalGroup(String mozBoxOrdinalGroup)
          Sets the "MozBoxOrdinalGroup" style attribute.
 void setMozBoxOrient(String mozBoxOrient)
          Sets the "MozBoxOrient" style attribute.
 void setMozBoxPack(String mozBoxPack)
          Sets the "MozBoxPack" style attribute.
 void setMozBoxShadow(String mozBoxShadow)
          Sets the "MozBoxShadow" style attribute.
 void setMozBoxSizing(String mozBoxSizing)
          Sets the "MozBoxSizing" style attribute.
 void setMozColumnCount(String mozColumnCount)
          Sets the "MozColumnCount" style attribute.
 void setMozColumnGap(String mozColumnGap)
          Sets the "MozColumnGap" style attribute.
 void setMozColumnRule(String mozColumnRule)
          Sets the "MozColumnRule" style attribute.
 void setMozColumnRuleColor(String mozColumnRuleColor)
          Sets the "MozColumnRuleColor" style attribute.
 void setMozColumnRuleStyle(String mozColumnRuleStyle)
          Sets the "MozColumnRuleStyle" style attribute.
 void setMozColumnRuleWidth(String mozColumnRuleWidth)
          Sets the "MozColumnRuleWidth" style attribute.
 void setMozColumnWidth(String mozColumnWidth)
          Sets the "MozColumnWidth" style attribute.
 void setMozFloatEdge(String mozFloatEdge)
          Sets the "MozFloatEdge" style attribute.
 void setMozForceBrokenImageIcon(String mozForceBrokenImageIcon)
          Sets the "MozForceBrokenImageIcon" style attribute.
 void setMozImageRegion(String mozImageRegion)
          Sets the "MozImageRegion" style attribute.
 void setMozMarginEnd(String mozMarginEnd)
          Sets the "MozMarginEnd" style attribute.
 void setMozMarginStart(String mozMarginStart)
          Sets the "MozMarginStart" style attribute.
 void setMozOpacity(String mozOpacity)
          Sets the "MozOpacity" style attribute.
 void setMozOutline(String mozOutline)
          Sets the "MozOutline" style attribute.
 void setMozOutlineColor(String mozOutlineColor)
          Sets the "MozOutlineColor" style attribute.
 void setMozOutlineOffset(String mozOutlineOffset)
          Sets the "MozOutlineOffset" style attribute.
 void setMozOutlineRadius(String mozOutlineRadius)
          Sets the "MozOutlineRadius" style attribute.
 void setMozOutlineRadiusBottomleft(String mozOutlineRadiusBottomleft)
          Sets the "MozOutlineRadiusBottomleft" style attribute.
 void setMozOutlineRadiusBottomright(String mozOutlineRadiusBottomright)
          Sets the "MozOutlineRadiusBottomright" style attribute.
 void setMozOutlineRadiusTopleft(String mozOutlineRadiusTopleft)
          Sets the "MozOutlineRadiusTopleft" style attribute.
 void setMozOutlineRadiusTopright(String mozOutlineRadiusTopright)
          Sets the "MozOutlineRadiusTopright" style attribute.
 void setMozOutlineStyle(String mozOutlineStyle)
          Sets the "MozOutlineStyle" style attribute.
 void setMozOutlineWidth(String mozOutlineWidth)
          Sets the "MozOutlineWidth" style attribute.
 void setMozPaddingEnd(String mozPaddingEnd)
          Sets the "MozPaddingEnd" style attribute.
 void setMozPaddingStart(String mozPaddingStart)
          Sets the "MozPaddingStart" style attribute.
 void setMozStackSizing(String mozStackSizing)
          Sets the "MozStackSizing" style attribute.
 void setMozTransform(String mozTransform)
          Sets the "MozTransform" style attribute.
 void setMozTransformOrigin(String mozTransformOrigin)
          Sets the "MozTransformOrigin" style attribute.
 void setMozUserFocus(String mozUserFocus)
          Sets the "MozUserFocus" style attribute.
 void setMozUserInput(String mozUserInput)
          Sets the "MozUserInput" style attribute.
 void setMozUserModify(String mozUserModify)
          Sets the "MozUserModify" style attribute.
 void setMozUserSelect(String mozUserSelect)
          Sets the "MozUserSelect" style attribute.
 void setMozWindowShadow(String mozWindowShadow)
          Sets the "MozWindowShadow" style attribute.
 void setMsBlockProgression(String msBlockProgression)
          Sets the "msBlockProgression" style attribute.
 void setMsInterpolationMode(String msInterpolationMode)
          Sets the "msInterpolationMode" style attribute.
 void setOpacity(String opacity)
          Sets the "opacity" style attribute.
 void setOrphans(String orphans)
          Sets the "orphans" style attribute.
 void setOutline(String outline)
          Sets the "outline" style attribute.
 void setOutlineColor(String outlineColor)
          Sets the "outlineColor" style attribute.
 void setOutlineOffset(String outlineOffset)
          Sets the "outlineOffset" style attribute.
 void setOutlineStyle(String outlineStyle)
          Sets the "outlineStyle" style attribute.
 void setOutlineWidth(String outlineWidth)
          Sets the "outlineWidth" style attribute.
 void setOverflow(String overflow)
          Sets the "overflow" style attribute.
 void setOverflowX(String overflowX)
          Sets the "overflowX" style attribute.
 void setOverflowY(String overflowY)
          Sets the "overflowY" style attribute.
 void setPadding(String padding)
          Sets the "padding" style attribute.
 void setPaddingBottom(String paddingBottom)
          Sets the "paddingBottom" style attribute.
 void setPaddingLeft(String paddingLeft)
          Sets the "paddingLeft" style attribute.
 void setPaddingRight(String paddingRight)
          Sets the "paddingRight" style attribute.
 void setPaddingTop(String paddingTop)
          Sets the "paddingTop" style attribute.
 void setPage(String page)
          Sets the "page" style attribute.
 void setPageBreakAfter(String pageBreakAfter)
          Sets the "pageBreakAfter" style attribute.
 void setPageBreakBefore(String pageBreakBefore)
          Sets the "pageBreakBefore" style attribute.
 void setPageBreakInside(String pageBreakInside)
          Sets the "pageBreakInside" style attribute.
 void setPause(String pause)
          Sets the "pause" style attribute.
 void setPauseAfter(String pauseAfter)
          Sets the "pauseAfter" style attribute.
 void setPauseBefore(String pauseBefore)
          Sets the "pauseBefore" style attribute.
 void setPitch(String pitch)
          Sets the "pitch" style attribute.
 void setPitchRange(String pitchRange)
          Sets the "pitchRange" style attribute.
 void setPixelBottom(int pixelBottom)
          Sets the "pixelBottom" style attribute.
 void setPixelLeft(int pixelLeft)
          Sets the "pixelLeft" style attribute.
 void setPixelRight(int pixelRight)
          Sets the "pixelRight" style attribute.
 void setPixelTop(int pixelTop)
          Sets the "pixelTop" style attribute.
 void setPointerEvents(String pointerEvents)
          Sets the "pointerEvents" style attribute.
 void setPosBottom(int posBottom)
          Sets the "posBottom" style attribute.
 void setPosHeight(int posHeight)
          Sets the "posHeight" style attribute.
 void setPosition(String position)
          Sets the "position" style attribute.
 void setPosLeft(int posLeft)
          Sets the "posLeft" style attribute.
 void setPosRight(int posRight)
          Sets the "posRight" style attribute.
 void setPosTop(int posTop)
          Sets the "posTop" style attribute.
 void setPosWidth(int posWidth)
          Sets the "posWidth" style attribute.
 void setQuotes(String quotes)
          Sets the "quotes" style attribute.
 void setRichness(String richness)
          Sets the "richness" style attribute.
 void setRight(String right)
          Sets the "right" style attribute.
 void setRubyAlign(String rubyAlign)
          Sets the "rubyAlign" style attribute.
 void setRubyOverhang(String rubyOverhang)
          Sets the "rubyOverhang" style attribute.
 void setRubyPosition(String rubyPosition)
          Sets the "rubyPosition" style attribute.
 void setScrollbar3dLightColor(String scrollbar3dLightColor)
          Sets the "scrollbar3dLightColor" style attribute.
 void setScrollbarArrowColor(String scrollbarArrowColor)
          Sets the "scrollbarArrowColor" style attribute.
 void setScrollbarBaseColor(String scrollbarBaseColor)
          Sets the "scrollbarBaseColor" style attribute.
 void setScrollbarDarkShadowColor(String scrollbarDarkShadowColor)
          Sets the "scrollbarDarkShadowColor" style attribute.
 void setScrollbarFaceColor(String scrollbarFaceColor)
          Sets the "scrollbarFaceColor" style attribute.
 void setScrollbarHighlightColor(String scrollbarHighlightColor)
          Sets the "scrollbarHighlightColor" style attribute.
 void setScrollbarShadowColor(String scrollbarShadowColor)
          Sets the "scrollbarShadowColor" style attribute.
 void setScrollbarTrackColor(String scrollbarTrackColor)
          Sets the "scrollbarTrackColor" style attribute.
 void setSize(String size)
          Sets the "size" style attribute.
 void setSpeak(String speak)
          Sets the "speak" style attribute.
 void setSpeakHeader(String speakHeader)
          Sets the "speakHeader" style attribute.
 void setSpeakNumeral(String speakNumeral)
          Sets the "speakNumeral" style attribute.
 void setSpeakPunctuation(String speakPunctuation)
          Sets the "speakPunctuation" style attribute.
 void setSpeechRate(String speechRate)
          Sets the "speechRate" style attribute.
 void setStress(String stress)
          Sets the "stress" style attribute.
protected  void setStyleAttribute(String name, String newValue)
          Sets the specified style attribute.
protected  void setStyleAttributePixel(String name, String value)
          Sets the style attribute which should be treated as an integer in pixels.
 void setStyleFloat(String value)
          Sets the "styleFloat" style attribute.
 void setTableLayout(String tableLayout)
          Sets the "tableLayout" style attribute.
 void setTextAlign(String textAlign)
          Sets the "textAlign" style attribute.
 void setTextAlignLast(String textAlignLast)
          Sets the "textAlignLast" style attribute.
 void setTextAutospace(String textAutospace)
          Sets the "textAutospace" style attribute.
 void setTextDecoration(String textDecoration)
          Sets the "textDecoration" style attribute.
 void setTextDecorationBlink(boolean textDecorationBlink)
          Sets the "textDecorationBlink" style attribute.
 void setTextDecorationLineThrough(boolean textDecorationLineThrough)
          Sets the "textDecorationLineThrough" style attribute.
 void setTextDecorationNone(boolean textDecorationNone)
          Sets the "textDecorationNone" style attribute.
 void setTextDecorationOverline(boolean textDecorationOverline)
          Sets the "textDecorationOverline" style attribute.
 void setTextDecorationUnderline(boolean textDecorationUnderline)
          Sets the "textDecorationUnderline" style attribute.
 void setTextIndent(String textIndent)
          Sets the "textIndent" style attribute.
 void setTextJustify(String textJustify)
          Sets the "textJustify" style attribute.
 void setTextJustifyTrim(String textJustifyTrim)
          Sets the "textJustifyTrim" style attribute.
 void setTextKashida(String textKashida)
          Sets the "textKashida" style attribute.
 void setTextKashidaSpace(String textKashidaSpace)
          Sets the "textKashidaSpace" style attribute.
 void setTextOverflow(String textOverflow)
          Sets the "textOverflow" style attribute.
 void setTextShadow(String textShadow)
          Sets the "textShadow" style attribute.
 void setTextTransform(String textTransform)
          Sets the "textTransform" style attribute.
 void setTextUnderlinePosition(String textUnderlinePosition)
          Sets the "textUnderlinePosition" style attribute.
 void setTop(String top)
          Sets the "top" style attribute.
 void setUnicodeBidi(String unicodeBidi)
          Sets the "unicodeBidi" style attribute.
 void setVerticalAlign(String verticalAlign)
          Sets the "verticalAlign" style attribute.
 void setVisibility(String visibility)
          Sets the "visibility" style attribute.
 void setVoiceFamily(String voiceFamily)
          Sets the "voiceFamily" style attribute.
 void setVolume(String volume)
          Sets the "volume" style attribute.
 void setWhiteSpace(String whiteSpace)
          Sets the "whiteSpace" style attribute.
 void setWidows(String widows)
          Sets the "widows" style attribute.
 void setWidth(String width)
          Sets the "width" style attribute.
 void setWordBreak(String wordBreak)
          Sets the "wordBreak" style attribute.
 void setWordSpacing(String wordSpacing)
          Sets the "wordSpacing" style attribute.
 void setWordWrap(String wordWrap)
          Sets the "wordWrap" style attribute.
 void setWritingMode(String writingMode)
          Sets the "writingMode" style attribute.
 void setZIndex(Object zIndex)
          Sets the "zIndex" style attribute.
 void setZoom(String zoom)
          Sets the "zoom" style attribute.
static String toRGBColor(String color)
          Gets the RGB equivalent of a CSS color if the provided color is recognized.
 String toString()
          
 
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
clone, defineFunctionProperties, defineProperty, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElement
 
Methods inherited from class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype
 

Field Detail

PRIORITY_IMPORTANT

protected static final String PRIORITY_IMPORTANT
Css important property constant.

See Also:
Constant Field Values

WIDTH

protected static final String WIDTH
The width style attribute.

See Also:
Constant Field Values
Constructor Detail

CSSStyleDeclaration

public CSSStyleDeclaration()
Creates an instance. JavaScript objects must have a default constructor.


CSSStyleDeclaration

public CSSStyleDeclaration(Element element)
Creates an instance and sets its parent scope to the one of the provided element.

Parameters:
element - the element to which this style is bound
Method Detail

getWithFallback

public Object getWithFallback(String name)
IE makes unknown style properties accessible.

Specified by:
getWithFallback in interface ScriptableWithFallbackGetter
Parameters:
name - the name of the requested property
Returns:
the object value, Scriptable.NOT_FOUND if nothing is found

getElement

protected HTMLElement getElement()
Returns the element to which this style belongs.

Returns:
the element to which this style belongs

getStyleAttribute

protected String getStyleAttribute(String name,
                                   Map<String,CSSStyleDeclaration.StyleElement> styleMap)
Returns the value of the named style attribute, or an empty string if it is not found.

Parameters:
name - the name of the style attribute whose value is to be retrieved
styleMap - if the style map was calculated before, you can provide it here for performance
Returns:
the named style attribute value, or an empty string if it is not found

setStyleAttribute

protected void setStyleAttribute(String name,
                                 String newValue)
Sets the specified style attribute.

Parameters:
name - the attribute name (camel-cased)
newValue - the attribute value

getStyleMap

protected Map<String,CSSStyleDeclaration.StyleElement> getStyleMap()
Returns a sorted map containing style elements, keyed on style element name. We use a LinkedHashMap map so that results are deterministic and are thus testable.

Returns:
a sorted map containing style elements, keyed on style element name

getCurrentElementIndex

protected long getCurrentElementIndex()
Returns the current style element index. An index is assigned to each style element so that we can determine which style elements have precedence over others. This method also takes care of incrementing the index for the next use.

Returns:
the current style element index

camelize

protected static String camelize(String string)
Transforms the specified string from delimiter-separated (e.g. font-size) to camel-cased (e.g. fontSize).

Parameters:
string - the string to camelize
Returns:
the transformed string

getAzimuth

public String getAzimuth()
Gets the "azimuth" style attribute.

Returns:
the style attribute

setAzimuth

public void setAzimuth(String azimuth)
Sets the "azimuth" style attribute.

Parameters:
azimuth - the new attribute

getBackground

public String getBackground()
Gets the "background" style attribute.

Returns:
the style attribute

setBackground

public void setBackground(String background)
Sets the "background" style attribute.

Parameters:
background - the new attribute

getBackgroundAttachment

public String getBackgroundAttachment()
Gets the "backgroundAttachment" style attribute.

Returns:
the style attribute

setBackgroundAttachment

public void setBackgroundAttachment(String backgroundAttachment)
Sets the "backgroundAttachment" style attribute.

Parameters:
backgroundAttachment - the new attribute

getBackgroundColor

public String getBackgroundColor()
Gets the "backgroundColor" style attribute.

Returns:
the style attribute

setBackgroundColor

public void setBackgroundColor(String backgroundColor)
Sets the "backgroundColor" style attribute.

Parameters:
backgroundColor - the new attribute

getBackgroundImage

public String getBackgroundImage()
Gets the "backgroundImage" style attribute.

Returns:
the style attribute

setBackgroundImage

public void setBackgroundImage(String backgroundImage)
Sets the "backgroundImage" style attribute.

Parameters:
backgroundImage - the new attribute

getBackgroundPosition

public String getBackgroundPosition()
Gets the "backgroundPosition" style attribute.

Returns:
the style attribute

setBackgroundPosition

public void setBackgroundPosition(String backgroundPosition)
Sets the "backgroundPosition" style attribute.

Parameters:
backgroundPosition - the new attribute

getBackgroundPositionX

public String getBackgroundPositionX()
Gets the "backgroundPositionX" style attribute.

Returns:
the style attribute

setBackgroundPositionX

public void setBackgroundPositionX(String backgroundPositionX)
Sets the "backgroundPositionX" style attribute.

Parameters:
backgroundPositionX - the new attribute

getBackgroundPositionY

public String getBackgroundPositionY()
Gets the "backgroundPositionY" style attribute.

Returns:
the style attribute

setBackgroundPositionY

public void setBackgroundPositionY(String backgroundPositionY)
Sets the "backgroundPositionY" style attribute.

Parameters:
backgroundPositionY - the new attribute

getBackgroundRepeat

public String getBackgroundRepeat()
Gets the "backgroundRepeat" style attribute.

Returns:
the style attribute

setBackgroundRepeat

public void setBackgroundRepeat(String backgroundRepeat)
Sets the "backgroundRepeat" style attribute.

Parameters:
backgroundRepeat - the new attribute

getBehavior

public String getBehavior()
Gets the object's behavior (IE only).

Returns:
the object's behavior

setBehavior

public void setBehavior(String behavior)
Sets the object's behavior (IE only).

Parameters:
behavior - the new behavior

getBorder

public String getBorder()
Gets the "border" style attribute.

Returns:
the style attribute

setBorder

public void setBorder(String border)
Sets the "border" style attribute.

Parameters:
border - the new attribute

getBorderBottom

public String getBorderBottom()
Gets the "borderBottom" style attribute.

Returns:
the style attribute

setBorderBottom

public void setBorderBottom(String borderBottom)
Sets the "borderBottom" style attribute.

Parameters:
borderBottom - the new attribute

getBorderBottomColor

public String getBorderBottomColor()
Gets the "borderBottomColor" style attribute.

Returns:
the style attribute

setBorderBottomColor

public void setBorderBottomColor(String borderBottomColor)
Sets the "borderBottomColor" style attribute.

Parameters:
borderBottomColor - the new attribute

getBorderBottomStyle

public String getBorderBottomStyle()
Gets the "borderBottomStyle" style attribute.

Returns:
the style attribute

setBorderBottomStyle

public void setBorderBottomStyle(String borderBottomStyle)
Sets the "borderBottomStyle" style attribute.

Parameters:
borderBottomStyle - the new attribute

getBorderBottomWidth

public String getBorderBottomWidth()
Gets the "borderBottomWidth" style attribute.

Returns:
the style attribute

setBorderBottomWidth

public void setBorderBottomWidth(String borderBottomWidth)
Sets the "borderBottomWidth" style attribute.

Parameters:
borderBottomWidth - the new attribute

getBorderCollapse

public String getBorderCollapse()
Gets the "borderCollapse" style attribute.

Returns:
the style attribute

setBorderCollapse

public void setBorderCollapse(String borderCollapse)
Sets the "borderCollapse" style attribute.

Parameters:
borderCollapse - the new attribute

getBorderColor

public String getBorderColor()
Gets the "borderColor" style attribute.

Returns:
the style attribute

setBorderColor

public void setBorderColor(String borderColor)
Sets the "borderColor" style attribute.

Parameters:
borderColor - the new attribute

getBorderLeft

public String getBorderLeft()
Gets the "borderLeft" style attribute.

Returns:
the style attribute

setBorderLeft

public void setBorderLeft(String borderLeft)
Sets the "borderLeft" style attribute.

Parameters:
borderLeft - the new attribute

getBorderLeftColor

public String getBorderLeftColor()
Gets the "borderLeftColor" style attribute.

Returns:
the style attribute

setBorderLeftColor

public void setBorderLeftColor(String borderLeftColor)
Sets the "borderLeftColor" style attribute.

Parameters:
borderLeftColor - the new attribute

getBorderLeftStyle

public String getBorderLeftStyle()
Gets the "borderLeftStyle" style attribute.

Returns:
the style attribute

setBorderLeftStyle

public void setBorderLeftStyle(String borderLeftStyle)
Sets the "borderLeftStyle" style attribute.

Parameters:
borderLeftStyle - the new attribute

getBorderLeftWidth

public String getBorderLeftWidth()
Gets the "borderLeftWidth" style attribute.

Returns:
the style attribute

setBorderLeftWidth

public void setBorderLeftWidth(String borderLeftWidth)
Sets the "borderLeftWidth" style attribute.

Parameters:
borderLeftWidth - the new attribute

getBorderRight

public String getBorderRight()
Gets the "borderRight" style attribute.

Returns:
the style attribute

setBorderRight

public void setBorderRight(String borderRight)
Sets the "borderRight" style attribute.

Parameters:
borderRight - the new attribute

getBorderRightColor

public String getBorderRightColor()
Gets the "borderRightColor" style attribute.

Returns:
the style attribute

setBorderRightColor

public void setBorderRightColor(String borderRightColor)
Sets the "borderRightColor" style attribute.

Parameters:
borderRightColor - the new attribute

getBorderRightStyle

public String getBorderRightStyle()
Gets the "borderRightStyle" style attribute.

Returns:
the style attribute

setBorderRightStyle

public void setBorderRightStyle(String borderRightStyle)
Sets the "borderRightStyle" style attribute.

Parameters:
borderRightStyle - the new attribute

getBorderRightWidth

public String getBorderRightWidth()
Gets the "borderRightWidth" style attribute.

Returns:
the style attribute

setBorderRightWidth

public void setBorderRightWidth(String borderRightWidth)
Sets the "borderRightWidth" style attribute.

Parameters:
borderRightWidth - the new attribute

getBorderSpacing

public String getBorderSpacing()
Gets the "borderSpacing" style attribute.

Returns:
the style attribute

setBorderSpacing

public void setBorderSpacing(String borderSpacing)
Sets the "borderSpacing" style attribute.

Parameters:
borderSpacing - the new attribute

getBorderStyle

public String getBorderStyle()
Gets the "borderStyle" style attribute.

Returns:
the style attribute

setBorderStyle

public void setBorderStyle(String borderStyle)
Sets the "borderStyle" style attribute.

Parameters:
borderStyle - the new attribute

getBorderTop

public String getBorderTop()
Gets the "borderTop" style attribute.

Returns:
the style attribute

setBorderTop

public void setBorderTop(String borderTop)
Sets the "borderTop" style attribute.

Parameters:
borderTop - the new attribute

getBorderTopColor

public String getBorderTopColor()
Gets the "borderTopColor" style attribute.

Returns:
the style attribute

setBorderTopColor

public void setBorderTopColor(String borderTopColor)
Sets the "borderTopColor" style attribute.

Parameters:
borderTopColor - the new attribute

getBorderTopStyle

public String getBorderTopStyle()
Gets the "borderTopStyle" style attribute.

Returns:
the style attribute

setBorderTopStyle

public void setBorderTopStyle(String borderTopStyle)
Sets the "borderTopStyle" style attribute.

Parameters:
borderTopStyle - the new attribute

getBorderTopWidth

public String getBorderTopWidth()
Gets the "borderTopWidth" style attribute.

Returns:
the style attribute

setBorderTopWidth

public void setBorderTopWidth(String borderTopWidth)
Sets the "borderTopWidth" style attribute.

Parameters:
borderTopWidth - the new attribute

getBorderWidth

public String getBorderWidth()
Gets the "borderWidth" style attribute.

Returns:
the style attribute

setBorderWidth

public void setBorderWidth(String borderWidth)
Sets the "borderWidth" style attribute.

Parameters:
borderWidth - the new attribute

getBottom

public String getBottom()
Gets the "bottom" style attribute.

Returns:
the style attribute

setBottom

public void setBottom(String bottom)
Sets the "bottom" style attribute.

Parameters:
bottom - the new attribute

getBoxSizing

public String getBoxSizing()
Gets the "boxSizing" style attribute.

Returns:
the style attribute

setBoxSizing

public void setBoxSizing(String boxSizing)
Sets the "boxSizing" style attribute.

Parameters:
boxSizing - the new attribute

getCaptionSide

public String getCaptionSide()
Gets the "captionSide" style attribute.

Returns:
the style attribute

setCaptionSide

public void setCaptionSide(String captionSide)
Sets the "captionSide" style attribute.

Parameters:
captionSide - the new attribute

getClear

public String getClear()
Gets the "clear" style attribute.

Returns:
the style attribute

setClear

public void setClear(String clear)
Sets the "clear" style attribute.

Parameters:
clear - the new attribute

getClip

public String getClip()
Gets the "clip" style attribute.

Returns:
the style attribute

setClip

public void setClip(String clip)
Sets the "clip" style attribute.

Parameters:
clip - the new attribute

getColor

public String getColor()
Gets the "color" style attribute.

Returns:
the style attribute

setColor

public void setColor(String color)
Sets the "color" style attribute.

Parameters:
color - the new attribute

getContent

public String getContent()
Gets the "content" style attribute.

Returns:
the style attribute

setContent

public void setContent(String content)
Sets the "content" style attribute.

Parameters:
content - the new attribute

getCounterIncrement

public String getCounterIncrement()
Gets the "counterIncrement" style attribute.

Returns:
the style attribute

setCounterIncrement

public void setCounterIncrement(String counterIncrement)
Sets the "counterIncrement" style attribute.

Parameters:
counterIncrement - the new attribute

getCounterReset

public String getCounterReset()
Gets the "counterReset" style attribute.

Returns:
the style attribute

setCounterReset

public void setCounterReset(String counterReset)
Sets the "counterReset" style attribute.

Parameters:
counterReset - the new attribute

getCssFloat

public String getCssFloat()
Gets the "cssFloat" style attribute.

Returns:
the style attribute

setCssFloat

public void setCssFloat(String value)
Sets the "cssFloat" style attribute.

Parameters:
value - the new attribute

getCssText

public String getCssText()
Returns the actual text of the style.

Returns:
the actual text of the style

setCssText

public void setCssText(String value)
Sets the actual text of the style.

Parameters:
value - the new text

getCue

public String getCue()
Gets the "cue" style attribute.

Returns:
the style attribute

setCue

public void setCue(String cue)
Sets the "cue" style attribute.

Parameters:
cue - the new attribute

getCueAfter

public String getCueAfter()
Gets the "cueAfter" style attribute.

Returns:
the style attribute

setCueAfter

public void setCueAfter(String cueAfter)
Sets the "cueAfter" style attribute.

Parameters:
cueAfter - the new attribute

getCueBefore

public String getCueBefore()
Gets the "cueBefore" style attribute.

Returns:
the style attribute

setCueBefore

public void setCueBefore(String cueBefore)
Sets the "cueBefore" style attribute.

Parameters:
cueBefore - the new attribute

getCursor

public String getCursor()
Gets the "cursor" style attribute.

Returns:
the style attribute

setCursor

public void setCursor(String cursor)
Sets the "cursor" style attribute.

Parameters:
cursor - the new attribute

getDirection

public String getDirection()
Gets the "direction" style attribute.

Returns:
the style attribute

setDirection

public void setDirection(String direction)
Sets the "direction" style attribute.

Parameters:
direction - the new attribute

getDisplay

public String getDisplay()
Gets the "display" style attribute.

Returns:
the style attribute

setDisplay

public void setDisplay(String display)
Sets the "display" style attribute.

Parameters:
display - the new attribute

getElevation

public String getElevation()
Gets the "elevation" style attribute.

Returns:
the style attribute

setElevation

public void setElevation(String elevation)
Sets the "elevation" style attribute.

Parameters:
elevation - the new attribute

getEmptyCells

public String getEmptyCells()
Gets the "emptyCells" style attribute.

Returns:
the style attribute

setEmptyCells

public void setEmptyCells(String emptyCells)
Sets the "emptyCells" style attribute.

Parameters:
emptyCells - the new attribute

getFilter

public String getFilter()
Gets the object's filter (IE only). See the MSDN documentation for more information.

Returns:
the object's filter

setFilter

public void setFilter(String filter)
Sets the object's filter (IE only). See the MSDN documentation for more information.

Parameters:
filter - the new filter

getFont

public String getFont()
Gets the "font" style attribute.

Returns:
the style attribute

setFont

public void setFont(String font)
Sets the "font" style attribute.

Parameters:
font - the new attribute

getFontFamily

public String getFontFamily()
Gets the "fontFamily" style attribute.

Returns:
the style attribute

setFontFamily

public void setFontFamily(String fontFamily)
Sets the "fontFamily" style attribute.

Parameters:
fontFamily - the new attribute

getFontSize

public String getFontSize()
Gets the "fontSize" style attribute.

Returns:
the style attribute

setFontSize

public void setFontSize(String fontSize)
Sets the "fontSize" style attribute.

Parameters:
fontSize - the new attribute

getFontSizeAdjust

public String getFontSizeAdjust()
Gets the "fontSizeAdjust" style attribute.

Returns:
the style attribute

setFontSizeAdjust

public void setFontSizeAdjust(String fontSizeAdjust)
Sets the "fontSizeAdjust" style attribute.

Parameters:
fontSizeAdjust - the new attribute

getFontStretch

public String getFontStretch()
Gets the "fontStretch" style attribute.

Returns:
the style attribute

setFontStretch

public void setFontStretch(String fontStretch)
Sets the "fontStretch" style attribute.

Parameters:
fontStretch - the new attribute

getFontStyle

public String getFontStyle()
Gets the "fontStyle" style attribute.

Returns:
the style attribute

setFontStyle

public void setFontStyle(String fontStyle)
Sets the "fontStyle" style attribute.

Parameters:
fontStyle - the new attribute

getFontVariant

public String getFontVariant()
Gets the "fontVariant" style attribute.

Returns:
the style attribute

setFontVariant

public void setFontVariant(String fontVariant)
Sets the "fontVariant" style attribute.

Parameters:
fontVariant - the new attribute

getFontWeight

public String getFontWeight()
Gets the "fontWeight" style attribute.

Returns:
the style attribute

setFontWeight

public void setFontWeight(String fontWeight)
Sets the "fontWeight" style attribute.

Parameters:
fontWeight - the new attribute

getHeight

public String getHeight()
Gets the "height" style attribute.

Returns:
the style attribute

setHeight

public void setHeight(String height)
Sets the "height" style attribute.

Parameters:
height - the new attribute

getImeMode

public String getImeMode()
Gets the "imeMode" style attribute.

Returns:
the style attribute

setImeMode

public void setImeMode(String imeMode)
Sets the "imeMode" style attribute.

Parameters:
imeMode - the new attribute

getLayoutFlow

public String getLayoutFlow()
Gets the "layoutFlow" style attribute.

Returns:
the style attribute

setLayoutFlow

public void setLayoutFlow(String layoutFlow)
Sets the "layoutFlow" style attribute.

Parameters:
layoutFlow - the new attribute

getLayoutGrid

public String getLayoutGrid()
Gets the "layoutGrid" style attribute.

Returns:
the style attribute

setLayoutGrid

public void setLayoutGrid(String layoutGrid)
Sets the "layoutGrid" style attribute.

Parameters:
layoutGrid - the new attribute

getLayoutGridChar

public String getLayoutGridChar()
Gets the "layoutGridChar" style attribute.

Returns:
the style attribute

setLayoutGridChar

public void setLayoutGridChar(String layoutGridChar)
Sets the "layoutGridChar" style attribute.

Parameters:
layoutGridChar - the new attribute

getLayoutGridLine

public String getLayoutGridLine()
Gets the "layoutGridLine" style attribute.

Returns:
the style attribute

setLayoutGridLine

public void setLayoutGridLine(String layoutGridLine)
Sets the "layoutGridLine" style attribute.

Parameters:
layoutGridLine - the new attribute

getLayoutGridMode

public String getLayoutGridMode()
Gets the "layoutGridMode" style attribute.

Returns:
the style attribute

setLayoutGridMode

public void setLayoutGridMode(String layoutGridMode)
Sets the "layoutGridMode" style attribute.

Parameters:
layoutGridMode - the new attribute

getLayoutGridType

public String getLayoutGridType()
Gets the "layoutGridType" style attribute.

Returns:
the style attribute

setLayoutGridType

public void setLayoutGridType(String layoutGridType)
Sets the "layoutGridType" style attribute.

Parameters:
layoutGridType - the new attribute

getLeft

public String getLeft()
Gets the "left" style attribute.

Returns:
the style attribute

setLeft

public void setLeft(String left)
Sets the "left" style attribute.

Parameters:
left - the new attribute

getLength

public int getLength()
Gets the "length", not yet implemented.

Returns:
the length

getLetterSpacing

public String getLetterSpacing()
Gets the "letterSpacing" style attribute.

Returns:
the style attribute

setLetterSpacing

public void setLetterSpacing(String letterSpacing)
Sets the "letterSpacing" style attribute.

Parameters:
letterSpacing - the new attribute

getLineBreak

public String getLineBreak()
Gets the "lineBreak" style attribute.

Returns:
the style attribute

setLineBreak

public void setLineBreak(String lineBreak)
Sets the "lineBreak" style attribute.

Parameters:
lineBreak - the new attribute

getLineHeight

public String getLineHeight()
Gets the "lineHeight" style attribute.

Returns:
the style attribute

setLineHeight

public void setLineHeight(String lineHeight)
Sets the "lineHeight" style attribute.

Parameters:
lineHeight - the new attribute

getListStyle

public String getListStyle()
Gets the "listStyle" style attribute.

Returns:
the style attribute

setListStyle

public void setListStyle(String listStyle)
Sets the "listStyle" style attribute.

Parameters:
listStyle - the new attribute

getListStyleImage

public String getListStyleImage()
Gets the "listStyleImage" style attribute.

Returns:
the style attribute

setListStyleImage

public void setListStyleImage(String listStyleImage)
Sets the "listStyleImage" style attribute.

Parameters:
listStyleImage - the new attribute

getListStylePosition

public String getListStylePosition()
Gets the "listStylePosition" style attribute.

Returns:
the style attribute

setListStylePosition

public void setListStylePosition(String listStylePosition)
Sets the "listStylePosition" style attribute.

Parameters:
listStylePosition - the new attribute

getListStyleType

public String getListStyleType()
Gets the "listStyleType" style attribute.

Returns:
the style attribute

setListStyleType

public void setListStyleType(String listStyleType)
Sets the "listStyleType" style attribute.

Parameters:
listStyleType - the new attribute

getMargin

public String getMargin()
Gets the "margin" style attribute.

Returns:
the style attribute

setMargin

public void setMargin(String margin)
Sets the "margin" style attribute.

Parameters:
margin - the new attribute

getMarginBottom

public String getMarginBottom()
Gets the "marginBottom" style attribute.

Returns:
the style attribute

setMarginBottom

public void setMarginBottom(String marginBottom)
Sets the "marginBottom" style attribute.

Parameters:
marginBottom - the new attribute

getMarginLeft

public String getMarginLeft()
Gets the "marginLeft" style attribute.

Returns:
the style attribute

setMarginLeft

public void setMarginLeft(String marginLeft)
Sets the "marginLeft" style attribute.

Parameters:
marginLeft - the new attribute

getMarginRight

public String getMarginRight()
Gets the "marginRight" style attribute.

Returns:
the style attribute

setMarginRight

public void setMarginRight(String marginRight)
Sets the "marginRight" style attribute.

Parameters:
marginRight - the new attribute

getMarginTop

public String getMarginTop()
Gets the "marginTop" style attribute.

Returns:
the style attribute

setMarginTop

public void setMarginTop(String marginTop)
Sets the "marginTop" style attribute.

Parameters:
marginTop - the new attribute

getMarkerOffset

public String getMarkerOffset()
Gets the "markerOffset" style attribute.

Returns:
the style attribute

setMarkerOffset

public void setMarkerOffset(String markerOffset)
Sets the "markerOffset" style attribute.

Parameters:
markerOffset - the new attribute

getMarks

public String getMarks()
Gets the "marks" style attribute.

Returns:
the style attribute

setMarks

public void setMarks(String marks)
Sets the "marks" style attribute.

Parameters:
marks - the new attribute

getMaxHeight

public String getMaxHeight()
Gets the "maxHeight" style attribute.

Returns:
the style attribute

setMaxHeight

public void setMaxHeight(String maxHeight)
Sets the "maxHeight" style attribute.

Parameters:
maxHeight - the new attribute

getMaxWidth

public String getMaxWidth()
Gets the "maxWidth" style attribute.

Returns:
the style attribute

setMaxWidth

public void setMaxWidth(String maxWidth)
Sets the "maxWidth" style attribute.

Parameters:
maxWidth - the new attribute

getMinHeight

public String getMinHeight()
Gets the "minHeight" style attribute.

Returns:
the style attribute

setMinHeight

public void setMinHeight(String minHeight)
Sets the "minHeight" style attribute.

Parameters:
minHeight - the new attribute

getMinWidth

public String getMinWidth()
Gets the "minWidth" style attribute.

Returns:
the style attribute

setMinWidth

public void setMinWidth(String minWidth)
Sets the "minWidth" style attribute.

Parameters:
minWidth - the new attribute

getMozAppearance

public String getMozAppearance()
Gets the "MozAppearance" style attribute.

Returns:
the style attribute

setMozAppearance

public void setMozAppearance(String mozAppearance)
Sets the "MozAppearance" style attribute.

Parameters:
mozAppearance - the new attribute

getMozBackgroundClip

public String getMozBackgroundClip()
Gets the "MozBackgroundClip" style attribute.

Returns:
the style attribute

setMozBackgroundClip

public void setMozBackgroundClip(String mozBackgroundClip)
Sets the "MozBackgroundClip" style attribute.

Parameters:
mozBackgroundClip - the new attribute

getMozBackgroundInlinePolicy

public String getMozBackgroundInlinePolicy()
Gets the "MozBackgroundInlinePolicy" style attribute.

Returns:
the style attribute

setMozBackgroundInlinePolicy

public void setMozBackgroundInlinePolicy(String mozBackgroundInlinePolicy)
Sets the "MozBackgroundInlinePolicy" style attribute.

Parameters:
mozBackgroundInlinePolicy - the new attribute

getMozBackgroundOrigin

public String getMozBackgroundOrigin()
Gets the "MozBackgroundOrigin" style attribute.

Returns:
the style attribute

setMozBackgroundOrigin

public void setMozBackgroundOrigin(String mozBackgroundOrigin)
Sets the "MozBackgroundOrigin" style attribute.

Parameters:
mozBackgroundOrigin - the new attribute

getMozBackgroundSize

public String getMozBackgroundSize()
Gets the "MozBackgroundSize" style attribute.

Returns:
the style attribute

setMozBackgroundSize

public void setMozBackgroundSize(String mozBackgroundSize)
Sets the "MozBackgroundSize" style attribute.

Parameters:
mozBackgroundSize - the new attribute

getMozBinding

public String getMozBinding()
Gets the "MozBinding" style attribute.

Returns:
the style attribute

setMozBinding

public void setMozBinding(String mozBinding)
Sets the "MozBinding" style attribute.

Parameters:
mozBinding - the new attribute

getMozBorderBottomColors

public String getMozBorderBottomColors()
Gets the "MozBorderBottomColors" style attribute.

Returns:
the style attribute

setMozBorderBottomColors

public void setMozBorderBottomColors(String mozBorderBottomColors)
Sets the "MozBorderBottomColors" style attribute.

Parameters:
mozBorderBottomColors - the new attribute

getMozBorderEnd

public String getMozBorderEnd()
Gets the "MozBorderEnd" style attribute.

Returns:
the style attribute

setMozBorderEnd

public void setMozBorderEnd(String mozBorderEnd)
Sets the "MozBorderEnd" style attribute.

Parameters:
mozBorderEnd - the new attribute

getMozBorderEndColor

public String getMozBorderEndColor()
Gets the "MozBorderEndColor" style attribute.

Returns:
the style attribute

setMozBorderEndColor

public void setMozBorderEndColor(String mozBorderEndColor)
Sets the "MozBorderEndColor" style attribute.

Parameters:
mozBorderEndColor - the new attribute

getMozBorderEndStyle

public String getMozBorderEndStyle()
Gets the "MozBorderEndStyle" style attribute.

Returns:
the style attribute

setMozBorderEndStyle

public void setMozBorderEndStyle(String mozBorderEndStyle)
Sets the "MozBorderEndStyle" style attribute.

Parameters:
mozBorderEndStyle - the new attribute

getMozBorderEndWidth

public String getMozBorderEndWidth()
Gets the "MozBorderEndWidth" style attribute.

Returns:
the style attribute

setMozBorderEndWidth

public void setMozBorderEndWidth(String mozBorderEndWidth)
Sets the "MozBorderEndWidth" style attribute.

Parameters:
mozBorderEndWidth - the new attribute

getMozBorderImage

public String getMozBorderImage()
Gets the "MozBorderImage" style attribute.

Returns:
the style attribute

setMozBorderImage

public void setMozBorderImage(String mozBorderImage)
Sets the "MozBorderImage" style attribute.

Parameters:
mozBorderImage - the new attribute

getMozBorderLeftColors

public String getMozBorderLeftColors()
Gets the "MozBorderLeftColors" style attribute.

Returns:
the style attribute

setMozBorderLeftColors

public void setMozBorderLeftColors(String mozBorderLeftColors)
Sets the "MozBorderLeftColors" style attribute.

Parameters:
mozBorderLeftColors - the new attribute

getMozBorderRadius

public String getMozBorderRadius()
Gets the "MozBorderRadius" style attribute.

Returns:
the style attribute

setMozBorderRadius

public void setMozBorderRadius(String mozBorderRadius)
Sets the "MozBorderRadius" style attribute.

Parameters:
mozBorderRadius - the new attribute

getMozBorderRadiusBottomleft

public String getMozBorderRadiusBottomleft()
Gets the "MozBorderRadiusBottomleft" style attribute.

Returns:
the style attribute

setMozBorderRadiusBottomleft

public void setMozBorderRadiusBottomleft(String mozBorderRadiusBottomleft)
Sets the "MozBorderRadiusBottomleft" style attribute.

Parameters:
mozBorderRadiusBottomleft - the new attribute

getMozBorderRadiusBottomright

public String getMozBorderRadiusBottomright()
Gets the "MozBorderRadiusBottomright" style attribute.

Returns:
the style attribute

setMozBorderRadiusBottomright

public void setMozBorderRadiusBottomright(String mozBorderRadiusBottomright)
Sets the "MozBorderRadiusBottomright" style attribute.

Parameters:
mozBorderRadiusBottomright - the new attribute

getMozBorderRadiusTopleft

public String getMozBorderRadiusTopleft()
Gets the "MozBorderRadiusTopleft" style attribute.

Returns:
the style attribute

setMozBorderRadiusTopleft

public void setMozBorderRadiusTopleft(String mozBorderRadiusTopleft)
Sets the "MozBorderRadiusTopleft" style attribute.

Parameters:
mozBorderRadiusTopleft - the new attribute

getMozBorderRadiusTopright

public String getMozBorderRadiusTopright()
Gets the "MozBorderRadiusTopright" style attribute.

Returns:
the style attribute

setMozBorderRadiusTopright

public void setMozBorderRadiusTopright(String mozBorderRadiusTopright)
Sets the "MozBorderRadiusTopright" style attribute.

Parameters:
mozBorderRadiusTopright - the new attribute

getMozBorderRightColors

public String getMozBorderRightColors()
Gets the "MozBorderRightColors" style attribute.

Returns:
the style attribute

setMozBorderRightColors

public void setMozBorderRightColors(String mozBorderRightColors)
Sets the "MozBorderRightColors" style attribute.

Parameters:
mozBorderRightColors - the new attribute

getMozBorderStart

public String getMozBorderStart()
Gets the "MozBorderStart" style attribute.

Returns:
the style attribute

setMozBorderStart

public void setMozBorderStart(String mozBorderStart)
Sets the "MozBorderStart" style attribute.

Parameters:
mozBorderStart - the new attribute

getMozBorderStartColor

public String getMozBorderStartColor()
Gets the "MozBorderStartColor" style attribute.

Returns:
the style attribute

setMozBorderStartColor

public void setMozBorderStartColor(String mozBorderStartColor)
Sets the "MozBorderStartColor" style attribute.

Parameters:
mozBorderStartColor - the new attribute

getMozBorderStartStyle

public String getMozBorderStartStyle()
Gets the "MozBorderStartStyle" style attribute.

Returns:
the style attribute

setMozBorderStartStyle

public void setMozBorderStartStyle(String mozBorderStartStyle)
Sets the "MozBorderStartStyle" style attribute.

Parameters:
mozBorderStartStyle - the new attribute

getMozBorderStartWidth

public String getMozBorderStartWidth()
Gets the "MozBorderStartWidth" style attribute.

Returns:
the style attribute

setMozBorderStartWidth

public void setMozBorderStartWidth(String mozBorderStartWidth)
Sets the "MozBorderStartWidth" style attribute.

Parameters:
mozBorderStartWidth - the new attribute

getMozBorderTopColors

public String getMozBorderTopColors()
Gets the "MozBorderTopColors" style attribute.

Returns:
the style attribute

setMozBorderTopColors

public void setMozBorderTopColors(String mozBorderTopColors)
Sets the "MozBorderTopColors" style attribute.

Parameters:
mozBorderTopColors - the new attribute

getMozBoxAlign

public String getMozBoxAlign()
Gets the "MozBoxAlign" style attribute.

Returns:
the style attribute

setMozBoxAlign

public void setMozBoxAlign(String mozBoxAlign)
Sets the "MozBoxAlign" style attribute.

Parameters:
mozBoxAlign - the new attribute

getMozBoxDirection

public String getMozBoxDirection()
Gets the "MozBoxDirection" style attribute.

Returns:
the style attribute

setMozBoxDirection

public void setMozBoxDirection(String mozBoxDirection)
Sets the "MozBoxDirection" style attribute.

Parameters:
mozBoxDirection - the new attribute

getMozBoxFlex

public String getMozBoxFlex()
Gets the "MozBoxFlex" style attribute.

Returns:
the style attribute

setMozBoxFlex

public void setMozBoxFlex(String mozBoxFlex)
Sets the "MozBoxFlex" style attribute.

Parameters:
mozBoxFlex - the new attribute

getMozBoxOrdinalGroup

public String getMozBoxOrdinalGroup()
Gets the "MozBoxOrdinalGroup" style attribute.

Returns:
the style attribute

setMozBoxOrdinalGroup

public void setMozBoxOrdinalGroup(String mozBoxOrdinalGroup)
Sets the "MozBoxOrdinalGroup" style attribute.

Parameters:
mozBoxOrdinalGroup - the new attribute

getMozBoxOrient

public String getMozBoxOrient()
Gets the "MozBoxOrient" style attribute.

Returns:
the style attribute

setMozBoxOrient

public void setMozBoxOrient(String mozBoxOrient)
Sets the "MozBoxOrient" style attribute.

Parameters:
mozBoxOrient - the new attribute

getMozBoxPack

public String getMozBoxPack()
Gets the "MozBoxPack" style attribute.

Returns:
the style attribute

setMozBoxPack

public void setMozBoxPack(String mozBoxPack)
Sets the "MozBoxPack" style attribute.

Parameters:
mozBoxPack - the new attribute

getMozBoxShadow

public String getMozBoxShadow()
Gets the "MozBoxShadow" style attribute.

Returns:
the style attribute

setMozBoxShadow

public void setMozBoxShadow(String mozBoxShadow)
Sets the "MozBoxShadow" style attribute.

Parameters:
mozBoxShadow - the new attribute

getMozBoxSizing

public String getMozBoxSizing()
Gets the "MozBoxSizing" style attribute.

Returns:
the style attribute

setMozBoxSizing

public void setMozBoxSizing(String mozBoxSizing)
Sets the "MozBoxSizing" style attribute.

Parameters:
mozBoxSizing - the new attribute

getMozColumnCount

public String getMozColumnCount()
Gets the "MozColumnCount" style attribute.

Returns:
the style attribute

setMozColumnCount

public void setMozColumnCount(String mozColumnCount)
Sets the "MozColumnCount" style attribute.

Parameters:
mozColumnCount - the new attribute

getMozColumnGap

public String getMozColumnGap()
Gets the "MozColumnGap" style attribute.

Returns:
the style attribute

setMozColumnGap

public void setMozColumnGap(String mozColumnGap)
Sets the "MozColumnGap" style attribute.

Parameters:
mozColumnGap - the new attribute

getMozColumnRule

public String getMozColumnRule()
Gets the "MozColumnRule" style attribute.

Returns:
the style attribute

setMozColumnRule

public void setMozColumnRule(String mozColumnRule)
Sets the "MozColumnRule" style attribute.

Parameters:
mozColumnRule - the new attribute

getMozColumnRuleColor

public String getMozColumnRuleColor()
Gets the "MozColumnRuleColor" style attribute.

Returns:
the style attribute

setMozColumnRuleColor

public void setMozColumnRuleColor(String mozColumnRuleColor)
Sets the "MozColumnRuleColor" style attribute.

Parameters:
mozColumnRuleColor - the new attribute

getMozColumnRuleStyle

public String getMozColumnRuleStyle()
Gets the "MozColumnRuleStyle" style attribute.

Returns:
the style attribute

setMozColumnRuleStyle

public void setMozColumnRuleStyle(String mozColumnRuleStyle)
Sets the "MozColumnRuleStyle" style attribute.

Parameters:
mozColumnRuleStyle - the new attribute

getMozColumnRuleWidth

public String getMozColumnRuleWidth()
Gets the "MozColumnRuleWidth" style attribute.

Returns:
the style attribute

setMozColumnRuleWidth

public void setMozColumnRuleWidth(String mozColumnRuleWidth)
Sets the "MozColumnRuleWidth" style attribute.

Parameters:
mozColumnRuleWidth - the new attribute

getMozColumnWidth

public String getMozColumnWidth()
Gets the "MozColumnWidth" style attribute.

Returns:
the style attribute

setMozColumnWidth

public void setMozColumnWidth(String mozColumnWidth)
Sets the "MozColumnWidth" style attribute.

Parameters:
mozColumnWidth - the new attribute

getMozFloatEdge

public String getMozFloatEdge()
Gets the "MozFloatEdge" style attribute.

Returns:
the style attribute

setMozFloatEdge

public void setMozFloatEdge(String mozFloatEdge)
Sets the "MozFloatEdge" style attribute.

Parameters:
mozFloatEdge - the new attribute

getMozForceBrokenImageIcon

public String getMozForceBrokenImageIcon()
Gets the "MozForceBrokenImageIcon" style attribute.

Returns:
the style attribute

setMozForceBrokenImageIcon

public void setMozForceBrokenImageIcon(String mozForceBrokenImageIcon)
Sets the "MozForceBrokenImageIcon" style attribute.

Parameters:
mozForceBrokenImageIcon - the new attribute

getMozImageRegion

public String getMozImageRegion()
Gets the "MozImageRegion" style attribute.

Returns:
the style attribute

setMozImageRegion

public void setMozImageRegion(String mozImageRegion)
Sets the "MozImageRegion" style attribute.

Parameters:
mozImageRegion - the new attribute

getMozMarginEnd

public String getMozMarginEnd()
Gets the "MozMarginEnd" style attribute.

Returns:
the style attribute

setMozMarginEnd

public void setMozMarginEnd(String mozMarginEnd)
Sets the "MozMarginEnd" style attribute.

Parameters:
mozMarginEnd - the new attribute

getMozMarginStart

public String getMozMarginStart()
Gets the "MozMarginStart" style attribute.

Returns:
the style attribute

setMozMarginStart

public void setMozMarginStart(String mozMarginStart)
Sets the "MozMarginStart" style attribute.

Parameters:
mozMarginStart - the new attribute

getMozOpacity

public String getMozOpacity()
Gets the "MozOpacity" style attribute.

Returns:
the style attribute

setMozOpacity

public void setMozOpacity(String mozOpacity)
Sets the "MozOpacity" style attribute.

Parameters:
mozOpacity - the new attribute

getMozOutline

public String getMozOutline()
Gets the "MozOutline" style attribute.

Returns:
the style attribute

setMozOutline

public void setMozOutline(String mozOutline)
Sets the "MozOutline" style attribute.

Parameters:
mozOutline - the new attribute

getMozOutlineColor

public String getMozOutlineColor()
Gets the "MozOutlineColor" style attribute.

Returns:
the style attribute

setMozOutlineColor

public void setMozOutlineColor(String mozOutlineColor)
Sets the "MozOutlineColor" style attribute.

Parameters:
mozOutlineColor - the new attribute

getMozOutlineOffset

public String getMozOutlineOffset()
Gets the "MozOutlineOffset" style attribute.

Returns:
the style attribute

setMozOutlineOffset

public void setMozOutlineOffset(String mozOutlineOffset)
Sets the "MozOutlineOffset" style attribute.

Parameters:
mozOutlineOffset - the new attribute

getMozOutlineRadius

public String getMozOutlineRadius()
Gets the "MozOutlineRadius" style attribute.

Returns:
the style attribute

setMozOutlineRadius

public void setMozOutlineRadius(String mozOutlineRadius)
Sets the "MozOutlineRadius" style attribute.

Parameters:
mozOutlineRadius - the new attribute

getMozOutlineRadiusBottomleft

public String getMozOutlineRadiusBottomleft()
Gets the "MozOutlineRadiusBottomleft" style attribute.

Returns:
the style attribute

setMozOutlineRadiusBottomleft

public void setMozOutlineRadiusBottomleft(String mozOutlineRadiusBottomleft)
Sets the "MozOutlineRadiusBottomleft" style attribute.

Parameters:
mozOutlineRadiusBottomleft - the new attribute

getMozOutlineRadiusBottomright

public String getMozOutlineRadiusBottomright()
Gets the "MozOutlineRadiusBottomright" style attribute.

Returns:
the style attribute

setMozOutlineRadiusBottomright

public void setMozOutlineRadiusBottomright(String mozOutlineRadiusBottomright)
Sets the "MozOutlineRadiusBottomright" style attribute.

Parameters:
mozOutlineRadiusBottomright - the new attribute

getMozOutlineRadiusTopleft

public String getMozOutlineRadiusTopleft()
Gets the "MozOutlineRadiusTopleft" style attribute.

Returns:
the style attribute

setMozOutlineRadiusTopleft

public void setMozOutlineRadiusTopleft(String mozOutlineRadiusTopleft)
Sets the "MozOutlineRadiusTopleft" style attribute.

Parameters:
mozOutlineRadiusTopleft - the new attribute

getMozOutlineRadiusTopright

public String getMozOutlineRadiusTopright()
Gets the "MozOutlineRadiusTopright" style attribute.

Returns:
the style attribute

setMozOutlineRadiusTopright

public void setMozOutlineRadiusTopright(String mozOutlineRadiusTopright)
Sets the "MozOutlineRadiusTopright" style attribute.

Parameters:
mozOutlineRadiusTopright - the new attribute

getMozOutlineStyle

public String getMozOutlineStyle()
Gets the "MozOutlineStyle" style attribute.

Returns:
the style attribute

setMozOutlineStyle

public void setMozOutlineStyle(String mozOutlineStyle)
Sets the "MozOutlineStyle" style attribute.

Parameters:
mozOutlineStyle - the new attribute

getMozOutlineWidth

public String getMozOutlineWidth()
Gets the "MozOutlineWidth" style attribute.

Returns:
the style attribute

setMozOutlineWidth

public void setMozOutlineWidth(String mozOutlineWidth)
Sets the "MozOutlineWidth" style attribute.

Parameters:
mozOutlineWidth - the new attribute

getMozPaddingEnd

public String getMozPaddingEnd()
Gets the "MozPaddingEnd" style attribute.

Returns:
the style attribute

setMozPaddingEnd

public void setMozPaddingEnd(String mozPaddingEnd)
Sets the "MozPaddingEnd" style attribute.

Parameters:
mozPaddingEnd - the new attribute

getMozPaddingStart

public String getMozPaddingStart()
Gets the "MozPaddingStart" style attribute.

Returns:
the style attribute

setMozPaddingStart

public void setMozPaddingStart(String mozPaddingStart)
Sets the "MozPaddingStart" style attribute.

Parameters:
mozPaddingStart - the new attribute

getMozStackSizing

public String getMozStackSizing()
Gets the "MozStackSizing" style attribute.

Returns:
the style attribute

setMozStackSizing

public void setMozStackSizing(String mozStackSizing)
Sets the "MozStackSizing" style attribute.

Parameters:
mozStackSizing - the new attribute

getMozTransform

public String getMozTransform()
Gets the "MozTransform" style attribute.

Returns:
the style attribute

setMozTransform

public void setMozTransform(String mozTransform)
Sets the "MozTransform" style attribute.

Parameters:
mozTransform - the new attribute

getMozTransformOrigin

public String getMozTransformOrigin()
Gets the "MozTransformOrigin" style attribute.

Returns:
the style attribute

setMozTransformOrigin

public void setMozTransformOrigin(String mozTransformOrigin)
Sets the "MozTransformOrigin" style attribute.

Parameters:
mozTransformOrigin - the new attribute

getMozUserFocus

public String getMozUserFocus()
Gets the "MozUserFocus" style attribute.

Returns:
the style attribute

setMozUserFocus

public void setMozUserFocus(String mozUserFocus)
Sets the "MozUserFocus" style attribute.

Parameters:
mozUserFocus - the new attribute

getMozUserInput

public String getMozUserInput()
Gets the "MozUserInput" style attribute.

Returns:
the style attribute

setMozUserInput

public void setMozUserInput(String mozUserInput)
Sets the "MozUserInput" style attribute.

Parameters:
mozUserInput - the new attribute

getMozUserModify

public String getMozUserModify()
Gets the "MozUserModify" style attribute.

Returns:
the style attribute

setMozUserModify

public void setMozUserModify(String mozUserModify)
Sets the "MozUserModify" style attribute.

Parameters:
mozUserModify - the new attribute

getMozUserSelect

public String getMozUserSelect()
Gets the "MozUserSelect" style attribute.

Returns:
the style attribute

setMozUserSelect

public void setMozUserSelect(String mozUserSelect)
Sets the "MozUserSelect" style attribute.

Parameters:
mozUserSelect - the new attribute

getMozWindowShadow

public String getMozWindowShadow()
Gets the "MozWindowShadow" style attribute.

Returns:
the style attribute

setMozWindowShadow

public void setMozWindowShadow(String mozWindowShadow)
Sets the "MozWindowShadow" style attribute.

Parameters:
mozWindowShadow - the new attribute

getMsBlockProgression

public String getMsBlockProgression()
Gets the "msBlockProgression" style attribute.

Returns:
the style attribute

setMsBlockProgression

public void setMsBlockProgression(String msBlockProgression)
Sets the "msBlockProgression" style attribute.

Parameters:
msBlockProgression - the new attribute

getMsInterpolationMode

public String getMsInterpolationMode()
Gets the "msInterpolationMode" style attribute.

Returns:
the style attribute

setMsInterpolationMode

public void setMsInterpolationMode(String msInterpolationMode)
Sets the "msInterpolationMode" style attribute.

Parameters:
msInterpolationMode - the new attribute

getOpacity

public String getOpacity()
Gets the "opacity" style attribute.

Returns:
the style attribute

setOpacity

public void setOpacity(String opacity)
Sets the "opacity" style attribute.

Parameters:
opacity - the new attribute

getOrphans

public String getOrphans()
Gets the "orphans" style attribute.

Returns:
the style attribute

setOrphans

public void setOrphans(String orphans)
Sets the "orphans" style attribute.

Parameters:
orphans - the new attribute

getOutline

public String getOutline()
Gets the "outline" style attribute.

Returns:
the style attribute

setOutline

public void setOutline(String outline)
Sets the "outline" style attribute.

Parameters:
outline - the new attribute

getOutlineColor

public String getOutlineColor()
Gets the "outlineColor" style attribute.

Returns:
the style attribute

setOutlineColor

public void setOutlineColor(String outlineColor)
Sets the "outlineColor" style attribute.

Parameters:
outlineColor - the new attribute

getOutlineOffset

public String getOutlineOffset()
Gets the "outlineOffset" style attribute.

Returns:
the style attribute

setOutlineOffset

public void setOutlineOffset(String outlineOffset)
Sets the "outlineOffset" style attribute.

Parameters:
outlineOffset - the new attribute

getOutlineStyle

public String getOutlineStyle()
Gets the "outlineStyle" style attribute.

Returns:
the style attribute

setOutlineStyle

public void setOutlineStyle(String outlineStyle)
Sets the "outlineStyle" style attribute.

Parameters:
outlineStyle - the new attribute

getOutlineWidth

public String getOutlineWidth()
Gets the "outlineWidth" style attribute.

Returns:
the style attribute

setOutlineWidth

public void setOutlineWidth(String outlineWidth)
Sets the "outlineWidth" style attribute.

Parameters:
outlineWidth - the new attribute

getOverflow

public String getOverflow()
Gets the "overflow" style attribute.

Returns:
the style attribute

setOverflow

public void setOverflow(String overflow)
Sets the "overflow" style attribute.

Parameters:
overflow - the new attribute

getOverflowX

public String getOverflowX()
Gets the "overflowX" style attribute.

Returns:
the style attribute

setOverflowX

public void setOverflowX(String overflowX)
Sets the "overflowX" style attribute.

Parameters:
overflowX - the new attribute

getOverflowY

public String getOverflowY()
Gets the "overflowY" style attribute.

Returns:
the style attribute

setOverflowY

public void setOverflowY(String overflowY)
Sets the "overflowY" style attribute.

Parameters:
overflowY - the new attribute

getPadding

public String getPadding()
Gets the "padding" style attribute.

Returns:
the style attribute

setPadding

public void setPadding(String padding)
Sets the "padding" style attribute.

Parameters:
padding - the new attribute

getPaddingBottom

public String getPaddingBottom()
Gets the "paddingBottom" style attribute.

Returns:
the style attribute

setPaddingBottom

public void setPaddingBottom(String paddingBottom)
Sets the "paddingBottom" style attribute.

Parameters:
paddingBottom - the new attribute

getPaddingLeft

public String getPaddingLeft()
Gets the "paddingLeft" style attribute.

Returns:
the style attribute

setPaddingLeft

public void setPaddingLeft(String paddingLeft)
Sets the "paddingLeft" style attribute.

Parameters:
paddingLeft - the new attribute

getPaddingRight

public String getPaddingRight()
Gets the "paddingRight" style attribute.

Returns:
the style attribute

setPaddingRight

public void setPaddingRight(String paddingRight)
Sets the "paddingRight" style attribute.

Parameters:
paddingRight - the new attribute

getPaddingTop

public String getPaddingTop()
Gets the "paddingTop" style attribute.

Returns:
the style attribute

setPaddingTop

public void setPaddingTop(String paddingTop)
Sets the "paddingTop" style attribute.

Parameters:
paddingTop - the new attribute

getPage

public String getPage()
Gets the "page" style attribute.

Returns:
the style attribute

setPage

public void setPage(String page)
Sets the "page" style attribute.

Parameters:
page - the new attribute

getPageBreakAfter

public String getPageBreakAfter()
Gets the "pageBreakAfter" style attribute.

Returns:
the style attribute

setPageBreakAfter

public void setPageBreakAfter(String pageBreakAfter)
Sets the "pageBreakAfter" style attribute.

Parameters:
pageBreakAfter - the new attribute

getPageBreakBefore

public String getPageBreakBefore()
Gets the "pageBreakBefore" style attribute.

Returns:
the style attribute

setPageBreakBefore

public void setPageBreakBefore(String pageBreakBefore)
Sets the "pageBreakBefore" style attribute.

Parameters:
pageBreakBefore - the new attribute

getPageBreakInside

public String getPageBreakInside()
Gets the "pageBreakInside" style attribute.

Returns:
the style attribute

setPageBreakInside

public void setPageBreakInside(String pageBreakInside)
Sets the "pageBreakInside" style attribute.

Parameters:
pageBreakInside - the new attribute

getPause

public String getPause()
Gets the "pause" style attribute.

Returns:
the style attribute

setPause

public void setPause(String pause)
Sets the "pause" style attribute.

Parameters:
pause - the new attribute

getPauseAfter

public String getPauseAfter()
Gets the "pauseAfter" style attribute.

Returns:
the style attribute

setPauseAfter

public void setPauseAfter(String pauseAfter)
Sets the "pauseAfter" style attribute.

Parameters:
pauseAfter - the new attribute

getPauseBefore

public String getPauseBefore()
Gets the "pauseBefore" style attribute.

Returns:
the style attribute

setPauseBefore

public void setPauseBefore(String pauseBefore)
Sets the "pauseBefore" style attribute.

Parameters:
pauseBefore - the new attribute

getPitch

public String getPitch()
Gets the "pitch" style attribute.

Returns:
the style attribute

setPitch

public void setPitch(String pitch)
Sets the "pitch" style attribute.

Parameters:
pitch - the new attribute

getPitchRange

public String getPitchRange()
Gets the "pitchRange" style attribute.

Returns:
the style attribute

setPitchRange

public void setPitchRange(String pitchRange)
Sets the "pitchRange" style attribute.

Parameters:
pitchRange - the new attribute

getPointerEvents

public String getPointerEvents()
Gets the "pointerEvents" style attribute.

Returns:
the style attribute

setPointerEvents

public void setPointerEvents(String pointerEvents)
Sets the "pointerEvents" style attribute.

Parameters:
pointerEvents - the new attribute

getPixelBottom

public int getPixelBottom()
Gets the "pixelBottom" style attribute.

Returns:
the style attribute

setPixelBottom

public void setPixelBottom(int pixelBottom)
Sets the "pixelBottom" style attribute.

Parameters:
pixelBottom - the new attribute

getPixelLeft

public int getPixelLeft()
Gets the "pixelLeft" style attribute.

Returns:
the style attribute

setPixelLeft

public void setPixelLeft(int pixelLeft)
Sets the "pixelLeft" style attribute.

Parameters:
pixelLeft - the new attribute

getPixelRight

public int getPixelRight()
Gets the "pixelRight" style attribute.

Returns:
the style attribute

setPixelRight

public void setPixelRight(int pixelRight)
Sets the "pixelRight" style attribute.

Parameters:
pixelRight - the new attribute

getPixelTop

public int getPixelTop()
Gets the "pixelTop" style attribute.

Returns:
the style attribute

setPixelTop

public void setPixelTop(int pixelTop)
Sets the "pixelTop" style attribute.

Parameters:
pixelTop - the new attribute

getPosBottom

public int getPosBottom()
Gets the "posBottom" style attribute.

Returns:
the style attribute

setPosBottom

public void setPosBottom(int posBottom)
Sets the "posBottom" style attribute.

Parameters:
posBottom - the new attribute

getPosHeight

public int getPosHeight()
Gets the "posHeight" style attribute.

Returns:
the style attribute

setPosHeight

public void setPosHeight(int posHeight)
Sets the "posHeight" style attribute.

Parameters:
posHeight - the new attribute

getPosition

public String getPosition()
Gets the "position" style attribute.

Returns:
the style attribute

setPosition

public void setPosition(String position)
Sets the "position" style attribute.

Parameters:
position - the new attribute

getPosLeft

public int getPosLeft()
Gets the "posLeft" style attribute.

Returns:
the style attribute

setPosLeft

public void setPosLeft(int posLeft)
Sets the "posLeft" style attribute.

Parameters:
posLeft - the new attribute

getPosRight

public int getPosRight()
Gets the "posRight" style attribute.

Returns:
the style attribute

setPosRight

public void setPosRight(int posRight)
Sets the "posRight" style attribute.

Parameters:
posRight - the new attribute

getPosTop

public int getPosTop()
Gets the "posTop" style attribute.

Returns:
the style attribute

setPosTop

public void setPosTop(int posTop)
Sets the "posTop" style attribute.

Parameters:
posTop - the new attribute

getPosWidth

public int getPosWidth()
Gets the "posWidth" style attribute.

Returns:
the style attribute

setPosWidth

public void setPosWidth(int posWidth)
Sets the "posWidth" style attribute.

Parameters:
posWidth - the new attribute

getQuotes

public String getQuotes()
Gets the "quotes" style attribute.

Returns:
the style attribute

setQuotes

public void setQuotes(String quotes)
Sets the "quotes" style attribute.

Parameters:
quotes - the new attribute

getRichness

public String getRichness()
Gets the "richness" style attribute.

Returns:
the style attribute

setRichness

public void setRichness(String richness)
Sets the "richness" style attribute.

Parameters:
richness - the new attribute

getRight

public String getRight()
Gets the "right" style attribute.

Returns:
the style attribute

setRight

public void setRight(String right)
Sets the "right" style attribute.

Parameters:
right - the new attribute

getRubyAlign

public String getRubyAlign()
Gets the "rubyAlign" style attribute.

Returns:
the style attribute

setRubyAlign

public void setRubyAlign(String rubyAlign)
Sets the "rubyAlign" style attribute.

Parameters:
rubyAlign - the new attribute

getRubyOverhang

public String getRubyOverhang()
Gets the "rubyOverhang" style attribute.

Returns:
the style attribute

setRubyOverhang

public void setRubyOverhang(String rubyOverhang)
Sets the "rubyOverhang" style attribute.

Parameters:
rubyOverhang - the new attribute

getRubyPosition

public String getRubyPosition()
Gets the "rubyPosition" style attribute.

Returns:
the style attribute

setRubyPosition

public void setRubyPosition(String rubyPosition)
Sets the "rubyPosition" style attribute.

Parameters:
rubyPosition - the new attribute

getScrollbar3dLightColor

public String getScrollbar3dLightColor()
Gets the "scrollbar3dLightColor" style attribute.

Returns:
the style attribute

setScrollbar3dLightColor

public void setScrollbar3dLightColor(String scrollbar3dLightColor)
Sets the "scrollbar3dLightColor" style attribute.

Parameters:
scrollbar3dLightColor - the new attribute

getScrollbarArrowColor

public String getScrollbarArrowColor()
Gets the "scrollbarArrowColor" style attribute.

Returns:
the style attribute

setScrollbarArrowColor

public void setScrollbarArrowColor(String scrollbarArrowColor)
Sets the "scrollbarArrowColor" style attribute.

Parameters:
scrollbarArrowColor - the new attribute

getScrollbarBaseColor

public String getScrollbarBaseColor()
Gets the "scrollbarBaseColor" style attribute.

Returns:
the style attribute

setScrollbarBaseColor

public void setScrollbarBaseColor(String scrollbarBaseColor)
Sets the "scrollbarBaseColor" style attribute.

Parameters:
scrollbarBaseColor - the new attribute

getScrollbarDarkShadowColor

public String getScrollbarDarkShadowColor()
Gets the "scrollbarDarkShadowColor" style attribute.

Returns:
the style attribute

setScrollbarDarkShadowColor

public void setScrollbarDarkShadowColor(String scrollbarDarkShadowColor)
Sets the "scrollbarDarkShadowColor" style attribute.

Parameters:
scrollbarDarkShadowColor - the new attribute

getScrollbarFaceColor

public String getScrollbarFaceColor()
Gets the "scrollbarFaceColor" style attribute.

Returns:
the style attribute

setScrollbarFaceColor

public void setScrollbarFaceColor(String scrollbarFaceColor)
Sets the "scrollbarFaceColor" style attribute.

Parameters:
scrollbarFaceColor - the new attribute

getScrollbarHighlightColor

public String getScrollbarHighlightColor()
Gets the "scrollbarHighlightColor" style attribute.

Returns:
the style attribute

setScrollbarHighlightColor

public void setScrollbarHighlightColor(String scrollbarHighlightColor)
Sets the "scrollbarHighlightColor" style attribute.

Parameters:
scrollbarHighlightColor - the new attribute

getScrollbarShadowColor

public String getScrollbarShadowColor()
Gets the "scrollbarShadowColor" style attribute.

Returns:
the style attribute

setScrollbarShadowColor

public void setScrollbarShadowColor(String scrollbarShadowColor)
Sets the "scrollbarShadowColor" style attribute.

Parameters:
scrollbarShadowColor - the new attribute

getScrollbarTrackColor

public String getScrollbarTrackColor()
Gets the "scrollbarTrackColor" style attribute.

Returns:
the style attribute

setScrollbarTrackColor

public void setScrollbarTrackColor(String scrollbarTrackColor)
Sets the "scrollbarTrackColor" style attribute.

Parameters:
scrollbarTrackColor - the new attribute

getSize

public String getSize()
Gets the "size" style attribute.

Returns:
the style attribute

setSize

public void setSize(String size)
Sets the "size" style attribute.

Parameters:
size - the new attribute

getSpeak

public String getSpeak()
Gets the "speak" style attribute.

Returns:
the style attribute

setSpeak

public void setSpeak(String speak)
Sets the "speak" style attribute.

Parameters:
speak - the new attribute

getSpeakHeader

public String getSpeakHeader()
Gets the "speakHeader" style attribute.

Returns:
the style attribute

setSpeakHeader

public void setSpeakHeader(String speakHeader)
Sets the "speakHeader" style attribute.

Parameters:
speakHeader - the new attribute

getSpeakNumeral

public String getSpeakNumeral()
Gets the "speakNumeral" style attribute.

Returns:
the style attribute

setSpeakNumeral

public void setSpeakNumeral(String speakNumeral)
Sets the "speakNumeral" style attribute.

Parameters:
speakNumeral - the new attribute

getSpeakPunctuation

public String getSpeakPunctuation()
Gets the "speakPunctuation" style attribute.

Returns:
the style attribute

setSpeakPunctuation

public void setSpeakPunctuation(String speakPunctuation)
Sets the "speakPunctuation" style attribute.

Parameters:
speakPunctuation - the new attribute

getSpeechRate

public String getSpeechRate()
Gets the "speechRate" style attribute.

Returns:
the style attribute

setSpeechRate

public void setSpeechRate(String speechRate)
Sets the "speechRate" style attribute.

Parameters:
speechRate - the new attribute

getStress

public String getStress()
Gets the "stress" style attribute.

Returns:
the style attribute

setStress

public void setStress(String stress)
Sets the "stress" style attribute.

Parameters:
stress - the new attribute

getStyleFloat

public String getStyleFloat()
Gets the "styleFloat" style attribute.

Returns:
the style attribute

setStyleFloat

public void setStyleFloat(String value)
Sets the "styleFloat" style attribute.

Parameters:
value - the new attribute

getTableLayout

public String getTableLayout()
Gets the "tableLayout" style attribute.

Returns:
the style attribute

setTableLayout

public void setTableLayout(String tableLayout)
Sets the "tableLayout" style attribute.

Parameters:
tableLayout - the new attribute

getTextAlign

public String getTextAlign()
Gets the "textAlign" style attribute.

Returns:
the style attribute

setTextAlign

public void setTextAlign(String textAlign)
Sets the "textAlign" style attribute.

Parameters:
textAlign - the new attribute

getTextAlignLast

public String getTextAlignLast()
Gets the "textAlignLast" style attribute.

Returns:
the style attribute

setTextAlignLast

public void setTextAlignLast(String textAlignLast)
Sets the "textAlignLast" style attribute.

Parameters:
textAlignLast - the new attribute

getTextAutospace

public String getTextAutospace()
Gets the "textAutospace" style attribute.

Returns:
the style attribute

setTextAutospace

public void setTextAutospace(String textAutospace)
Sets the "textAutospace" style attribute.

Parameters:
textAutospace - the new attribute

getTextDecoration

public String getTextDecoration()
Gets the "textDecoration" style attribute.

Returns:
the style attribute

setTextDecoration

public void setTextDecoration(String textDecoration)
Sets the "textDecoration" style attribute.

Parameters:
textDecoration - the new attribute

getTextDecorationBlink

public boolean getTextDecorationBlink()
Gets the "textDecorationBlink" style attribute.

Returns:
the style attribute

setTextDecorationBlink

public void setTextDecorationBlink(boolean textDecorationBlink)
Sets the "textDecorationBlink" style attribute.

Parameters:
textDecorationBlink - the new attribute

getTextDecorationLineThrough

public boolean getTextDecorationLineThrough()
Gets the "textDecorationLineThrough" style attribute.

Returns:
the style attribute

setTextDecorationLineThrough

public void setTextDecorationLineThrough(boolean textDecorationLineThrough)
Sets the "textDecorationLineThrough" style attribute.

Parameters:
textDecorationLineThrough - the new attribute

getTextDecorationNone

public boolean getTextDecorationNone()
Gets the "textDecorationNone" style attribute.

Returns:
the style attribute

setTextDecorationNone

public void setTextDecorationNone(boolean textDecorationNone)
Sets the "textDecorationNone" style attribute.

Parameters:
textDecorationNone - the new attribute

getTextDecorationOverline

public boolean getTextDecorationOverline()
Gets the "textDecorationOverline" style attribute.

Returns:
the style attribute

setTextDecorationOverline

public void setTextDecorationOverline(boolean textDecorationOverline)
Sets the "textDecorationOverline" style attribute.

Parameters:
textDecorationOverline - the new attribute

getTextDecorationUnderline

public boolean getTextDecorationUnderline()
Gets the "textDecorationUnderline" style attribute.

Returns:
the style attribute

setTextDecorationUnderline

public void setTextDecorationUnderline(boolean textDecorationUnderline)
Sets the "textDecorationUnderline" style attribute.

Parameters:
textDecorationUnderline - the new attribute

getTextIndent

public String getTextIndent()
Gets the "textIndent" style attribute.

Returns:
the style attribute

setTextIndent

public void setTextIndent(String textIndent)
Sets the "textIndent" style attribute.

Parameters:
textIndent - the new attribute

getTextJustify

public String getTextJustify()
Gets the "textJustify" style attribute.

Returns:
the style attribute

setTextJustify

public void setTextJustify(String textJustify)
Sets the "textJustify" style attribute.

Parameters:
textJustify - the new attribute

getTextJustifyTrim

public String getTextJustifyTrim()
Gets the "textJustifyTrim" style attribute.

Returns:
the style attribute

setTextJustifyTrim

public void setTextJustifyTrim(String textJustifyTrim)
Sets the "textJustifyTrim" style attribute.

Parameters:
textJustifyTrim - the new attribute

getTextKashida

public String getTextKashida()
Gets the "textKashida" style attribute.

Returns:
the style attribute

setTextKashida

public void setTextKashida(String textKashida)
Sets the "textKashida" style attribute.

Parameters:
textKashida - the new attribute

getTextKashidaSpace

public String getTextKashidaSpace()
Gets the "textKashidaSpace" style attribute.

Returns:
the style attribute

setTextKashidaSpace

public void setTextKashidaSpace(String textKashidaSpace)
Sets the "textKashidaSpace" style attribute.

Parameters:
textKashidaSpace - the new attribute

getTextOverflow

public String getTextOverflow()
Gets the "textOverflow" style attribute.

Returns:
the style attribute

setTextOverflow

public void setTextOverflow(String textOverflow)
Sets the "textOverflow" style attribute.

Parameters:
textOverflow - the new attribute

getTextShadow

public String getTextShadow()
Gets the "textShadow" style attribute.

Returns:
the style attribute

setTextShadow

public void setTextShadow(String textShadow)
Sets the "textShadow" style attribute.

Parameters:
textShadow - the new attribute

getTextTransform

public String getTextTransform()
Gets the "textTransform" style attribute.

Returns:
the style attribute

setTextTransform

public void setTextTransform(String textTransform)
Sets the "textTransform" style attribute.

Parameters:
textTransform - the new attribute

getTextUnderlinePosition

public String getTextUnderlinePosition()
Gets the "textUnderlinePosition" style attribute.

Returns:
the style attribute

setTextUnderlinePosition

public void setTextUnderlinePosition(String textUnderlinePosition)
Sets the "textUnderlinePosition" style attribute.

Parameters:
textUnderlinePosition - the new attribute

getTop

public String getTop()
Gets the "top" style attribute.

Returns:
the style attribute

setTop

public void setTop(String top)
Sets the "top" style attribute.

Parameters:
top - the new attribute

getUnicodeBidi

public String getUnicodeBidi()
Gets the "unicodeBidi" style attribute.

Returns:
the style attribute

setUnicodeBidi

public void setUnicodeBidi(String unicodeBidi)
Sets the "unicodeBidi" style attribute.

Parameters:
unicodeBidi - the new attribute

getVerticalAlign

public String getVerticalAlign()
Gets the "verticalAlign" style attribute.

Returns:
the style attribute

setVerticalAlign

public void setVerticalAlign(String verticalAlign)
Sets the "verticalAlign" style attribute.

Parameters:
verticalAlign - the new attribute

getVisibility

public String getVisibility()
Gets the "visibility" style attribute.

Returns:
the style attribute

setVisibility

public void setVisibility(String visibility)
Sets the "visibility" style attribute.

Parameters:
visibility - the new attribute

getVoiceFamily

public String getVoiceFamily()
Gets the "voiceFamily" style attribute.

Returns:
the style attribute

setVoiceFamily

public void setVoiceFamily(String voiceFamily)
Sets the "voiceFamily" style attribute.

Parameters:
voiceFamily - the new attribute

getVolume

public String getVolume()
Gets the "volume" style attribute.

Returns:
the style attribute

setVolume

public void setVolume(String volume)
Sets the "volume" style attribute.

Parameters:
volume - the new attribute

getWhiteSpace

public String getWhiteSpace()
Gets the "whiteSpace" style attribute.

Returns:
the style attribute

setWhiteSpace

public void setWhiteSpace(String whiteSpace)
Sets the "whiteSpace" style attribute.

Parameters:
whiteSpace - the new attribute

getWidows

public String getWidows()
Gets the "widows" style attribute.

Returns:
the style attribute

setWidows

public void setWidows(String widows)
Sets the "widows" style attribute.

Parameters:
widows - the new attribute

getWidth

public String getWidth()
Gets the "width" style attribute.

Returns:
the style attribute

setWidth

public void setWidth(String width)
Sets the "width" style attribute.

Parameters:
width - the new attribute

getWordBreak

public String getWordBreak()
Gets the "wordBreak" style attribute.

Returns:
the style attribute

setWordBreak

public void setWordBreak(String wordBreak)
Sets the "wordBreak" style attribute.

Parameters:
wordBreak - the new attribute

getWordSpacing

public String getWordSpacing()
Gets the "wordSpacing" style attribute.

Returns:
the style attribute

setWordSpacing

public void setWordSpacing(String wordSpacing)
Sets the "wordSpacing" style attribute.

Parameters:
wordSpacing - the new attribute

getWordWrap

public String getWordWrap()
Gets the "wordWrap" style attribute.

Returns:
the style attribute

setWordWrap

public void setWordWrap(String wordWrap)
Sets the "wordWrap" style attribute.

Parameters:
wordWrap - the new attribute

getWritingMode

public String getWritingMode()
Gets the "writingMode" style attribute.

Returns:
the style attribute

setWritingMode

public void setWritingMode(String writingMode)
Sets the "writingMode" style attribute.

Parameters:
writingMode - the new attribute

getZIndex

public Object getZIndex()
Gets the "zIndex" style attribute.

Returns:
the style attribute

setZIndex

public void setZIndex(Object zIndex)
Sets the "zIndex" style attribute.

Parameters:
zIndex - the new attribute

getZoom

public String getZoom()
Gets the "zoom" style attribute.

Returns:
the style attribute

setZoom

public void setZoom(String zoom)
Sets the "zoom" style attribute.

Parameters:
zoom - the new attribute

getPropertyValue

public String getPropertyValue(String name)
Gets the value of the specified property of the style.

Parameters:
name - the style property name
Returns:
empty string if nothing found

getPropertyCSSValue

public CSSValue getPropertyCSSValue(String name)
Gets the CSS property value.

Parameters:
name - the name of the property to retrieve
Returns:
the value

removeProperty

public String removeProperty(String name)
Removes the named property.

Parameters:
name - the name of the property to remove
Returns:
the value deleted

setExpression

public void setExpression(String propertyName,
                          String expression,
                          String language)
Sets an expression for the specified Style.

Parameters:
propertyName - Specifies the name of the property to which expression is added
expression - specifies any valid script statement without quotations or semicolons; this string can include references to other properties on the current page. Array references are not allowed on object properties included in this script.
language - specified the language used

removeExpression

public boolean removeExpression(String propertyName)
Removes the expression from the specified property.

Parameters:
propertyName - the name of the property from which to remove an expression
Returns:
true if the expression was successfully removed

getAttribute

public Object getAttribute(String name,
                           int flag)
Returns the value of the specified attribute, or an empty string if it does not exist. This method exists only in IE.

Parameters:
name - the name of the attribute
flag - 0 for case insensitive, 1 (default) for case sensitive
Returns:
the value of the specified attribute
See Also:
MSDN Documentation

setAttribute

public void setAttribute(String name,
                         String value,
                         Object flag)
Sets the value of the specified attribute. This method exists only in IE.

Parameters:
name - the name of the attribute
value - the value to assign to the attribute
flag - 0 for case insensitive, 1 (default) for case sensitive
See Also:
MSDN Documentation

removeAttribute

public boolean removeAttribute(String name,
                               Object flag)
Removes the specified attribute. This method exists only in IE.

Parameters:
name - the name of the attribute
flag - 0 for case insensitive, 1 (default) for case sensitive
Returns:
true if the attribute was successfully removed, false otherwise
See Also:
MSDN Documentation

toRGBColor

public static String toRGBColor(String color)
Gets the RGB equivalent of a CSS color if the provided color is recognized.

Parameters:
color - the color
Returns:
the provided color if this is not a recognized color keyword, the RGB value in the form "rgb(x, y, z)" otherwise

pixelValue

protected static int pixelValue(HTMLElement element,
                                CSSStyleDeclaration.CssValue value)
Converts the specified length CSS attribute value into an integer number of pixels. If the specified CSS attribute value is a percentage, this method uses the specified value object to recursively retrieve the base (parent) CSS attribute value.

Parameters:
element - the element for which the CSS attribute value is to be retrieved
value - the CSS attribute value which is to be retrieved
Returns:
the integer number of pixels corresponding to the specified length CSS attribute value
See Also:
pixelValue(String)

pixelValue

protected static int pixelValue(String value)
Converts the specified length string value into an integer number of pixels. This method does NOT handle percentages correctly; use pixelValue(HTMLElement, CssValue) if you need percentage support).

Parameters:
value - the length string value to convert to an integer number of pixels
Returns:
the integer number of pixels corresponding to the specified length string value
See Also:
CSS Units, pixelValue(HTMLElement, CssValue)

toString

public String toString()

Overrides:
toString in class Object

setStyleAttributePixel

protected void setStyleAttributePixel(String name,
                                      String value)
Sets the style attribute which should be treated as an integer in pixels.

Parameters:
name - the attribute name
value - the attribute value


Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.