public class CSSStyleDeclaration extends SimpleScriptable implements ScriptableWithFallbackGetter
CSSStyleDeclaration
.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(Object 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, equivalentValues, getBrowserVersion, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElement
defineFunctionProperties, defineProperty, getClassName, setClassName, 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()
accelerator
style attribute.public void setAccelerator(String accelerator)
accelerator
style attribute.accelerator
- the new attributepublic String getBackground()
background
style attribute.public void setBackground(String background)
background
style attribute.background
- the new attributepublic String getBackgroundAttachment()
backgroundAttachment
style attribute.public void setBackgroundAttachment(String backgroundAttachment)
backgroundAttachment
style attribute.backgroundAttachment
- the new attributepublic String getBackgroundColor()
backgroundColor
style attribute.public void setBackgroundColor(String backgroundColor)
backgroundColor
style attribute.backgroundColor
- the new attributepublic String getBackgroundImage()
backgroundImage
style attribute.public void setBackgroundImage(String backgroundImage)
backgroundImage
style attribute.backgroundImage
- the new attributepublic String getBackgroundPosition()
backgroundPosition
style attribute.public void setBackgroundPosition(String backgroundPosition)
backgroundPosition
style attribute.backgroundPosition
- the new attributepublic String getBackgroundPositionX()
backgroundPositionX
style attribute.public void setBackgroundPositionX(String backgroundPositionX)
backgroundPositionX
style attribute.backgroundPositionX
- the new attributepublic String getBackgroundPositionY()
backgroundPositionY
style attribute.public void setBackgroundPositionY(String backgroundPositionY)
backgroundPositionY
style attribute.backgroundPositionY
- the new attributepublic String getBackgroundRepeat()
backgroundRepeat
style attribute.public void setBackgroundRepeat(String backgroundRepeat)
backgroundRepeat
style attribute.backgroundRepeat
- the new attributepublic String getBehavior()
public void setBehavior(String behavior)
behavior
- the new behaviorpublic String getBorder()
border
style attribute.public void setBorder(String border)
border
style attribute.border
- the new attributepublic String getBorderBottom()
borderBottom
style attribute.public void setBorderBottom(String borderBottom)
borderBottom
style attribute.borderBottom
- the new attributepublic String getBorderBottomColor()
borderBottomColor
style attribute.public void setBorderBottomColor(String borderBottomColor)
borderBottomColor
style attribute.borderBottomColor
- the new attributepublic String getBorderBottomStyle()
borderBottomStyle
style attribute.public void setBorderBottomStyle(String borderBottomStyle)
borderBottomStyle
style attribute.borderBottomStyle
- the new attributepublic String getBorderBottomWidth()
borderBottomWidth
style attribute.public void setBorderBottomWidth(String borderBottomWidth)
borderBottomWidth
style attribute.borderBottomWidth
- the new attributepublic String getBorderCollapse()
borderCollapse
style attribute.public void setBorderCollapse(String borderCollapse)
borderCollapse
style attribute.borderCollapse
- the new attributepublic String getBorderColor()
borderColor
style attribute.public void setBorderColor(String borderColor)
borderColor
style attribute.borderColor
- the new attributepublic String getBorderLeft()
borderLeft
style attribute.public void setBorderLeft(String borderLeft)
borderLeft
style attribute.borderLeft
- the new attributepublic String getBorderLeftColor()
borderLeftColor
style attribute.public void setBorderLeftColor(String borderLeftColor)
borderLeftColor
style attribute.borderLeftColor
- the new attributepublic String getBorderLeftStyle()
borderLeftStyle
style attribute.public void setBorderLeftStyle(String borderLeftStyle)
borderLeftStyle
style attribute.borderLeftStyle
- the new attributepublic String getBorderLeftWidth()
borderLeftWidth
style attribute.public void setBorderLeftWidth(String borderLeftWidth)
borderLeftWidth
style attribute.borderLeftWidth
- the new attributepublic String getBorderRight()
borderRight
style attribute.public void setBorderRight(String borderRight)
borderRight
style attribute.borderRight
- the new attributepublic String getBorderRightColor()
borderRightColor
style attribute.public void setBorderRightColor(String borderRightColor)
borderRightColor
style attribute.borderRightColor
- the new attributepublic String getBorderRightStyle()
borderRightStyle
style attribute.public void setBorderRightStyle(String borderRightStyle)
borderRightStyle
style attribute.borderRightStyle
- the new attributepublic String getBorderRightWidth()
borderRightWidth
style attribute.public void setBorderRightWidth(String borderRightWidth)
borderRightWidth
style attribute.borderRightWidth
- the new attributepublic String getBorderSpacing()
borderSpacing
style attribute.public void setBorderSpacing(String borderSpacing)
borderSpacing
style attribute.borderSpacing
- the new attributepublic String getBorderStyle()
borderStyle
style attribute.public void setBorderStyle(String borderStyle)
borderStyle
style attribute.borderStyle
- the new attributepublic String getBorderTop()
borderTop
style attribute.public void setBorderTop(String borderTop)
borderTop
style attribute.borderTop
- the new attributepublic String getBorderTopColor()
borderTopColor
style attribute.public void setBorderTopColor(String borderTopColor)
borderTopColor
style attribute.borderTopColor
- the new attributepublic String getBorderTopStyle()
borderTopStyle
style attribute.public void setBorderTopStyle(String borderTopStyle)
borderTopStyle
style attribute.borderTopStyle
- the new attributepublic String getBorderTopWidth()
borderTopWidth
style attribute.public void setBorderTopWidth(String borderTopWidth)
borderTopWidth
style attribute.borderTopWidth
- the new attributepublic String getBorderWidth()
borderWidth
style attribute.public void setBorderWidth(String borderWidth)
borderWidth
style attribute.borderWidth
- the new attributepublic String getBottom()
bottom
style attribute.public void setBottom(String bottom)
bottom
style attribute.bottom
- the new attributepublic String getBoxSizing()
boxSizing
style attribute.public void setBoxSizing(String boxSizing)
boxSizing
style attribute.boxSizing
- the new attributepublic String getCaptionSide()
captionSide
style attribute.public void setCaptionSide(String captionSide)
captionSide
style attribute.captionSide
- the new attributepublic String getClear()
clear
style attribute.public void setClear(String clear)
clear
style attribute.clear
- the new attributepublic String getClip()
clip
style attribute.public void setClip(String clip)
clip
style attribute.clip
- the new attributepublic String getColor()
color
style attribute.public void setColor(String color)
color
style attribute.color
- the new attributepublic String getContent()
content
style attribute.public void setContent(String content)
content
style attribute.content
- the new attributepublic String getCounterIncrement()
counterIncrement
style attribute.public void setCounterIncrement(String counterIncrement)
counterIncrement
style attribute.counterIncrement
- the new attributepublic String getCounterReset()
counterReset
style attribute.public void setCounterReset(String counterReset)
counterReset
style attribute.counterReset
- the new attributepublic String getCssFloat()
cssFloat
style attribute.public void setCssFloat(String value)
cssFloat
style attribute.value
- the new attributepublic String getCssText()
public void setCssText(String value)
value
- the new textpublic String getCursor()
cursor
style attribute.public void setCursor(String cursor)
cursor
style attribute.cursor
- the new attributepublic String getDirection()
direction
style attribute.public void setDirection(String direction)
direction
style attribute.direction
- the new attributepublic String getDisplay()
display
style attribute.public void setDisplay(String display)
display
style attribute.display
- the new attributepublic String getEmptyCells()
emptyCells
style attribute.public void setEmptyCells(String emptyCells)
emptyCells
style attribute.emptyCells
- the new attributepublic String getFont()
font
style attribute.public void setFont(String font)
font
style attribute.font
- the new attributepublic String getFontFamily()
fontFamily
style attribute.public void setFontFamily(String fontFamily)
fontFamily
style attribute.fontFamily
- the new attributepublic String getFontSize()
fontSize
style attribute.public void setFontSize(String fontSize)
fontSize
style attribute.fontSize
- the new attributepublic String getFontSizeAdjust()
fontSizeAdjust
style attribute.public void setFontSizeAdjust(String fontSizeAdjust)
fontSizeAdjust
style attribute.fontSizeAdjust
- the new attributepublic String getFontStretch()
fontStretch
style attribute.public void setFontStretch(String fontStretch)
fontStretch
style attribute.fontStretch
- the new attributepublic String getFontStyle()
fontStyle
style attribute.public void setFontStyle(String fontStyle)
fontStyle
style attribute.fontStyle
- the new attributepublic String getFontVariant()
fontVariant
style attribute.public void setFontVariant(String fontVariant)
fontVariant
style attribute.fontVariant
- the new attributepublic String getFontWeight()
fontWeight
style attribute.public void setFontWeight(String fontWeight)
fontWeight
style attribute.fontWeight
- the new attributepublic String getHeight()
height
style attribute.public void setHeight(String height)
height
style attribute.height
- the new attributepublic String getImeMode()
imeMode
style attribute.public void setImeMode(String imeMode)
imeMode
style attribute.imeMode
- the new attributepublic String getLayoutFlow()
layoutFlow
style attribute.public void setLayoutFlow(String layoutFlow)
layoutFlow
style attribute.layoutFlow
- the new attributepublic String getLayoutGrid()
layoutGrid
style attribute.public void setLayoutGrid(String layoutGrid)
layoutGrid
style attribute.layoutGrid
- the new attributepublic String getLayoutGridChar()
layoutGridChar
style attribute.public void setLayoutGridChar(String layoutGridChar)
layoutGridChar
style attribute.layoutGridChar
- the new attributepublic String getLayoutGridLine()
layoutGridLine
style attribute.public void setLayoutGridLine(String layoutGridLine)
layoutGridLine
style attribute.layoutGridLine
- the new attributepublic String getLayoutGridMode()
layoutGridMode
style attribute.public void setLayoutGridMode(String layoutGridMode)
layoutGridMode
style attribute.layoutGridMode
- the new attributepublic String getLayoutGridType()
layoutGridType
style attribute.public void setLayoutGridType(String layoutGridType)
layoutGridType
style attribute.layoutGridType
- the new attributepublic String getLeft()
left
style attribute.public void setLeft(String left)
left
style attribute.left
- the new attributepublic int getLength()
public String getLetterSpacing()
letterSpacing
style attribute.public void setLetterSpacing(String letterSpacing)
letterSpacing
style attribute.letterSpacing
- the new attributepublic String getLineBreak()
lineBreak
style attribute.public void setLineBreak(String lineBreak)
lineBreak
style attribute.lineBreak
- the new attributepublic String getListStyle()
listStyle
style attribute.public void setListStyle(String listStyle)
listStyle
style attribute.listStyle
- the new attributepublic String getListStyleImage()
listStyleImage
style attribute.public void setListStyleImage(String listStyleImage)
listStyleImage
style attribute.listStyleImage
- the new attributepublic String getListStylePosition()
listStylePosition
style attribute.public void setListStylePosition(String listStylePosition)
listStylePosition
style attribute.listStylePosition
- the new attributepublic String getListStyleType()
listStyleType
style attribute.public void setListStyleType(String listStyleType)
listStyleType
style attribute.listStyleType
- the new attributepublic String getMargin()
margin
style attribute.public void setMargin(String margin)
margin
style attribute.margin
- the new attributepublic String getMarginBottom()
marginBottom
style attribute.public void setMarginBottom(String marginBottom)
marginBottom
style attribute.marginBottom
- the new attributepublic String getMarginLeft()
marginLeft
style attribute.public void setMarginLeft(String marginLeft)
marginLeft
style attribute.marginLeft
- the new attributepublic String getMarginRight()
marginRight
style attribute.public void setMarginRight(String marginRight)
marginRight
style attribute.marginRight
- the new attributepublic String getMarginTop()
marginTop
style attribute.public void setMarginTop(String marginTop)
marginTop
style attribute.marginTop
- the new attributepublic String getMarkerOffset()
markerOffset
style attribute.public void setMarkerOffset(String markerOffset)
markerOffset
style attribute.markerOffset
- the new attributepublic String getMarks()
marks
style attribute.public void setMarks(String marks)
marks
style attribute.marks
- the new attributepublic String getMaxHeight()
maxHeight
style attribute.public void setMaxHeight(String maxHeight)
maxHeight
style attribute.maxHeight
- the new attributepublic String getMaxWidth()
maxWidth
style attribute.public void setMaxWidth(String maxWidth)
maxWidth
style attribute.maxWidth
- the new attributepublic String getMinHeight()
minHeight
style attribute.public void setMinHeight(String minHeight)
minHeight
style attribute.minHeight
- the new attributepublic String getMinWidth()
minWidth
style attribute.public void setMinWidth(String minWidth)
minWidth
style attribute.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()
msBlockProgression
style attribute.public void setMsBlockProgression(String msBlockProgression)
msBlockProgression
style attribute.msBlockProgression
- the new attributepublic String getMsInterpolationMode()
msInterpolationMode
style attribute.public void setMsInterpolationMode(String msInterpolationMode)
msInterpolationMode
style attribute.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()
opacity
style attribute.public void setOpacity(String opacity)
opacity
style attribute.opacity
- the new attributepublic String getOrphans()
orphans
style attribute.public void setOrphans(String orphans)
orphans
style attribute.orphans
- the new attributepublic String getOutline()
outline
style attribute.public void setOutline(String outline)
outline
style attribute.outline
- the new attributepublic String getOutlineColor()
outlineColor
style attribute.public void setOutlineColor(String outlineColor)
outlineColor
style attribute.outlineColor
- the new attributepublic String getOutlineOffset()
outlineOffset
style attribute.public void setOutlineOffset(String outlineOffset)
outlineOffset
style attribute.outlineOffset
- the new attributepublic String getOutlineStyle()
outlineStyle
style attribute.public void setOutlineStyle(String outlineStyle)
outlineStyle
style attribute.outlineStyle
- the new attributepublic String getOutlineWidth()
outlineWidth
style attribute.public void setOutlineWidth(String outlineWidth)
outlineWidth
style attribute.outlineWidth
- the new attributepublic String getOverflow()
overflow
style attribute.public void setOverflow(String overflow)
overflow
style attribute.overflow
- the new attributepublic String getOverflowX()
overflowX
style attribute.public void setOverflowX(String overflowX)
overflowX
style attribute.overflowX
- the new attributepublic String getOverflowY()
overflowY
style attribute.public void setOverflowY(String overflowY)
overflowY
style attribute.overflowY
- the new attributepublic String getPadding()
padding
style attribute.public void setPadding(String padding)
padding
style attribute.padding
- the new attributepublic String getPaddingBottom()
paddingBottom
style attribute.public void setPaddingBottom(String paddingBottom)
paddingBottom
style attribute.paddingBottom
- the new attributepublic String getPaddingLeft()
paddingLeft
style attribute.public void setPaddingLeft(String paddingLeft)
paddingLeft
style attribute.paddingLeft
- the new attributepublic String getPaddingRight()
paddingRight
style attribute.public void setPaddingRight(String paddingRight)
paddingRight
style attribute.paddingRight
- the new attributepublic String getPaddingTop()
paddingTop
style attribute.public void setPaddingTop(String paddingTop)
paddingTop
style attribute.paddingTop
- the new attributepublic String getPage()
page
style attribute.public void setPage(String page)
page
style attribute.page
- the new attributepublic String getPageBreakAfter()
pageBreakAfter
style attribute.public void setPageBreakAfter(String pageBreakAfter)
pageBreakAfter
style attribute.pageBreakAfter
- the new attributepublic String getPageBreakBefore()
pageBreakBefore
style attribute.public void setPageBreakBefore(String pageBreakBefore)
pageBreakBefore
style attribute.pageBreakBefore
- the new attributepublic String getPageBreakInside()
pageBreakInside
style attribute.public void setPageBreakInside(String pageBreakInside)
pageBreakInside
style attribute.pageBreakInside
- the new attributepublic String getPointerEvents()
pointerEvents
style attribute.public void setPointerEvents(String pointerEvents)
pointerEvents
style attribute.pointerEvents
- the new attributepublic int getPixelBottom()
pixelBottom
style attribute.public void setPixelBottom(int pixelBottom)
pixelBottom
style attribute.pixelBottom
- the new attributepublic int getPixelHeight()
pixelHeight
style attribute.public void setPixelHeight(int pixelHeight)
pixelHeight
style attribute.pixelHeight
- the new attributepublic int getPixelLeft()
pixelLeft
style attribute.public void setPixelLeft(int pixelLeft)
pixelLeft
style attribute.pixelLeft
- the new attributepublic int getPixelRight()
pixelRight
style attribute.public void setPixelRight(int pixelRight)
pixelRight
style attribute.pixelRight
- the new attributepublic int getPixelTop()
pixelTop
style attribute.public void setPixelTop(int pixelTop)
pixelTop
style attribute.pixelTop
- the new attributepublic int getPixelWidth()
pixelWidth
style attribute.public void setPixelWidth(int pixelWidth)
pixelWidth
style attribute.pixelWidth
- the new attributepublic int getPosBottom()
posBottom
style attribute.public void setPosBottom(int posBottom)
posBottom
style attribute.posBottom
- the new attributepublic int getPosHeight()
posHeight
style attribute.public void setPosHeight(int posHeight)
posHeight
style attribute.posHeight
- the new attributepublic String getPosition()
position
style attribute.public void setPosition(String position)
position
style attribute.position
- the new attributepublic int getPosLeft()
posLeft
style attribute.public void setPosLeft(int posLeft)
posLeft
style attribute.posLeft
- the new attributepublic int getPosRight()
posRight
style attribute.public void setPosRight(int posRight)
posRight
style attribute.posRight
- the new attributepublic int getPosTop()
posTop
style attribute.public void setPosTop(int posTop)
posTop
style attribute.posTop
- the new attributepublic int getPosWidth()
posWidth
style attribute.public void setPosWidth(int posWidth)
posWidth
style attribute.posWidth
- the new attributepublic String getRight()
right
style attribute.public void setRight(String right)
right
style attribute.right
- the new attributepublic String getRubyAlign()
rubyAlign
style attribute.public void setRubyAlign(String rubyAlign)
rubyAlign
style attribute.rubyAlign
- the new attributepublic String getRubyOverhang()
rubyOverhang
style attribute.public void setRubyOverhang(String rubyOverhang)
rubyOverhang
style attribute.rubyOverhang
- the new attributepublic String getRubyPosition()
rubyPosition
style attribute.public void setRubyPosition(String rubyPosition)
rubyPosition
style attribute.rubyPosition
- the new attributepublic String getScrollbar3dLightColor()
scrollbar3dLightColor
style attribute.public void setScrollbar3dLightColor(String scrollbar3dLightColor)
scrollbar3dLightColor
style attribute.scrollbar3dLightColor
- the new attributepublic String getScrollbarArrowColor()
scrollbarArrowColor
style attribute.public void setScrollbarArrowColor(String scrollbarArrowColor)
scrollbarArrowColor
style attribute.scrollbarArrowColor
- the new attributepublic String getScrollbarBaseColor()
scrollbarBaseColor
style attribute.public void setScrollbarBaseColor(String scrollbarBaseColor)
scrollbarBaseColor
style attribute.scrollbarBaseColor
- the new attributepublic String getScrollbarDarkShadowColor()
scrollbarDarkShadowColor
style attribute.public void setScrollbarDarkShadowColor(String scrollbarDarkShadowColor)
scrollbarDarkShadowColor
style attribute.scrollbarDarkShadowColor
- the new attributepublic String getScrollbarFaceColor()
scrollbarFaceColor
style attribute.public void setScrollbarFaceColor(String scrollbarFaceColor)
scrollbarFaceColor
style attribute.scrollbarFaceColor
- the new attributepublic String getScrollbarHighlightColor()
scrollbarHighlightColor
style attribute.public void setScrollbarHighlightColor(String scrollbarHighlightColor)
scrollbarHighlightColor
style attribute.scrollbarHighlightColor
- the new attributepublic String getScrollbarShadowColor()
scrollbarShadowColor
style attribute.public void setScrollbarShadowColor(String scrollbarShadowColor)
scrollbarShadowColor
style attribute.scrollbarShadowColor
- the new attributepublic String getScrollbarTrackColor()
scrollbarTrackColor
style attribute.public void setScrollbarTrackColor(String scrollbarTrackColor)
scrollbarTrackColor
style attribute.scrollbarTrackColor
- the new attributepublic String getSize()
size
style attribute.public void setSize(String size)
size
style attribute.size
- the new attributepublic String getStyleFloat()
styleFloat
style attribute.public void setStyleFloat(String value)
styleFloat
style attribute.value
- the new attributepublic String getTableLayout()
tableLayout
style attribute.public void setTableLayout(String tableLayout)
tableLayout
style attribute.tableLayout
- the new attributepublic String getTextAlign()
textAlign
style attribute.public void setTextAlign(String textAlign)
textAlign
style attribute.textAlign
- the new attributepublic String getTextAlignLast()
textAlignLast
style attribute.public void setTextAlignLast(String textAlignLast)
textAlignLast
style attribute.textAlignLast
- the new attributepublic String getTextAutospace()
textAutospace
style attribute.public void setTextAutospace(String textAutospace)
textAutospace
style attribute.textAutospace
- the new attributepublic String getTextDecoration()
textDecoration
style attribute.public void setTextDecoration(String textDecoration)
textDecoration
style attribute.textDecoration
- the new attributepublic boolean getTextDecorationBlink()
textDecorationBlink
style attribute.public void setTextDecorationBlink(boolean textDecorationBlink)
textDecorationBlink
style attribute.textDecorationBlink
- the new attributepublic boolean getTextDecorationLineThrough()
textDecorationLineThrough
style attribute.public void setTextDecorationLineThrough(boolean textDecorationLineThrough)
textDecorationLineThrough
style attribute.textDecorationLineThrough
- the new attributepublic boolean getTextDecorationNone()
textDecorationNone
style attribute.public void setTextDecorationNone(boolean textDecorationNone)
textDecorationNone
style attribute.textDecorationNone
- the new attributepublic boolean getTextDecorationOverline()
textDecorationOverline
style attribute.public void setTextDecorationOverline(boolean textDecorationOverline)
textDecorationOverline
style attribute.textDecorationOverline
- the new attributepublic boolean getTextDecorationUnderline()
textDecorationUnderline
style attribute.public void setTextDecorationUnderline(boolean textDecorationUnderline)
textDecorationUnderline
style attribute.textDecorationUnderline
- the new attributepublic String getTextIndent()
textIndent
style attribute.public void setTextIndent(String textIndent)
textIndent
style attribute.textIndent
- the new attributepublic String getTextJustify()
textJustify
style attribute.public void setTextJustify(String textJustify)
textJustify
style attribute.textJustify
- the new attributepublic String getTextJustifyTrim()
textJustifyTrim
style attribute.public void setTextJustifyTrim(String textJustifyTrim)
textJustifyTrim
style attribute.textJustifyTrim
- the new attributepublic String getTextKashida()
textKashida
style attribute.public void setTextKashida(String textKashida)
textKashida
style attribute.textKashida
- the new attributepublic String getTextKashidaSpace()
textKashidaSpace
style attribute.public void setTextKashidaSpace(String textKashidaSpace)
textKashidaSpace
style attribute.textKashidaSpace
- the new attributepublic String getTextOverflow()
textOverflow
style attribute.public void setTextOverflow(String textOverflow)
textOverflow
style attribute.textOverflow
- the new attributepublic String getTextShadow()
textShadow
style attribute.public void setTextShadow(String textShadow)
textShadow
style attribute.textShadow
- the new attributepublic String getTextTransform()
textTransform
style attribute.public void setTextTransform(String textTransform)
textTransform
style attribute.textTransform
- the new attributepublic String getTextUnderlinePosition()
textUnderlinePosition
style attribute.public void setTextUnderlinePosition(String textUnderlinePosition)
textUnderlinePosition
style attribute.textUnderlinePosition
- the new attributepublic String getTop()
top
style attribute.public void setTop(String top)
top
style attribute.top
- the new attributepublic String getVerticalAlign()
verticalAlign
style attribute.public void setVerticalAlign(String verticalAlign)
verticalAlign
style attribute.verticalAlign
- the new attributepublic String getVisibility()
visibility
style attribute.public void setVisibility(String visibility)
visibility
style attribute.visibility
- the new attributepublic String getWhiteSpace()
whiteSpace
style attribute.public void setWhiteSpace(String whiteSpace)
whiteSpace
style attribute.whiteSpace
- the new attributepublic String getWidows()
widows
style attribute.public void setWidows(String widows)
widows
style attribute.widows
- the new attributepublic String getWidth()
width
style attribute.public void setWidth(String width)
width
style attribute.width
- the new attributepublic String getWordSpacing()
wordSpacing
style attribute.public void setWordSpacing(String wordSpacing)
wordSpacing
style attribute.wordSpacing
- the new attributepublic String getWordWrap()
wordWrap
style attribute.public void setWordWrap(String wordWrap)
wordWrap
style attribute.wordWrap
- the new attributepublic String getWritingMode()
writingMode
style attribute.public void setWritingMode(String writingMode)
writingMode
style attribute.writingMode
- the new attributepublic Object getZIndex()
zIndex
style attribute.public void setZIndex(Object zIndex)
zIndex
style attribute.zIndex
- the new attributepublic String getZoom()
zoom
style attribute.public void setZoom(String zoom)
zoom
style attribute.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(Object 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 sensitivetrue
if the attribute was successfully removed, false
otherwisepublic 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.