public class CSSStyleDeclaration extends SimpleScriptable implements ScriptableWithFallbackGetter
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected static String |
PRIORITY_IMPORTANT
CSS important property constant.
|
protected static String |
WIDTH
The width style attribute.
|
Constructor and Description |
---|
CSSStyleDeclaration()
Creates an instance.
|
CSSStyleDeclaration(Element element)
Creates an instance and sets its parent scope to the one of the provided element.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
camelize(String string)
Transforms the specified string from delimiter-separated (e.g.
|
Object |
get(int index,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start) |
Object |
get(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
Gets a named property from the object.
|
String |
getAccelerator()
Gets the "accelerator" style attribute.
|
Object |
getAttribute(String name,
int flag)
Returns the value of the specified attribute, or an empty string if it does not exist.
|
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.
|
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 Element |
getElement()
Returns the element to which this style belongs.
|
String |
getEmptyCells()
Gets the "emptyCells" style attribute.
|
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.
|
Object[] |
getIds() |
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 |
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 |
getMsBlockProgression()
Gets the "msBlockProgression" style attribute.
|
String |
getMsContentZoomChaining()
Returns the
msContentZoomChaining style attribute. |
String |
getMsContentZooming()
Returns the
msContentZooming style attribute. |
String |
getMsContentZoomLimit()
Returns the
msContentZoomLimit style attribute. |
String |
getMsContentZoomLimitMax()
Returns the
msContentZoomLimitMax style attribute. |
String |
getMsContentZoomLimitMin()
Returns the
msContentZoomLimitMin style attribute. |
String |
getMsContentZoomSnap()
Returns the
msContentZoomSnap style attribute. |
String |
getMsContentZoomSnapPoints()
Returns the
msContentZoomSnapPoints style attribute. |
String |
getMsContentZoomSnapType()
Returns the
msContentZoomSnapType style attribute. |
String |
getMsFlex()
Returns the
msFlex style attribute. |
String |
getMsFlexAlign()
Returns the
msFlexAlign style attribute. |
String |
getMsFlexDirection()
Returns the
msFlexDirection style attribute. |
String |
getMsFlexFlow()
Returns the
msFlexFlow style attribute. |
String |
getMsFlexItemAlign()
Returns the
msFlexItemAlign style attribute. |
String |
getMsFlexLinePack()
Returns the
msFlexLinePack style attribute. |
String |
getMsFlexNegative()
Returns the
msFlexNegative style attribute. |
String |
getMsFlexOrder()
Returns the
msFlexOrder style attribute. |
String |
getMsFlexPack()
Returns the
msFlexPack style attribute. |
String |
getMsFlexPositive()
Returns the
msFlexPositive style attribute. |
String |
getMsFlexPreferredSize()
Returns the
msFlexPreferredSize style attribute. |
String |
getMsFlexWrap()
Returns the
msFlexWrap style attribute. |
String |
getMsFlowFrom()
Returns the
msFlowFrom style attribute. |
String |
getMsFlowInto()
Returns the
msFlowInto style attribute. |
String |
getMsFontFeatureSettings()
Returns the
msFontFeatureSettings style attribute. |
String |
getMsGridColumn()
Returns the
msGridColumn style attribute. |
String |
getMsGridColumnAlign()
Returns the
msGridColumnAlign style attribute. |
String |
getMsGridColumns()
Returns the
msGridColumns style attribute. |
String |
getMsGridColumnSpan()
Returns the
msGridColumnSpan style attribute. |
String |
getMsGridRow()
Returns the
msGridRow style attribute. |
String |
getMsGridRowAlign()
Returns the
msGridRowAlign style attribute. |
String |
getMsGridRows()
Returns the
msGridRows style attribute. |
String |
getMsGridRowSpan()
Returns the
msGridRowSpan style attribute. |
String |
getMsHighContrastAdjust()
Returns the
msHighContrastAdjust style attribute. |
String |
getMsHyphenateLimitChars()
Returns the
msHyphenateLimitChars style attribute. |
String |
getMsHyphenateLimitLines()
Returns the
msHyphenateLimitLines style attribute. |
String |
getMsHyphenateLimitZone()
Returns the
msHyphenateLimitZone style attribute. |
String |
getMsHyphens()
Returns the
msHyphens style attribute. |
String |
getMsImeAlign()
Returns the
msImeAlign style attribute. |
String |
getMsInterpolationMode()
Gets the "msInterpolationMode" style attribute.
|
String |
getMsOverflowStyle()
Returns the
msOverflowStyle style attribute. |
String |
getMsPerspective()
Returns the
msPerspective style attribute. |
String |
getMsPerspectiveOrigin()
Returns the
msPerspectiveOrigin style attribute. |
String |
getMsScrollChaining()
Returns the
msScrollChaining style attribute. |
String |
getMsScrollLimit()
Returns the
msScrollLimit style attribute. |
String |
getMsScrollLimitXMax()
Returns the
msScrollLimitXMax style attribute. |
String |
getMsScrollLimitXMin()
Returns the
msScrollLimitXMin style attribute. |
String |
getMsScrollLimitYMax()
Returns the
msScrollLimitYMax style attribute. |
String |
getMsScrollLimitYMin()
Returns the
msScrollLimitYMin style attribute. |
String |
getMsScrollRails()
Returns the
msScrollRails style attribute. |
String |
getMsScrollSnapPointsX()
Returns the
msScrollSnapPointsX style attribute. |
String |
getMsScrollSnapPointsY()
Returns the
msScrollSnapPointsY style attribute. |
String |
getMsScrollSnapType()
Returns the
msScrollSnapType style attribute. |
String |
getMsScrollSnapX()
Returns the
msScrollSnapX style attribute. |
String |
getMsScrollSnapY()
Returns the
msScrollSnapY style attribute. |
String |
getMsScrollTranslation()
Returns the
msScrollTranslation style attribute. |
String |
getMsTextCombineHorizontal()
Returns the
msTextCombineHorizontal style attribute. |
String |
getMsTouchAction()
Returns the
msTouchAction style attribute. |
String |
getMsTouchSelect()
Returns the
msTouchSelect style attribute. |
String |
getMsTransform()
Returns the
msTransform style attribute. |
String |
getMsTransformOrigin()
Returns the
msTransformOrigin style attribute. |
String |
getMsTransformStyle()
Returns the
msTransformStyle style attribute. |
String |
getMsTransition()
Returns the
msTransition style attribute. |
String |
getMsTransitionDelay()
Returns the
msTransitionDelay style attribute. |
String |
getMsTransitionDuration()
Returns the
msTransitionDuration style attribute. |
String |
getMsTransitionProperty()
Returns the
msTransitionProperty style attribute. |
String |
getMsTransitionTimingFunction()
Returns the
msTransitionTimingFunction style attribute. |
String |
getMsUserSelect()
Returns the
msUserSelect style attribute. |
String |
getMsWrapFlow()
Returns the
msWrapFlow style attribute. |
String |
getMsWrapMargin()
Returns the
msWrapMargin style attribute. |
String |
getMsWrapThrough()
Returns the
msWrapThrough 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.
|
int |
getPixelBottom()
Gets the "pixelBottom" style attribute.
|
int |
getPixelHeight()
Gets the "pixelHeight" style attribute.
|
int |
getPixelLeft()
Gets the "pixelLeft" style attribute.
|
int |
getPixelRight()
Gets the "pixelRight" style attribute.
|
int |
getPixelTop()
Gets the "pixelTop" style attribute.
|
int |
getPixelWidth()
Gets the "pixelWidth" 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 |
getPropertyPriority(String name)
Gets the value of the specified property of the style.
|
String |
getPropertyValue(String name)
Gets the value of the specified property of the style.
|
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.
|
protected String |
getStyleAttribute(String name)
Returns the value of the named style attribute, or an empty string if it is not found.
|
protected String |
getStyleAttributeValue(StyleAttributes.Definition style)
Get the value for the style attribute.
|
protected CSSStyleDeclaration.StyleElement |
getStyleElement(String name)
Determines the StyleElement for the given name.
|
String |
getStyleFloat()
Gets the "styleFloat" style attribute.
|
protected String |
getStylePriority(String name)
Returns the priority of the named style attribute, or an empty string if it is not found.
|
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 |
getVerticalAlign()
Gets the "verticalAlign" style attribute.
|
String |
getVisibility()
Gets the "visibility" 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 |
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.
|
boolean |
has(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start) |
protected static int |
pixelValue(Element 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.
|
void |
put(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start,
Object value) |
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 |
setAccelerator(String accelerator)
Sets the "accelerator" style attribute.
|
void |
setAttribute(String name,
String value,
Object flag)
Sets the value of the specified 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 |
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 |
setEmptyCells(String emptyCells)
Sets the "emptyCells" style attribute.
|
void |
setExpression(String propertyName,
String expression,
String language)
Sets an expression for the specified Style.
|
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 |
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 |
setMsBlockProgression(String msBlockProgression)
Sets the "msBlockProgression" style attribute.
|
void |
setMsContentZoomChaining(String msContentZoomChaining)
Sets the
msContentZoomChaining style attribute. |
void |
setMsContentZooming(String msContentZooming)
Sets the
msContentZooming style attribute. |
void |
setMsContentZoomLimit(String msContentZoomLimit)
Sets the
msContentZoomLimit style attribute. |
void |
setMsContentZoomLimitMax(String msContentZoomLimitMax)
Sets the
msContentZoomLimitMax style attribute. |
void |
setMsContentZoomLimitMin(String msContentZoomLimitMin)
Sets the
msContentZoomLimitMin style attribute. |
void |
setMsContentZoomSnap(String msContentZoomSnap)
Sets the
msContentZoomSnap style attribute. |
void |
setMsContentZoomSnapPoints(String msContentZoomSnapPoints)
Sets the
msContentZoomSnapPoints style attribute. |
void |
setMsContentZoomSnapType(String msContentZoomSnapType)
Sets the
msContentZoomSnapType style attribute. |
void |
setMsFlex(String msFlex)
Sets the
msFlex style attribute. |
void |
setMsFlexAlign(String msFlexAlign)
Sets the
msFlexAlign style attribute. |
void |
setMsFlexDirection(String msFlexDirection)
Sets the
msFlexDirection style attribute. |
void |
setMsFlexFlow(String msFlexFlow)
Sets the
msFlexFlow style attribute. |
void |
setMsFlexItemAlign(String msFlexItemAlign)
Sets the
msFlexItemAlign style attribute. |
void |
setMsFlexLinePack(String msFlexLinePack)
Sets the
msFlexLinePack style attribute. |
void |
setMsFlexNegative(String msFlexNegative)
Sets the
msFlexNegative style attribute. |
void |
setMsFlexOrder(String msFlexOrder)
Sets the
msFlexOrder style attribute. |
void |
setMsFlexPack(String msFlexPack)
Sets the
msFlexPack style attribute. |
void |
setMsFlexPositive(String msFlexPositive)
Sets the
msFlexPositive style attribute. |
void |
setMsFlexPreferredSize(String msFlexPreferredSize)
Sets the
msFlexPreferredSize style attribute. |
void |
setMsFlexWrap(String msFlexWrap)
Sets the
msFlexWrap style attribute. |
void |
setMsFlowFrom(String msFlowFrom)
Sets the
msFlowFrom style attribute. |
void |
setMsFlowInto(String msFlowInto)
Sets the
msFlowInto style attribute. |
void |
setMsFontFeatureSettings(String msFontFeatureSettings)
Sets the
msFontFeatureSettings style attribute. |
void |
setMsGridColumn(String msGridColumn)
Sets the
msGridColumn style attribute. |
void |
setMsGridColumnAlign(String msGridColumnAlign)
Sets the
msGridColumnAlign style attribute. |
void |
setMsGridColumns(String msGridColumns)
Sets the
msGridColumns style attribute. |
void |
setMsGridColumnSpan(String msGridColumnSpan)
Sets the
msGridColumnSpan style attribute. |
void |
setMsGridRow(String msGridRow)
Sets the
msGridRow style attribute. |
void |
setMsGridRowAlign(String msGridRowAlign)
Sets the
msGridRowAlign style attribute. |
void |
setMsGridRows(String msGridRows)
Sets the
msGridRows style attribute. |
void |
setMsGridRowSpan(String msGridRowSpan)
Sets the
msGridRowSpan style attribute. |
void |
setMsHighContrastAdjust(String msHighContrastAdjust)
Sets the
msHighContrastAdjust style attribute. |
void |
setMsHyphenateLimitChars(String msHyphenateLimitChars)
Sets the
msHyphenateLimitChars style attribute. |
void |
setMsHyphenateLimitLines(String msHyphenateLimitLines)
Sets the
msHyphenateLimitLines style attribute. |
void |
setMsHyphenateLimitZone(String msHyphenateLimitZone)
Sets the
msHyphenateLimitZone style attribute. |
void |
setMsHyphens(String msHyphens)
Sets the
msHyphens style attribute. |
void |
setMsImeAlign(String msImeAlign)
Sets the
msImeAlign style attribute. |
void |
setMsInterpolationMode(String msInterpolationMode)
Sets the "msInterpolationMode" style attribute.
|
void |
setMsOverflowStyle(String msOverflowStyle)
Sets the
msOverflowStyle style attribute. |
void |
setMsPerspective(String msPerspective)
Sets the
msPerspective style attribute. |
void |
setMsPerspectiveOrigin(String msPerspectiveOrigin)
Sets the
msPerspectiveOrigin style attribute. |
void |
setMsScrollChaining(String msScrollChaining)
Sets the
msScrollChaining style attribute. |
void |
setMsScrollLimit(String msScrollLimit)
Sets the
msScrollLimit style attribute. |
void |
setMsScrollLimitXMax(String msScrollLimitXMax)
Sets the
msScrollLimitXMax style attribute. |
void |
setMsScrollLimitXMin(String msScrollLimitXMin)
Sets the
msScrollLimitXMin style attribute. |
void |
setMsScrollLimitYMax(String msScrollLimitYMax)
Sets the
msScrollLimitYMax style attribute. |
void |
setMsScrollLimitYMin(String msScrollLimitYMin)
Sets the
msScrollLimitYMin style attribute. |
void |
setMsScrollRails(String msScrollRails)
Sets the
msScrollRails style attribute. |
void |
setMsScrollSnapPointsX(String msScrollSnapPointsX)
Sets the
msScrollSnapPointsX style attribute. |
void |
setMsScrollSnapPointsY(String msScrollSnapPointsY)
Sets the
msScrollSnapPointsY style attribute. |
void |
setMsScrollSnapType(String msScrollSnapType)
Sets the
msScrollSnapType style attribute. |
void |
setMsScrollSnapX(String msScrollSnapX)
Sets the
msScrollSnapX style attribute. |
void |
setMsScrollSnapY(String msScrollSnapY)
Sets the
msScrollSnapY style attribute. |
void |
setMsScrollTranslation(String msScrollTranslation)
Sets the
msScrollTranslation style attribute. |
void |
setMsTextCombineHorizontal(String msTextCombineHorizontal)
Sets the
msTextCombineHorizontal style attribute. |
void |
setMsTouchAction(String msTouchAction)
Sets the
msTouchAction style attribute. |
void |
setMsTouchSelect(String msTouchSelect)
Sets the
msTouchSelect style attribute. |
void |
setMsTransform(String msTransform)
Sets the
msTransform style attribute. |
void |
setMsTransformOrigin(String msTransformOrigin)
Sets the
msTransformOrigin style attribute. |
void |
setMsTransformStyle(String msTransformStyle)
Sets the
msTransformStyle style attribute. |
void |
setMsTransition(String msTransition)
Sets the
msTransition style attribute. |
void |
setMsTransitionDelay(String msTransitionDelay)
Sets the
msTransitionDelay style attribute. |
void |
setMsTransitionDuration(String msTransitionDuration)
Sets the
msTransitionDuration style attribute. |
void |
setMsTransitionProperty(String msTransitionProperty)
Sets the
msTransitionProperty style attribute. |
void |
setMsTransitionTimingFunction(String msTransitionTimingFunction)
Sets the
msTransitionTimingFunction style attribute. |
void |
setMsUserSelect(String msUserSelect)
Sets the
msUserSelect style attribute. |
void |
setMsWrapFlow(String msWrapFlow)
Sets the
msWrapFlow style attribute. |
void |
setMsWrapMargin(String msWrapMargin)
Sets the
msWrapMargin style attribute. |
void |
setMsWrapThrough(String msWrapThrough)
Sets the
msWrapThrough 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 |
setPixelBottom(int pixelBottom)
Sets the "pixelBottom" style attribute.
|
void |
setPixelHeight(int pixelHeight)
Sets the "pixelHeight" 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 |
setPixelWidth(int pixelWidth)
Sets the "pixelWidth" 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 |
setProperty(String name,
String value,
String important)
Sets the value of the specified property.
|
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.
|
protected void |
setStyleAttribute(String name,
String newValue)
Sets the specified style attribute.
|
protected void |
setStyleAttribute(String name,
String newValue,
String important)
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 |
setVerticalAlign(String verticalAlign)
Sets the "verticalAlign" style attribute.
|
void |
setVisibility(String visibility)
Sets the "visibility" 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 |
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() |
clone, defineFunctionProperties, defineProperty, equivalentValues, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setClassName, setDomNode, setDomNode, setHtmlElement, setParentScope
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, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, size
protected static final String PRIORITY_IMPORTANT
protected static final String WIDTH
public CSSStyleDeclaration()
public CSSStyleDeclaration(Element element)
element
- the element to which this style is boundpublic Object getWithFallback(String name)
getWithFallback
in interface ScriptableWithFallbackGetter
name
- the name of the requested propertyScriptable.NOT_FOUND
if nothing is foundprotected Element getElement()
protected String getStyleAttribute(String name)
name
- the name of the style attribute whose value is to be retrievedprotected String getStylePriority(String name)
name
- the name of the style attribute whose value is to be retrievedprotected CSSStyleDeclaration.StyleElement getStyleElement(String name)
name
- the name of the requested StyleElementprotected void setStyleAttribute(String name, String newValue)
name
- the attribute name (camel-cased)newValue
- the attribute valueprotected void setStyleAttribute(String name, String newValue, String important)
name
- the attribute name (camel-cased)newValue
- the attribute valueimportant
- important valueprotected long getCurrentElementIndex()
protected static String camelize(String string)
string
- the string to camelizeDOMStringMap.decamelize(String)
public String getAccelerator()
public void setAccelerator(String accelerator)
accelerator
- 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 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 getEmptyCells()
public void setEmptyCells(String emptyCells)
emptyCells
- the new attributepublic 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 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 Object get(String name, net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
SimpleScriptable
SimpleScriptable.getWithPreemption(String)
.
For fallback case just implement ScriptableWithFallbackGetter
.
get
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
get
in class SimpleScriptable
public Object get(int index, net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
get
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
get
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
protected String getStyleAttributeValue(StyleAttributes.Definition style)
style
- the stylepublic void put(String name, net.sourceforge.htmlunit.corejs.javascript.Scriptable start, Object value)
put
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
put
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public boolean has(String name, net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
has
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
has
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public Object[] getIds()
getIds
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
getIds
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public String getMsBlockProgression()
public void setMsBlockProgression(String msBlockProgression)
msBlockProgression
- the new attributepublic String getMsInterpolationMode()
public void setMsInterpolationMode(String msInterpolationMode)
msInterpolationMode
- the new attributepublic String getMsContentZoomChaining()
msContentZoomChaining
style attribute.public void setMsContentZoomChaining(String msContentZoomChaining)
msContentZoomChaining
style attribute.msContentZoomChaining
- the new attributepublic String getMsContentZoomLimit()
msContentZoomLimit
style attribute.public void setMsContentZoomLimit(String msContentZoomLimit)
msContentZoomLimit
style attribute.msContentZoomLimit
- the new attributepublic String getMsContentZoomLimitMax()
msContentZoomLimitMax
style attribute.public void setMsContentZoomLimitMax(String msContentZoomLimitMax)
msContentZoomLimitMax
style attribute.msContentZoomLimitMax
- the new attributepublic String getMsContentZoomLimitMin()
msContentZoomLimitMin
style attribute.public void setMsContentZoomLimitMin(String msContentZoomLimitMin)
msContentZoomLimitMin
style attribute.msContentZoomLimitMin
- the new attributepublic String getMsContentZoomSnap()
msContentZoomSnap
style attribute.public void setMsContentZoomSnap(String msContentZoomSnap)
msContentZoomSnap
style attribute.msContentZoomSnap
- the new attributepublic String getMsContentZoomSnapPoints()
msContentZoomSnapPoints
style attribute.public void setMsContentZoomSnapPoints(String msContentZoomSnapPoints)
msContentZoomSnapPoints
style attribute.msContentZoomSnapPoints
- the new attributepublic String getMsContentZoomSnapType()
msContentZoomSnapType
style attribute.public void setMsContentZoomSnapType(String msContentZoomSnapType)
msContentZoomSnapType
style attribute.msContentZoomSnapType
- the new attributepublic String getMsContentZooming()
msContentZooming
style attribute.public void setMsContentZooming(String msContentZooming)
msContentZooming
style attribute.msContentZooming
- the new attributepublic String getMsFlex()
msFlex
style attribute.public void setMsFlex(String msFlex)
msFlex
style attribute.msFlex
- the new attributepublic String getMsFlexAlign()
msFlexAlign
style attribute.public void setMsFlexAlign(String msFlexAlign)
msFlexAlign
style attribute.msFlexAlign
- the new attributepublic String getMsFlexDirection()
msFlexDirection
style attribute.public void setMsFlexDirection(String msFlexDirection)
msFlexDirection
style attribute.msFlexDirection
- the new attributepublic String getMsFlexFlow()
msFlexFlow
style attribute.public void setMsFlexFlow(String msFlexFlow)
msFlexFlow
style attribute.msFlexFlow
- the new attributepublic String getMsFlexItemAlign()
msFlexItemAlign
style attribute.public void setMsFlexItemAlign(String msFlexItemAlign)
msFlexItemAlign
style attribute.msFlexItemAlign
- the new attributepublic String getMsFlexLinePack()
msFlexLinePack
style attribute.public void setMsFlexLinePack(String msFlexLinePack)
msFlexLinePack
style attribute.msFlexLinePack
- the new attributepublic String getMsFlexNegative()
msFlexNegative
style attribute.public void setMsFlexNegative(String msFlexNegative)
msFlexNegative
style attribute.msFlexNegative
- the new attributepublic String getMsFlexOrder()
msFlexOrder
style attribute.public void setMsFlexOrder(String msFlexOrder)
msFlexOrder
style attribute.msFlexOrder
- the new attributepublic String getMsFlexPack()
msFlexPack
style attribute.public void setMsFlexPack(String msFlexPack)
msFlexPack
style attribute.msFlexPack
- the new attributepublic String getMsFlexPositive()
msFlexPositive
style attribute.public void setMsFlexPositive(String msFlexPositive)
msFlexPositive
style attribute.msFlexPositive
- the new attributepublic String getMsFlexPreferredSize()
msFlexPreferredSize
style attribute.public void setMsFlexPreferredSize(String msFlexPreferredSize)
msFlexPreferredSize
style attribute.msFlexPreferredSize
- the new attributepublic String getMsFlexWrap()
msFlexWrap
style attribute.public void setMsFlexWrap(String msFlexWrap)
msFlexWrap
style attribute.msFlexWrap
- the new attributepublic String getMsFlowFrom()
msFlowFrom
style attribute.public void setMsFlowFrom(String msFlowFrom)
msFlowFrom
style attribute.msFlowFrom
- the new attributepublic String getMsFlowInto()
msFlowInto
style attribute.public void setMsFlowInto(String msFlowInto)
msFlowInto
style attribute.msFlowInto
- the new attributepublic String getMsFontFeatureSettings()
msFontFeatureSettings
style attribute.public void setMsFontFeatureSettings(String msFontFeatureSettings)
msFontFeatureSettings
style attribute.msFontFeatureSettings
- the new attributepublic String getMsGridColumn()
msGridColumn
style attribute.public void setMsGridColumn(String msGridColumn)
msGridColumn
style attribute.msGridColumn
- the new attributepublic String getMsGridColumnAlign()
msGridColumnAlign
style attribute.public void setMsGridColumnAlign(String msGridColumnAlign)
msGridColumnAlign
style attribute.msGridColumnAlign
- the new attributepublic String getMsGridColumnSpan()
msGridColumnSpan
style attribute.public void setMsGridColumnSpan(String msGridColumnSpan)
msGridColumnSpan
style attribute.msGridColumnSpan
- the new attributepublic String getMsGridColumns()
msGridColumns
style attribute.public void setMsGridColumns(String msGridColumns)
msGridColumns
style attribute.msGridColumns
- the new attributepublic String getMsGridRow()
msGridRow
style attribute.public void setMsGridRow(String msGridRow)
msGridRow
style attribute.msGridRow
- the new attributepublic String getMsGridRowAlign()
msGridRowAlign
style attribute.public void setMsGridRowAlign(String msGridRowAlign)
msGridRowAlign
style attribute.msGridRowAlign
- the new attributepublic String getMsGridRowSpan()
msGridRowSpan
style attribute.public void setMsGridRowSpan(String msGridRowSpan)
msGridRowSpan
style attribute.msGridRowSpan
- the new attributepublic String getMsGridRows()
msGridRows
style attribute.public void setMsGridRows(String msGridRows)
msGridRows
style attribute.msGridRows
- the new attributepublic String getMsHighContrastAdjust()
msHighContrastAdjust
style attribute.public void setMsHighContrastAdjust(String msHighContrastAdjust)
msHighContrastAdjust
style attribute.msHighContrastAdjust
- the new attributepublic String getMsHyphenateLimitChars()
msHyphenateLimitChars
style attribute.public void setMsHyphenateLimitChars(String msHyphenateLimitChars)
msHyphenateLimitChars
style attribute.msHyphenateLimitChars
- the new attributepublic String getMsHyphenateLimitLines()
msHyphenateLimitLines
style attribute.public void setMsHyphenateLimitLines(String msHyphenateLimitLines)
msHyphenateLimitLines
style attribute.msHyphenateLimitLines
- the new attributepublic String getMsHyphenateLimitZone()
msHyphenateLimitZone
style attribute.public void setMsHyphenateLimitZone(String msHyphenateLimitZone)
msHyphenateLimitZone
style attribute.msHyphenateLimitZone
- the new attributepublic String getMsHyphens()
msHyphens
style attribute.public void setMsHyphens(String msHyphens)
msHyphens
style attribute.msHyphens
- the new attributepublic String getMsImeAlign()
msImeAlign
style attribute.public void setMsImeAlign(String msImeAlign)
msImeAlign
style attribute.msImeAlign
- the new attributepublic String getMsOverflowStyle()
msOverflowStyle
style attribute.public void setMsOverflowStyle(String msOverflowStyle)
msOverflowStyle
style attribute.msOverflowStyle
- the new attributepublic String getMsPerspective()
msPerspective
style attribute.public void setMsPerspective(String msPerspective)
msPerspective
style attribute.msPerspective
- the new attributepublic String getMsPerspectiveOrigin()
msPerspectiveOrigin
style attribute.public void setMsPerspectiveOrigin(String msPerspectiveOrigin)
msPerspectiveOrigin
style attribute.msPerspectiveOrigin
- the new attributepublic String getMsScrollChaining()
msScrollChaining
style attribute.public void setMsScrollChaining(String msScrollChaining)
msScrollChaining
style attribute.msScrollChaining
- the new attributepublic String getMsScrollLimit()
msScrollLimit
style attribute.public void setMsScrollLimit(String msScrollLimit)
msScrollLimit
style attribute.msScrollLimit
- the new attributepublic String getMsScrollLimitXMax()
msScrollLimitXMax
style attribute.public void setMsScrollLimitXMax(String msScrollLimitXMax)
msScrollLimitXMax
style attribute.msScrollLimitXMax
- the new attributepublic String getMsScrollLimitXMin()
msScrollLimitXMin
style attribute.public void setMsScrollLimitXMin(String msScrollLimitXMin)
msScrollLimitXMin
style attribute.msScrollLimitXMin
- the new attributepublic String getMsScrollLimitYMax()
msScrollLimitYMax
style attribute.public void setMsScrollLimitYMax(String msScrollLimitYMax)
msScrollLimitYMax
style attribute.msScrollLimitYMax
- the new attributepublic String getMsScrollLimitYMin()
msScrollLimitYMin
style attribute.public void setMsScrollLimitYMin(String msScrollLimitYMin)
msScrollLimitYMin
style attribute.msScrollLimitYMin
- the new attributepublic String getMsScrollRails()
msScrollRails
style attribute.public void setMsScrollRails(String msScrollRails)
msScrollRails
style attribute.msScrollRails
- the new attributepublic String getMsScrollSnapPointsX()
msScrollSnapPointsX
style attribute.public void setMsScrollSnapPointsX(String msScrollSnapPointsX)
msScrollSnapPointsX
style attribute.msScrollSnapPointsX
- the new attributepublic String getMsScrollSnapPointsY()
msScrollSnapPointsY
style attribute.public void setMsScrollSnapPointsY(String msScrollSnapPointsY)
msScrollSnapPointsY
style attribute.msScrollSnapPointsY
- the new attributepublic String getMsScrollSnapType()
msScrollSnapType
style attribute.public void setMsScrollSnapType(String msScrollSnapType)
msScrollSnapType
style attribute.msScrollSnapType
- the new attributepublic String getMsScrollSnapX()
msScrollSnapX
style attribute.public void setMsScrollSnapX(String msScrollSnapX)
msScrollSnapX
style attribute.msScrollSnapX
- the new attributepublic String getMsScrollSnapY()
msScrollSnapY
style attribute.public void setMsScrollSnapY(String msScrollSnapY)
msScrollSnapY
style attribute.msScrollSnapY
- the new attributepublic String getMsScrollTranslation()
msScrollTranslation
style attribute.public void setMsScrollTranslation(String msScrollTranslation)
msScrollTranslation
style attribute.msScrollTranslation
- the new attributepublic String getMsTextCombineHorizontal()
msTextCombineHorizontal
style attribute.public void setMsTextCombineHorizontal(String msTextCombineHorizontal)
msTextCombineHorizontal
style attribute.msTextCombineHorizontal
- the new attributepublic String getMsTouchAction()
msTouchAction
style attribute.public void setMsTouchAction(String msTouchAction)
msTouchAction
style attribute.msTouchAction
- the new attributepublic String getMsTouchSelect()
msTouchSelect
style attribute.public void setMsTouchSelect(String msTouchSelect)
msTouchSelect
style attribute.msTouchSelect
- the new attributepublic String getMsTransform()
msTransform
style attribute.public void setMsTransform(String msTransform)
msTransform
style attribute.msTransform
- the new attributepublic String getMsTransformOrigin()
msTransformOrigin
style attribute.public void setMsTransformOrigin(String msTransformOrigin)
msTransformOrigin
style attribute.msTransformOrigin
- the new attributepublic String getMsTransformStyle()
msTransformStyle
style attribute.public void setMsTransformStyle(String msTransformStyle)
msTransformStyle
style attribute.msTransformStyle
- the new attributepublic String getMsTransition()
msTransition
style attribute.public void setMsTransition(String msTransition)
msTransition
style attribute.msTransition
- the new attributepublic String getMsTransitionDelay()
msTransitionDelay
style attribute.public void setMsTransitionDelay(String msTransitionDelay)
msTransitionDelay
style attribute.msTransitionDelay
- the new attributepublic String getMsTransitionDuration()
msTransitionDuration
style attribute.public void setMsTransitionDuration(String msTransitionDuration)
msTransitionDuration
style attribute.msTransitionDuration
- the new attributepublic String getMsTransitionProperty()
msTransitionProperty
style attribute.public void setMsTransitionProperty(String msTransitionProperty)
msTransitionProperty
style attribute.msTransitionProperty
- the new attributepublic String getMsTransitionTimingFunction()
msTransitionTimingFunction
style attribute.public void setMsTransitionTimingFunction(String msTransitionTimingFunction)
msTransitionTimingFunction
style attribute.msTransitionTimingFunction
- the new attributepublic String getMsUserSelect()
msUserSelect
style attribute.public void setMsUserSelect(String msUserSelect)
msUserSelect
style attribute.msUserSelect
- the new attributepublic String getMsWrapFlow()
msWrapFlow
style attribute.public void setMsWrapFlow(String msWrapFlow)
msWrapFlow
style attribute.msWrapFlow
- the new attributepublic String getMsWrapMargin()
msWrapMargin
style attribute.public void setMsWrapMargin(String msWrapMargin)
msWrapMargin
style attribute.msWrapMargin
- the new attributepublic String getMsWrapThrough()
msWrapThrough
style attribute.public void setMsWrapThrough(String msWrapThrough)
msWrapThrough
style attribute.msWrapThrough
- 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 getPointerEvents()
public void setPointerEvents(String pointerEvents)
pointerEvents
- the new attributepublic int getPixelBottom()
public void setPixelBottom(int pixelBottom)
pixelBottom
- the new attributepublic int getPixelHeight()
public void setPixelHeight(int pixelHeight)
pixelHeight
- 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 getPixelWidth()
public void setPixelWidth(int pixelWidth)
pixelWidth
- 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 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 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 getVerticalAlign()
public void setVerticalAlign(String verticalAlign)
verticalAlign
- the new attributepublic String getVisibility()
public void setVisibility(String visibility)
visibility
- 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 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 namepublic CSSValue getPropertyCSSValue(String name)
name
- the name of the property to retrievepublic String getPropertyPriority(String name)
name
- the style property namepublic void setProperty(String name, String value, String important)
name
- the name of the attributevalue
- the value to assign to the attributeimportant
- may be nullpublic String removeProperty(String name)
name
- the name of the property to removepublic 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 expressionpublic Object getAttribute(String name, int flag)
name
- the name of the attributeflag
- 0 for case insensitive, 1 (default) for case sensitivepublic 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 sensitivepublic boolean removeAttribute(String name, Object flag)
name
- the name of the attributeflag
- 0 for case insensitive, 1 (default) for case sensitivepublic static String toRGBColor(String color)
color
- the colorprotected static int pixelValue(Element 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 retrievedpixelValue(String)
protected static int pixelValue(String value)
pixelValue(Element, CssValue)
if you
need percentage support).value
- the length string value to convert to an integer number of pixelspixelValue(Element, CssValue)
Copyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.