|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.htmlunit.corejs.javascript.ScriptableObject
com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleDeclaration
public class CSSStyleDeclaration
A JavaScript object for a CSSStyleDeclaration.
| 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 |
|---|
protected static final String PRIORITY_IMPORTANT
protected static final String WIDTH
| Constructor Detail |
|---|
public CSSStyleDeclaration()
public CSSStyleDeclaration(Element element)
element - the element to which this style is bound| Method Detail |
|---|
public Object getWithFallback(String name)
getWithFallback in interface ScriptableWithFallbackGettername - the name of the requested property
Scriptable.NOT_FOUND if nothing is foundprotected HTMLElement getElement()
protected String getStyleAttribute(String name,
Map<String,CSSStyleDeclaration.StyleElement> styleMap)
name - the name of the style attribute whose value is to be retrievedstyleMap - if the style map was calculated before, you can provide it here
for performance
protected void setStyleAttribute(String name,
String newValue)
name - the attribute name (camel-cased)newValue - the attribute valueprotected Map<String,CSSStyleDeclaration.StyleElement> getStyleMap()
LinkedHashMap map so that results are deterministic and are thus testable.
protected long getCurrentElementIndex()
protected static String camelize(String string)
string - the string to camelize
public String getAzimuth()
public void setAzimuth(String azimuth)
azimuth - the new attributepublic String getBackground()
public void setBackground(String background)
background - the new attributepublic String getBackgroundAttachment()
public void setBackgroundAttachment(String backgroundAttachment)
backgroundAttachment - the new attributepublic String getBackgroundColor()
public void setBackgroundColor(String backgroundColor)
backgroundColor - the new attributepublic String getBackgroundImage()
public void setBackgroundImage(String backgroundImage)
backgroundImage - the new attributepublic String getBackgroundPosition()
public void setBackgroundPosition(String backgroundPosition)
backgroundPosition - the new attributepublic String getBackgroundPositionX()
public void setBackgroundPositionX(String backgroundPositionX)
backgroundPositionX - the new attributepublic String getBackgroundPositionY()
public void setBackgroundPositionY(String backgroundPositionY)
backgroundPositionY - the new attributepublic String getBackgroundRepeat()
public void setBackgroundRepeat(String backgroundRepeat)
backgroundRepeat - the new attributepublic String getBehavior()
public void setBehavior(String behavior)
behavior - the new behaviorpublic String getBorder()
public void setBorder(String border)
border - the new attributepublic String getBorderBottom()
public void setBorderBottom(String borderBottom)
borderBottom - the new attributepublic String getBorderBottomColor()
public void setBorderBottomColor(String borderBottomColor)
borderBottomColor - the new attributepublic String getBorderBottomStyle()
public void setBorderBottomStyle(String borderBottomStyle)
borderBottomStyle - the new attributepublic String getBorderBottomWidth()
public void setBorderBottomWidth(String borderBottomWidth)
borderBottomWidth - the new attributepublic String getBorderCollapse()
public void setBorderCollapse(String borderCollapse)
borderCollapse - the new attributepublic String getBorderColor()
public void setBorderColor(String borderColor)
borderColor - the new attributepublic String getBorderLeft()
public void setBorderLeft(String borderLeft)
borderLeft - the new attributepublic String getBorderLeftColor()
public void setBorderLeftColor(String borderLeftColor)
borderLeftColor - the new attributepublic String getBorderLeftStyle()
public void setBorderLeftStyle(String borderLeftStyle)
borderLeftStyle - the new attributepublic String getBorderLeftWidth()
public void setBorderLeftWidth(String borderLeftWidth)
borderLeftWidth - the new attributepublic String getBorderRight()
public void setBorderRight(String borderRight)
borderRight - the new attributepublic String getBorderRightColor()
public void setBorderRightColor(String borderRightColor)
borderRightColor - the new attributepublic String getBorderRightStyle()
public void setBorderRightStyle(String borderRightStyle)
borderRightStyle - the new attributepublic String getBorderRightWidth()
public void setBorderRightWidth(String borderRightWidth)
borderRightWidth - the new attributepublic String getBorderSpacing()
public void setBorderSpacing(String borderSpacing)
borderSpacing - the new attributepublic String getBorderStyle()
public void setBorderStyle(String borderStyle)
borderStyle - the new attributepublic String getBorderTop()
public void setBorderTop(String borderTop)
borderTop - the new attributepublic String getBorderTopColor()
public void setBorderTopColor(String borderTopColor)
borderTopColor - the new attributepublic String getBorderTopStyle()
public void setBorderTopStyle(String borderTopStyle)
borderTopStyle - the new attributepublic String getBorderTopWidth()
public void setBorderTopWidth(String borderTopWidth)
borderTopWidth - the new attributepublic String getBorderWidth()
public void setBorderWidth(String borderWidth)
borderWidth - the new attributepublic String getBottom()
public void setBottom(String bottom)
bottom - the new attributepublic String getBoxSizing()
public void setBoxSizing(String boxSizing)
boxSizing - the new attributepublic String getCaptionSide()
public void setCaptionSide(String captionSide)
captionSide - the new attributepublic String getClear()
public void setClear(String clear)
clear - the new attributepublic String getClip()
public void setClip(String clip)
clip - the new attributepublic String getColor()
public void setColor(String color)
color - the new attributepublic String getContent()
public void setContent(String content)
content - the new attributepublic String getCounterIncrement()
public void setCounterIncrement(String counterIncrement)
counterIncrement - the new attributepublic String getCounterReset()
public void setCounterReset(String counterReset)
counterReset - the new attributepublic String getCssFloat()
public void setCssFloat(String value)
value - the new attributepublic String getCssText()
public void setCssText(String value)
value - the new textpublic String getCue()
public void setCue(String cue)
cue - the new attributepublic String getCueAfter()
public void setCueAfter(String cueAfter)
cueAfter - the new attributepublic String getCueBefore()
public void setCueBefore(String cueBefore)
cueBefore - the new attributepublic String getCursor()
public void setCursor(String cursor)
cursor - the new attributepublic String getDirection()
public void setDirection(String direction)
direction - the new attributepublic String getDisplay()
public void setDisplay(String display)
display - the new attributepublic String getElevation()
public void setElevation(String elevation)
elevation - the new attributepublic String getEmptyCells()
public void setEmptyCells(String emptyCells)
emptyCells - the new attributepublic String getFilter()
public void setFilter(String filter)
filter - the new filterpublic String getFont()
public void setFont(String font)
font - the new attributepublic String getFontFamily()
public void setFontFamily(String fontFamily)
fontFamily - the new attributepublic String getFontSize()
public void setFontSize(String fontSize)
fontSize - the new attributepublic String getFontSizeAdjust()
public void setFontSizeAdjust(String fontSizeAdjust)
fontSizeAdjust - the new attributepublic String getFontStretch()
public void setFontStretch(String fontStretch)
fontStretch - the new attributepublic String getFontStyle()
public void setFontStyle(String fontStyle)
fontStyle - the new attributepublic String getFontVariant()
public void setFontVariant(String fontVariant)
fontVariant - the new attributepublic String getFontWeight()
public void setFontWeight(String fontWeight)
fontWeight - the new attributepublic String getHeight()
public void setHeight(String height)
height - the new attributepublic String getImeMode()
public void setImeMode(String imeMode)
imeMode - the new attributepublic String getLayoutFlow()
public void setLayoutFlow(String layoutFlow)
layoutFlow - the new attributepublic String getLayoutGrid()
public void setLayoutGrid(String layoutGrid)
layoutGrid - the new attributepublic String getLayoutGridChar()
public void setLayoutGridChar(String layoutGridChar)
layoutGridChar - the new attributepublic String getLayoutGridLine()
public void setLayoutGridLine(String layoutGridLine)
layoutGridLine - the new attributepublic String getLayoutGridMode()
public void setLayoutGridMode(String layoutGridMode)
layoutGridMode - the new attributepublic String getLayoutGridType()
public void setLayoutGridType(String layoutGridType)
layoutGridType - the new attributepublic String getLeft()
public void setLeft(String left)
left - the new attributepublic int getLength()
public String getLetterSpacing()
public void setLetterSpacing(String letterSpacing)
letterSpacing - the new attributepublic String getLineBreak()
public void setLineBreak(String lineBreak)
lineBreak - the new attributepublic String getLineHeight()
public void setLineHeight(String lineHeight)
lineHeight - the new attributepublic String getListStyle()
public void setListStyle(String listStyle)
listStyle - the new attributepublic String getListStyleImage()
public void setListStyleImage(String listStyleImage)
listStyleImage - the new attributepublic String getListStylePosition()
public void setListStylePosition(String listStylePosition)
listStylePosition - the new attributepublic String getListStyleType()
public void setListStyleType(String listStyleType)
listStyleType - the new attributepublic String getMargin()
public void setMargin(String margin)
margin - the new attributepublic String getMarginBottom()
public void setMarginBottom(String marginBottom)
marginBottom - the new attributepublic String getMarginLeft()
public void setMarginLeft(String marginLeft)
marginLeft - the new attributepublic String getMarginRight()
public void setMarginRight(String marginRight)
marginRight - the new attributepublic String getMarginTop()
public void setMarginTop(String marginTop)
marginTop - the new attributepublic String getMarkerOffset()
public void setMarkerOffset(String markerOffset)
markerOffset - the new attributepublic String getMarks()
public void setMarks(String marks)
marks - the new attributepublic String getMaxHeight()
public void setMaxHeight(String maxHeight)
maxHeight - the new attributepublic String getMaxWidth()
public void setMaxWidth(String maxWidth)
maxWidth - the new attributepublic String getMinHeight()
public void setMinHeight(String minHeight)
minHeight - the new attributepublic String getMinWidth()
public void setMinWidth(String minWidth)
minWidth - the new attributepublic String getMozAppearance()
public void setMozAppearance(String mozAppearance)
mozAppearance - the new attributepublic String getMozBackgroundClip()
public void setMozBackgroundClip(String mozBackgroundClip)
mozBackgroundClip - the new attributepublic String getMozBackgroundInlinePolicy()
public void setMozBackgroundInlinePolicy(String mozBackgroundInlinePolicy)
mozBackgroundInlinePolicy - the new attributepublic String getMozBackgroundOrigin()
public void setMozBackgroundOrigin(String mozBackgroundOrigin)
mozBackgroundOrigin - the new attributepublic String getMozBackgroundSize()
public void setMozBackgroundSize(String mozBackgroundSize)
mozBackgroundSize - the new attributepublic String getMozBinding()
public void setMozBinding(String mozBinding)
mozBinding - the new attributepublic String getMozBorderBottomColors()
public void setMozBorderBottomColors(String mozBorderBottomColors)
mozBorderBottomColors - the new attributepublic String getMozBorderEnd()
public void setMozBorderEnd(String mozBorderEnd)
mozBorderEnd - the new attributepublic String getMozBorderEndColor()
public void setMozBorderEndColor(String mozBorderEndColor)
mozBorderEndColor - the new attributepublic String getMozBorderEndStyle()
public void setMozBorderEndStyle(String mozBorderEndStyle)
mozBorderEndStyle - the new attributepublic String getMozBorderEndWidth()
public void setMozBorderEndWidth(String mozBorderEndWidth)
mozBorderEndWidth - the new attributepublic String getMozBorderImage()
public void setMozBorderImage(String mozBorderImage)
mozBorderImage - the new attributepublic String getMozBorderLeftColors()
public void setMozBorderLeftColors(String mozBorderLeftColors)
mozBorderLeftColors - the new attributepublic String getMozBorderRadius()
public void setMozBorderRadius(String mozBorderRadius)
mozBorderRadius - the new attributepublic String getMozBorderRadiusBottomleft()
public void setMozBorderRadiusBottomleft(String mozBorderRadiusBottomleft)
mozBorderRadiusBottomleft - the new attributepublic String getMozBorderRadiusBottomright()
public void setMozBorderRadiusBottomright(String mozBorderRadiusBottomright)
mozBorderRadiusBottomright - the new attributepublic String getMozBorderRadiusTopleft()
public void setMozBorderRadiusTopleft(String mozBorderRadiusTopleft)
mozBorderRadiusTopleft - the new attributepublic String getMozBorderRadiusTopright()
public void setMozBorderRadiusTopright(String mozBorderRadiusTopright)
mozBorderRadiusTopright - the new attributepublic String getMozBorderRightColors()
public void setMozBorderRightColors(String mozBorderRightColors)
mozBorderRightColors - the new attributepublic String getMozBorderStart()
public void setMozBorderStart(String mozBorderStart)
mozBorderStart - the new attributepublic String getMozBorderStartColor()
public void setMozBorderStartColor(String mozBorderStartColor)
mozBorderStartColor - the new attributepublic String getMozBorderStartStyle()
public void setMozBorderStartStyle(String mozBorderStartStyle)
mozBorderStartStyle - the new attributepublic String getMozBorderStartWidth()
public void setMozBorderStartWidth(String mozBorderStartWidth)
mozBorderStartWidth - the new attributepublic String getMozBorderTopColors()
public void setMozBorderTopColors(String mozBorderTopColors)
mozBorderTopColors - the new attributepublic String getMozBoxAlign()
public void setMozBoxAlign(String mozBoxAlign)
mozBoxAlign - the new attributepublic String getMozBoxDirection()
public void setMozBoxDirection(String mozBoxDirection)
mozBoxDirection - the new attributepublic String getMozBoxFlex()
public void setMozBoxFlex(String mozBoxFlex)
mozBoxFlex - the new attributepublic String getMozBoxOrdinalGroup()
public void setMozBoxOrdinalGroup(String mozBoxOrdinalGroup)
mozBoxOrdinalGroup - the new attributepublic String getMozBoxOrient()
public void setMozBoxOrient(String mozBoxOrient)
mozBoxOrient - the new attributepublic String getMozBoxPack()
public void setMozBoxPack(String mozBoxPack)
mozBoxPack - the new attributepublic String getMozBoxShadow()
public void setMozBoxShadow(String mozBoxShadow)
mozBoxShadow - the new attributepublic String getMozBoxSizing()
public void setMozBoxSizing(String mozBoxSizing)
mozBoxSizing - the new attributepublic String getMozColumnCount()
public void setMozColumnCount(String mozColumnCount)
mozColumnCount - the new attributepublic String getMozColumnGap()
public void setMozColumnGap(String mozColumnGap)
mozColumnGap - the new attributepublic String getMozColumnRule()
public void setMozColumnRule(String mozColumnRule)
mozColumnRule - the new attributepublic String getMozColumnRuleColor()
public void setMozColumnRuleColor(String mozColumnRuleColor)
mozColumnRuleColor - the new attributepublic String getMozColumnRuleStyle()
public void setMozColumnRuleStyle(String mozColumnRuleStyle)
mozColumnRuleStyle - the new attributepublic String getMozColumnRuleWidth()
public void setMozColumnRuleWidth(String mozColumnRuleWidth)
mozColumnRuleWidth - the new attributepublic String getMozColumnWidth()
public void setMozColumnWidth(String mozColumnWidth)
mozColumnWidth - the new attributepublic String getMozFloatEdge()
public void setMozFloatEdge(String mozFloatEdge)
mozFloatEdge - the new attributepublic String getMozForceBrokenImageIcon()
public void setMozForceBrokenImageIcon(String mozForceBrokenImageIcon)
mozForceBrokenImageIcon - the new attributepublic String getMozImageRegion()
public void setMozImageRegion(String mozImageRegion)
mozImageRegion - the new attributepublic String getMozMarginEnd()
public void setMozMarginEnd(String mozMarginEnd)
mozMarginEnd - the new attributepublic String getMozMarginStart()
public void setMozMarginStart(String mozMarginStart)
mozMarginStart - the new attributepublic String getMozOpacity()
public void setMozOpacity(String mozOpacity)
mozOpacity - the new attributepublic String getMozOutline()
public void setMozOutline(String mozOutline)
mozOutline - the new attributepublic String getMozOutlineColor()
public void setMozOutlineColor(String mozOutlineColor)
mozOutlineColor - the new attributepublic String getMozOutlineOffset()
public void setMozOutlineOffset(String mozOutlineOffset)
mozOutlineOffset - the new attributepublic String getMozOutlineRadius()
public void setMozOutlineRadius(String mozOutlineRadius)
mozOutlineRadius - the new attributepublic String getMozOutlineRadiusBottomleft()
public void setMozOutlineRadiusBottomleft(String mozOutlineRadiusBottomleft)
mozOutlineRadiusBottomleft - the new attributepublic String getMozOutlineRadiusBottomright()
public void setMozOutlineRadiusBottomright(String mozOutlineRadiusBottomright)
mozOutlineRadiusBottomright - the new attributepublic String getMozOutlineRadiusTopleft()
public void setMozOutlineRadiusTopleft(String mozOutlineRadiusTopleft)
mozOutlineRadiusTopleft - the new attributepublic String getMozOutlineRadiusTopright()
public void setMozOutlineRadiusTopright(String mozOutlineRadiusTopright)
mozOutlineRadiusTopright - the new attributepublic String getMozOutlineStyle()
public void setMozOutlineStyle(String mozOutlineStyle)
mozOutlineStyle - the new attributepublic String getMozOutlineWidth()
public void setMozOutlineWidth(String mozOutlineWidth)
mozOutlineWidth - the new attributepublic String getMozPaddingEnd()
public void setMozPaddingEnd(String mozPaddingEnd)
mozPaddingEnd - the new attributepublic String getMozPaddingStart()
public void setMozPaddingStart(String mozPaddingStart)
mozPaddingStart - the new attributepublic String getMozStackSizing()
public void setMozStackSizing(String mozStackSizing)
mozStackSizing - the new attributepublic String getMozTransform()
public void setMozTransform(String mozTransform)
mozTransform - the new attributepublic String getMozTransformOrigin()
public void setMozTransformOrigin(String mozTransformOrigin)
mozTransformOrigin - the new attributepublic String getMozUserFocus()
public void setMozUserFocus(String mozUserFocus)
mozUserFocus - the new attributepublic String getMozUserInput()
public void setMozUserInput(String mozUserInput)
mozUserInput - the new attributepublic String getMozUserModify()
public void setMozUserModify(String mozUserModify)
mozUserModify - the new attributepublic String getMozUserSelect()
public void setMozUserSelect(String mozUserSelect)
mozUserSelect - the new attributepublic String getMozWindowShadow()
public void setMozWindowShadow(String mozWindowShadow)
mozWindowShadow - the new attributepublic String getMsBlockProgression()
public void setMsBlockProgression(String msBlockProgression)
msBlockProgression - the new attributepublic String getMsInterpolationMode()
public void setMsInterpolationMode(String msInterpolationMode)
msInterpolationMode - the new attributepublic String getOpacity()
public void setOpacity(String opacity)
opacity - the new attributepublic String getOrphans()
public void setOrphans(String orphans)
orphans - the new attributepublic String getOutline()
public void setOutline(String outline)
outline - the new attributepublic String getOutlineColor()
public void setOutlineColor(String outlineColor)
outlineColor - the new attributepublic String getOutlineOffset()
public void setOutlineOffset(String outlineOffset)
outlineOffset - the new attributepublic String getOutlineStyle()
public void setOutlineStyle(String outlineStyle)
outlineStyle - the new attributepublic String getOutlineWidth()
public void setOutlineWidth(String outlineWidth)
outlineWidth - the new attributepublic String getOverflow()
public void setOverflow(String overflow)
overflow - the new attributepublic String getOverflowX()
public void setOverflowX(String overflowX)
overflowX - the new attributepublic String getOverflowY()
public void setOverflowY(String overflowY)
overflowY - the new attributepublic String getPadding()
public void setPadding(String padding)
padding - the new attributepublic String getPaddingBottom()
public void setPaddingBottom(String paddingBottom)
paddingBottom - the new attributepublic String getPaddingLeft()
public void setPaddingLeft(String paddingLeft)
paddingLeft - the new attributepublic String getPaddingRight()
public void setPaddingRight(String paddingRight)
paddingRight - the new attributepublic String getPaddingTop()
public void setPaddingTop(String paddingTop)
paddingTop - the new attributepublic String getPage()
public void setPage(String page)
page - the new attributepublic String getPageBreakAfter()
public void setPageBreakAfter(String pageBreakAfter)
pageBreakAfter - the new attributepublic String getPageBreakBefore()
public void setPageBreakBefore(String pageBreakBefore)
pageBreakBefore - the new attributepublic String getPageBreakInside()
public void setPageBreakInside(String pageBreakInside)
pageBreakInside - the new attributepublic String getPause()
public void setPause(String pause)
pause - the new attributepublic String getPauseAfter()
public void setPauseAfter(String pauseAfter)
pauseAfter - the new attributepublic String getPauseBefore()
public void setPauseBefore(String pauseBefore)
pauseBefore - the new attributepublic String getPitch()
public void setPitch(String pitch)
pitch - the new attributepublic String getPitchRange()
public void setPitchRange(String pitchRange)
pitchRange - the new attributepublic String getPointerEvents()
public void setPointerEvents(String pointerEvents)
pointerEvents - the new attributepublic int getPixelBottom()
public void setPixelBottom(int pixelBottom)
pixelBottom - the new attributepublic int getPixelLeft()
public void setPixelLeft(int pixelLeft)
pixelLeft - the new attributepublic int getPixelRight()
public void setPixelRight(int pixelRight)
pixelRight - the new attributepublic int getPixelTop()
public void setPixelTop(int pixelTop)
pixelTop - the new attributepublic int getPosBottom()
public void setPosBottom(int posBottom)
posBottom - the new attributepublic int getPosHeight()
public void setPosHeight(int posHeight)
posHeight - the new attributepublic String getPosition()
public void setPosition(String position)
position - the new attributepublic int getPosLeft()
public void setPosLeft(int posLeft)
posLeft - the new attributepublic int getPosRight()
public void setPosRight(int posRight)
posRight - the new attributepublic int getPosTop()
public void setPosTop(int posTop)
posTop - the new attributepublic int getPosWidth()
public void setPosWidth(int posWidth)
posWidth - the new attributepublic String getQuotes()
public void setQuotes(String quotes)
quotes - the new attributepublic String getRichness()
public void setRichness(String richness)
richness - the new attributepublic String getRight()
public void setRight(String right)
right - the new attributepublic String getRubyAlign()
public void setRubyAlign(String rubyAlign)
rubyAlign - the new attributepublic String getRubyOverhang()
public void setRubyOverhang(String rubyOverhang)
rubyOverhang - the new attributepublic String getRubyPosition()
public void setRubyPosition(String rubyPosition)
rubyPosition - the new attributepublic String getScrollbar3dLightColor()
public void setScrollbar3dLightColor(String scrollbar3dLightColor)
scrollbar3dLightColor - the new attributepublic String getScrollbarArrowColor()
public void setScrollbarArrowColor(String scrollbarArrowColor)
scrollbarArrowColor - the new attributepublic String getScrollbarBaseColor()
public void setScrollbarBaseColor(String scrollbarBaseColor)
scrollbarBaseColor - the new attributepublic String getScrollbarDarkShadowColor()
public void setScrollbarDarkShadowColor(String scrollbarDarkShadowColor)
scrollbarDarkShadowColor - the new attributepublic String getScrollbarFaceColor()
public void setScrollbarFaceColor(String scrollbarFaceColor)
scrollbarFaceColor - the new attributepublic String getScrollbarHighlightColor()
public void setScrollbarHighlightColor(String scrollbarHighlightColor)
scrollbarHighlightColor - the new attributepublic String getScrollbarShadowColor()
public void setScrollbarShadowColor(String scrollbarShadowColor)
scrollbarShadowColor - the new attributepublic String getScrollbarTrackColor()
public void setScrollbarTrackColor(String scrollbarTrackColor)
scrollbarTrackColor - the new attributepublic String getSize()
public void setSize(String size)
size - the new attributepublic String getSpeak()
public void setSpeak(String speak)
speak - the new attributepublic String getSpeakHeader()
public void setSpeakHeader(String speakHeader)
speakHeader - the new attributepublic String getSpeakNumeral()
public void setSpeakNumeral(String speakNumeral)
speakNumeral - the new attributepublic String getSpeakPunctuation()
public void setSpeakPunctuation(String speakPunctuation)
speakPunctuation - the new attributepublic String getSpeechRate()
public void setSpeechRate(String speechRate)
speechRate - the new attributepublic String getStress()
public void setStress(String stress)
stress - the new attributepublic String getStyleFloat()
public void setStyleFloat(String value)
value - the new attributepublic String getTableLayout()
public void setTableLayout(String tableLayout)
tableLayout - the new attributepublic String getTextAlign()
public void setTextAlign(String textAlign)
textAlign - the new attributepublic String getTextAlignLast()
public void setTextAlignLast(String textAlignLast)
textAlignLast - the new attributepublic String getTextAutospace()
public void setTextAutospace(String textAutospace)
textAutospace - the new attributepublic String getTextDecoration()
public void setTextDecoration(String textDecoration)
textDecoration - the new attributepublic boolean getTextDecorationBlink()
public void setTextDecorationBlink(boolean textDecorationBlink)
textDecorationBlink - the new attributepublic boolean getTextDecorationLineThrough()
public void setTextDecorationLineThrough(boolean textDecorationLineThrough)
textDecorationLineThrough - the new attributepublic boolean getTextDecorationNone()
public void setTextDecorationNone(boolean textDecorationNone)
textDecorationNone - the new attributepublic boolean getTextDecorationOverline()
public void setTextDecorationOverline(boolean textDecorationOverline)
textDecorationOverline - the new attributepublic boolean getTextDecorationUnderline()
public void setTextDecorationUnderline(boolean textDecorationUnderline)
textDecorationUnderline - the new attributepublic String getTextIndent()
public void setTextIndent(String textIndent)
textIndent - the new attributepublic String getTextJustify()
public void setTextJustify(String textJustify)
textJustify - the new attributepublic String getTextJustifyTrim()
public void setTextJustifyTrim(String textJustifyTrim)
textJustifyTrim - the new attributepublic String getTextKashida()
public void setTextKashida(String textKashida)
textKashida - the new attributepublic String getTextKashidaSpace()
public void setTextKashidaSpace(String textKashidaSpace)
textKashidaSpace - the new attributepublic String getTextOverflow()
public void setTextOverflow(String textOverflow)
textOverflow - the new attributepublic String getTextShadow()
public void setTextShadow(String textShadow)
textShadow - the new attributepublic String getTextTransform()
public void setTextTransform(String textTransform)
textTransform - the new attributepublic String getTextUnderlinePosition()
public void setTextUnderlinePosition(String textUnderlinePosition)
textUnderlinePosition - the new attributepublic String getTop()
public void setTop(String top)
top - the new attributepublic String getUnicodeBidi()
public void setUnicodeBidi(String unicodeBidi)
unicodeBidi - the new attributepublic String getVerticalAlign()
public void setVerticalAlign(String verticalAlign)
verticalAlign - the new attributepublic String getVisibility()
public void setVisibility(String visibility)
visibility - the new attributepublic String getVoiceFamily()
public void setVoiceFamily(String voiceFamily)
voiceFamily - the new attributepublic String getVolume()
public void setVolume(String volume)
volume - the new attributepublic String getWhiteSpace()
public void setWhiteSpace(String whiteSpace)
whiteSpace - the new attributepublic String getWidows()
public void setWidows(String widows)
widows - the new attributepublic String getWidth()
public void setWidth(String width)
width - the new attributepublic String getWordBreak()
public void setWordBreak(String wordBreak)
wordBreak - the new attributepublic String getWordSpacing()
public void setWordSpacing(String wordSpacing)
wordSpacing - the new attributepublic String getWordWrap()
public void setWordWrap(String wordWrap)
wordWrap - the new attributepublic String getWritingMode()
public void setWritingMode(String writingMode)
writingMode - the new attributepublic Object getZIndex()
public void setZIndex(Object zIndex)
zIndex - the new attributepublic String getZoom()
public void setZoom(String zoom)
zoom - the new attributepublic String getPropertyValue(String name)
name - the style property name
public CSSValue getPropertyCSSValue(String name)
name - the name of the property to retrieve
public String removeProperty(String name)
name - the name of the property to remove
public void setExpression(String propertyName,
String expression,
String language)
propertyName - Specifies the name of the property to which expression is addedexpression - 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 usedpublic boolean removeExpression(String propertyName)
propertyName - the name of the property from which to remove an expression
public Object getAttribute(String name,
int flag)
name - the name of the attributeflag - 0 for case insensitive, 1 (default) for case sensitive
public void setAttribute(String name,
String value,
Object flag)
name - the name of the attributevalue - the value to assign to the attributeflag - 0 for case insensitive, 1 (default) for case sensitive
public boolean removeAttribute(String name,
Object flag)
name - the name of the attributeflag - 0 for case insensitive, 1 (default) for case sensitive
public static String toRGBColor(String color)
color - the color
protected static int pixelValue(HTMLElement element,
CSSStyleDeclaration.CssValue value)
element - the element for which the CSS attribute value is to be retrievedvalue - the CSS attribute value which is to be retrieved
pixelValue(String)protected static int pixelValue(String value)
pixelValue(HTMLElement, CssValue) if you
need percentage support).
value - the length string value to convert to an integer number of pixels
pixelValue(HTMLElement, CssValue)public String toString()
toString in class Object
protected void setStyleAttributePixel(String name,
String value)
name - the attribute namevalue - the attribute value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||