public class ComputedCSSStyleDeclaration extends CSSStyleDeclaration
Window.getComputedStyle(Element, String)
,
Serialized FormCSSStyleDeclaration.CssValue, CSSStyleDeclaration.StyleElement
PRIORITY_IMPORTANT, WIDTH
Constructor and Description |
---|
ComputedCSSStyleDeclaration()
Creates an instance.
|
ComputedCSSStyleDeclaration(CSSStyleDeclaration style)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
applyStyleFromSelector(org.w3c.dom.css.CSSStyleDeclaration declaration,
org.w3c.css.sac.Selector selector)
Makes a local, "computed", modification to this CSS style.
|
String |
getAccelerator()
Gets the "accelerator" style attribute.
|
String |
getBackground()
Gets the "background" style attribute.
|
String |
getBackgroundAttachment()
Gets the "backgroundAttachment" style attribute.
|
String |
getBackgroundColor()
Gets the "backgroundColor" style attribute.
|
String |
getBackgroundImage()
Gets the "backgroundImage" style attribute.
|
String |
getBackgroundPosition()
Gets the "backgroundPosition" style attribute.
|
String |
getBackgroundPositionX()
Gets the "backgroundPositionX" style attribute.
|
String |
getBackgroundPositionY()
Gets the "backgroundPositionY" style attribute.
|
String |
getBackgroundRepeat()
Gets the "backgroundRepeat" style attribute.
|
String |
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.
|
int |
getBorderBottomValue()
Gets the size of the bottom border of the element.
|
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.
|
int |
getBorderLeftValue()
Gets the size of the left border of the element.
|
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.
|
int |
getBorderRightValue()
Gets the size of the right border of the element.
|
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.
|
int |
getBorderTopValue()
Gets the size of the top border of the element.
|
String |
getBorderTopWidth()
Gets the "borderTopWidth" style attribute.
|
String |
getBorderWidth()
Gets the "borderWidth" style attribute.
|
String |
getBottom()
Gets the "bottom" style attribute.
|
String |
getBottomWithInheritance()
Returns the CSS bottom attribute, replacing inherited values with the actual parent values.
|
String |
getBoxSizing()
Gets the "boxSizing" style attribute.
|
int |
getCalculatedHeight(boolean includeBorder,
boolean includePadding)
Returns the element's height, possibly including its padding and border.
|
int |
getCalculatedWidth(boolean includeBorder,
boolean includePadding)
Returns the element's width in pixels, possibly including its padding and border.
|
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.
|
int |
getContentHeight()
Returns the total height of the element's children.
|
int |
getContentWidth()
Returns the total width of the element's children.
|
String |
getCounterIncrement()
Gets the "counterIncrement" style attribute.
|
String |
getCounterReset()
Gets the "counterReset" style attribute.
|
String |
getCssFloat()
Gets the "cssFloat" style attribute.
|
String |
getCursor()
Gets the "cursor" style attribute.
|
String |
getDirection()
Gets the "direction" style attribute.
|
String |
getDisplay()
Gets the "display" style attribute.
|
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.
|
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 |
getLeft(boolean includeMargin,
boolean includeBorder,
boolean includePadding)
Returns the computed left (X coordinate), relative to the node's parent's left edge.
|
String |
getLeftWithInheritance()
Returns the CSS left attribute, replacing inherited values with the actual parent values.
|
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.
|
int |
getMarginBottomValue()
Gets the bottom margin of the element.
|
String |
getMarginLeft()
Gets the "marginLeft" style attribute.
|
int |
getMarginLeftValue()
Gets the left margin of the element.
|
String |
getMarginRight()
Gets the "marginRight" style attribute.
|
int |
getMarginRightValue()
Gets the right margin of the element.
|
String |
getMarginTop()
Gets the "marginTop" style attribute.
|
int |
getMarginTopValue()
Gets the top margin of the element.
|
String |
getMarkerOffset()
Gets the "markerOffset" 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 |
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.
|
int |
getPaddingBottomValue()
Gets the bottom padding of the element.
|
String |
getPaddingLeft()
Gets the "paddingLeft" style attribute.
|
int |
getPaddingLeftValue()
Gets the left padding of the element.
|
String |
getPaddingRight()
Gets the "paddingRight" style attribute.
|
int |
getPaddingRightValue()
Gets the right padding of the element.
|
String |
getPaddingTop()
Gets the "paddingTop" style attribute.
|
int |
getPaddingTopValue()
Gets the top padding of the element.
|
String |
getPageBreakAfter()
Gets the "pageBreakAfter" style attribute.
|
String |
getPageBreakBefore()
Gets the "pageBreakBefore" style attribute.
|
String |
getPageBreakInside()
Gets the "pageBreakInside" style attribute.
|
String |
getPointerEvents()
Gets the "pointerEvents" style attribute.
|
String |
getPosition()
Gets the "position" style attribute.
|
String |
getPositionWithInheritance()
Returns the CSS position attribute, replacing inherited values with the actual parent values.
|
String |
getPropertyValue(String name)
Gets the value of the specified property of the style.
|
String |
getRight()
Gets the "right" style attribute.
|
String |
getRightWithInheritance()
Returns the CSS right attribute, replacing inherited values with the actual parent values.
|
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.
|
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.
|
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.
|
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.
|
int |
getTop(boolean includeMargin,
boolean includeBorder,
boolean includePadding)
Returns the computed top (Y coordinate), relative to the node's parent's top edge.
|
String |
getTopWithInheritance()
Returns the CSS top attribute, replacing inherited values with the actual parent values.
|
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.
|
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 |
isScrollable(boolean horizontal)
Returns true if the element is scrollable along the specified axis.
|
protected String |
pixelString(Element element,
CSSStyleDeclaration.CssValue value)
Returns the specified length CSS attribute value value as a pixel length value, as long as
we're not emulating IE.
|
protected String |
pixelString(String value)
Returns the specified length value as a pixel length value, as long as we're not emulating IE.
|
void |
setDefaultLocalStyleAttribute(String name,
String newValue)
Makes a local, "computed", modification to this CSS style that won't override other
style attributes of the same name.
|
protected void |
setStyleAttribute(String name,
String newValue)
Sets the specified style attribute.
|
camelize, get, get, getAttribute, getBehavior, getCssText, getCurrentElementIndex, getElement, getIds, getLength, getMarks, getOutline, getPage, getPixelBottom, getPixelHeight, getPixelLeft, getPixelRight, getPixelTop, getPixelWidth, getPosBottom, getPosHeight, getPosLeft, getPosRight, getPosTop, getPosWidth, getPropertyCSSValue, getPropertyPriority, getRubyAlign, getSize, getStylePriority, getTextDecorationBlink, getTextDecorationLineThrough, getTextDecorationNone, getTextDecorationOverline, getTextDecorationUnderline, getWithFallback, has, pixelValue, pixelValue, put, removeAttribute, removeExpression, removeProperty, setAccelerator, setAttribute, setBackground, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundPositionX, setBackgroundPositionY, setBackgroundRepeat, setBehavior, setBorder, setBorderBottom, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderCollapse, setBorderColor, setBorderLeft, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRight, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderSpacing, setBorderStyle, setBorderTop, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setBoxSizing, setCaptionSide, setClear, setClip, setColor, setContent, setCounterIncrement, setCounterReset, setCssFloat, setCssText, setCursor, setDirection, setDisplay, setEmptyCells, setExpression, setFont, setFontFamily, setFontSize, setFontSizeAdjust, setFontStretch, setFontStyle, setFontVariant, setFontWeight, setHeight, setImeMode, setLayoutFlow, setLayoutGrid, setLayoutGridChar, setLayoutGridLine, setLayoutGridMode, setLayoutGridType, setLeft, setLetterSpacing, setLineBreak, setListStyle, setListStyleImage, setListStylePosition, setListStyleType, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMarkerOffset, setMarks, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setMsBlockProgression, setMsContentZoomChaining, setMsContentZooming, setMsContentZoomLimit, setMsContentZoomLimitMax, setMsContentZoomLimitMin, setMsContentZoomSnap, setMsContentZoomSnapPoints, setMsContentZoomSnapType, setMsFlex, setMsFlexAlign, setMsFlexDirection, setMsFlexFlow, setMsFlexItemAlign, setMsFlexLinePack, setMsFlexNegative, setMsFlexOrder, setMsFlexPack, setMsFlexPositive, setMsFlexPreferredSize, setMsFlexWrap, setMsFlowFrom, setMsFlowInto, setMsFontFeatureSettings, setMsGridColumn, setMsGridColumnAlign, setMsGridColumns, setMsGridColumnSpan, setMsGridRow, setMsGridRowAlign, setMsGridRows, setMsGridRowSpan, setMsHighContrastAdjust, setMsHyphenateLimitChars, setMsHyphenateLimitLines, setMsHyphenateLimitZone, setMsHyphens, setMsImeAlign, setMsInterpolationMode, setMsOverflowStyle, setMsPerspective, setMsPerspectiveOrigin, setMsScrollChaining, setMsScrollLimit, setMsScrollLimitXMax, setMsScrollLimitXMin, setMsScrollLimitYMax, setMsScrollLimitYMin, setMsScrollRails, setMsScrollSnapPointsX, setMsScrollSnapPointsY, setMsScrollSnapType, setMsScrollSnapX, setMsScrollSnapY, setMsScrollTranslation, setMsTextCombineHorizontal, setMsTouchAction, setMsTouchSelect, setMsTransform, setMsTransformOrigin, setMsTransformStyle, setMsTransition, setMsTransitionDelay, setMsTransitionDuration, setMsTransitionProperty, setMsTransitionTimingFunction, setMsUserSelect, setMsWrapFlow, setMsWrapMargin, setMsWrapThrough, setOpacity, setOrphans, setOutline, setOutlineColor, setOutlineOffset, setOutlineStyle, setOutlineWidth, setOverflow, setOverflowX, setOverflowY, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPage, setPageBreakAfter, setPageBreakBefore, setPageBreakInside, setPixelBottom, setPixelHeight, setPixelLeft, setPixelRight, setPixelTop, setPixelWidth, setPointerEvents, setPosBottom, setPosHeight, setPosition, setPosLeft, setPosRight, setPosTop, setPosWidth, setProperty, setRight, setRubyAlign, setRubyOverhang, setRubyPosition, setScrollbar3dLightColor, setScrollbarArrowColor, setScrollbarBaseColor, setScrollbarDarkShadowColor, setScrollbarFaceColor, setScrollbarHighlightColor, setScrollbarShadowColor, setScrollbarTrackColor, setSize, setStyleAttribute, setStyleAttributePixel, setStyleFloat, setTableLayout, setTextAlign, setTextAlignLast, setTextAutospace, setTextDecoration, setTextDecorationBlink, setTextDecorationLineThrough, setTextDecorationNone, setTextDecorationOverline, setTextDecorationUnderline, setTextIndent, setTextJustify, setTextJustifyTrim, setTextKashida, setTextKashidaSpace, setTextOverflow, setTextShadow, setTextTransform, setTextUnderlinePosition, setTop, setVerticalAlign, setVisibility, setWhiteSpace, setWidows, setWidth, setWordSpacing, setWordWrap, setWritingMode, setZIndex, setZoom, toRGBColor, 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
public ComputedCSSStyleDeclaration()
public ComputedCSSStyleDeclaration(CSSStyleDeclaration style)
style
- the original Styleprotected String getStyleAttribute(String name)
getStyleAttribute
in class CSSStyleDeclaration
name
- the name of the style attribute whose value is to be retrievedprotected void setStyleAttribute(String name, String newValue)
setStyleAttribute
in class CSSStyleDeclaration
name
- the attribute name (camel-cased)newValue
- the attribute valuepublic void applyStyleFromSelector(org.w3c.dom.css.CSSStyleDeclaration declaration, org.w3c.css.sac.Selector selector)
declaration
- the style declarationselector
- the selector determining that the style applies to this elementpublic void setDefaultLocalStyleAttribute(String name, String newValue)
name
- the name of the style attribute to setnewValue
- the value of the style attribute to setprotected CSSStyleDeclaration.StyleElement getStyleElement(String name)
CSSStyleDeclaration
getStyleElement
in class CSSStyleDeclaration
name
- the name of the requested StyleElementpublic String getAccelerator()
getAccelerator
in class CSSStyleDeclaration
public String getBackground()
getBackground
in class CSSStyleDeclaration
public String getBackgroundAttachment()
getBackgroundAttachment
in class CSSStyleDeclaration
public String getBackgroundColor()
getBackgroundColor
in class CSSStyleDeclaration
public String getBackgroundImage()
getBackgroundImage
in class CSSStyleDeclaration
public String getBackgroundPosition()
getBackgroundPosition
in class CSSStyleDeclaration
public String getBackgroundPositionX()
getBackgroundPositionX
in class CSSStyleDeclaration
public String getBackgroundPositionY()
getBackgroundPositionY
in class CSSStyleDeclaration
public String getBackgroundRepeat()
getBackgroundRepeat
in class CSSStyleDeclaration
public String getBorder()
getBorder
in class CSSStyleDeclaration
public String getBorderBottom()
getBorderBottom
in class CSSStyleDeclaration
public String getBorderColor()
getBorderColor
in class CSSStyleDeclaration
public String getBorderBottomColor()
getBorderBottomColor
in class CSSStyleDeclaration
public String getBorderBottomStyle()
getBorderBottomStyle
in class CSSStyleDeclaration
public String getBorderBottomWidth()
getBorderBottomWidth
in class CSSStyleDeclaration
public String getBorderCollapse()
getBorderCollapse
in class CSSStyleDeclaration
public String getBorderLeft()
getBorderLeft
in class CSSStyleDeclaration
public String getBorderLeftColor()
getBorderLeftColor
in class CSSStyleDeclaration
public String getBorderLeftStyle()
getBorderLeftStyle
in class CSSStyleDeclaration
public String getBorderLeftWidth()
getBorderLeftWidth
in class CSSStyleDeclaration
public String getBorderRight()
getBorderRight
in class CSSStyleDeclaration
public String getBorderRightColor()
getBorderRightColor
in class CSSStyleDeclaration
public String getBorderRightStyle()
getBorderRightStyle
in class CSSStyleDeclaration
public String getBorderRightWidth()
getBorderRightWidth
in class CSSStyleDeclaration
public String getBorderSpacing()
getBorderSpacing
in class CSSStyleDeclaration
public String getBorderStyle()
getBorderStyle
in class CSSStyleDeclaration
public String getBorderTop()
getBorderTop
in class CSSStyleDeclaration
public String getBorderTopColor()
getBorderTopColor
in class CSSStyleDeclaration
public String getBorderTopStyle()
getBorderTopStyle
in class CSSStyleDeclaration
public String getBorderTopWidth()
getBorderTopWidth
in class CSSStyleDeclaration
public String getBorderWidth()
getBorderWidth
in class CSSStyleDeclaration
public String getBottom()
getBottom
in class CSSStyleDeclaration
public String getBoxSizing()
getBoxSizing
in class CSSStyleDeclaration
public String getCaptionSide()
getCaptionSide
in class CSSStyleDeclaration
public String getClear()
getClear
in class CSSStyleDeclaration
public String getClip()
getClip
in class CSSStyleDeclaration
public String getContent()
getContent
in class CSSStyleDeclaration
public String getColor()
getColor
in class CSSStyleDeclaration
public String getCounterIncrement()
getCounterIncrement
in class CSSStyleDeclaration
public String getCounterReset()
getCounterReset
in class CSSStyleDeclaration
public String getCssFloat()
getCssFloat
in class CSSStyleDeclaration
public String getCursor()
getCursor
in class CSSStyleDeclaration
public String getDirection()
getDirection
in class CSSStyleDeclaration
public String getDisplay()
getDisplay
in class CSSStyleDeclaration
public String getEmptyCells()
getEmptyCells
in class CSSStyleDeclaration
public String getFont()
getFont
in class CSSStyleDeclaration
public String getFontFamily()
getFontFamily
in class CSSStyleDeclaration
public String getFontSize()
getFontSize
in class CSSStyleDeclaration
public String getFontSizeAdjust()
getFontSizeAdjust
in class CSSStyleDeclaration
public String getFontStretch()
getFontStretch
in class CSSStyleDeclaration
public String getFontStyle()
getFontStyle
in class CSSStyleDeclaration
public String getFontVariant()
getFontVariant
in class CSSStyleDeclaration
public String getFontWeight()
getFontWeight
in class CSSStyleDeclaration
public String getHeight()
getHeight
in class CSSStyleDeclaration
public String getImeMode()
getImeMode
in class CSSStyleDeclaration
public String getLayoutFlow()
getLayoutFlow
in class CSSStyleDeclaration
public String getLayoutGrid()
getLayoutGrid
in class CSSStyleDeclaration
public String getLayoutGridChar()
getLayoutGridChar
in class CSSStyleDeclaration
public String getLayoutGridLine()
getLayoutGridLine
in class CSSStyleDeclaration
public String getLayoutGridMode()
getLayoutGridMode
in class CSSStyleDeclaration
public String getLayoutGridType()
getLayoutGridType
in class CSSStyleDeclaration
public String getLeft()
getLeft
in class CSSStyleDeclaration
public String getLetterSpacing()
getLetterSpacing
in class CSSStyleDeclaration
public String getLineBreak()
getLineBreak
in class CSSStyleDeclaration
public String getListStyle()
getListStyle
in class CSSStyleDeclaration
public String getListStyleImage()
getListStyleImage
in class CSSStyleDeclaration
public String getListStylePosition()
getListStylePosition
in class CSSStyleDeclaration
public String getListStyleType()
getListStyleType
in class CSSStyleDeclaration
public String getMargin()
getMargin
in class CSSStyleDeclaration
public String getMarginBottom()
getMarginBottom
in class CSSStyleDeclaration
public String getMarginLeft()
getMarginLeft
in class CSSStyleDeclaration
public String getMarginRight()
getMarginRight
in class CSSStyleDeclaration
public String getMarginTop()
getMarginTop
in class CSSStyleDeclaration
public String getMarkerOffset()
getMarkerOffset
in class CSSStyleDeclaration
public String getMaxHeight()
getMaxHeight
in class CSSStyleDeclaration
public String getMaxWidth()
getMaxWidth
in class CSSStyleDeclaration
public String getMinHeight()
getMinHeight
in class CSSStyleDeclaration
public String getMinWidth()
getMinWidth
in class CSSStyleDeclaration
public String getMsBlockProgression()
getMsBlockProgression
in class CSSStyleDeclaration
public String getMsContentZoomChaining()
msContentZoomChaining
style attribute.getMsContentZoomChaining
in class CSSStyleDeclaration
public String getMsContentZoomLimit()
msContentZoomLimit
style attribute.getMsContentZoomLimit
in class CSSStyleDeclaration
public String getMsContentZoomLimitMax()
msContentZoomLimitMax
style attribute.getMsContentZoomLimitMax
in class CSSStyleDeclaration
public String getMsContentZoomLimitMin()
msContentZoomLimitMin
style attribute.getMsContentZoomLimitMin
in class CSSStyleDeclaration
public String getMsContentZoomSnap()
msContentZoomSnap
style attribute.getMsContentZoomSnap
in class CSSStyleDeclaration
public String getMsContentZoomSnapPoints()
msContentZoomSnapPoints
style attribute.getMsContentZoomSnapPoints
in class CSSStyleDeclaration
public String getMsContentZoomSnapType()
msContentZoomSnapType
style attribute.getMsContentZoomSnapType
in class CSSStyleDeclaration
public String getMsContentZooming()
msContentZooming
style attribute.getMsContentZooming
in class CSSStyleDeclaration
public String getMsFlex()
msFlex
style attribute.getMsFlex
in class CSSStyleDeclaration
public String getMsFlexAlign()
msFlexAlign
style attribute.getMsFlexAlign
in class CSSStyleDeclaration
public String getMsFlexDirection()
msFlexDirection
style attribute.getMsFlexDirection
in class CSSStyleDeclaration
public String getMsFlexFlow()
msFlexFlow
style attribute.getMsFlexFlow
in class CSSStyleDeclaration
public String getMsFlexItemAlign()
msFlexItemAlign
style attribute.getMsFlexItemAlign
in class CSSStyleDeclaration
public String getMsFlexLinePack()
msFlexLinePack
style attribute.getMsFlexLinePack
in class CSSStyleDeclaration
public String getMsFlexNegative()
msFlexNegative
style attribute.getMsFlexNegative
in class CSSStyleDeclaration
public String getMsFlexOrder()
msFlexOrder
style attribute.getMsFlexOrder
in class CSSStyleDeclaration
public String getMsFlexPack()
msFlexPack
style attribute.getMsFlexPack
in class CSSStyleDeclaration
public String getMsFlexPositive()
msFlexPositive
style attribute.getMsFlexPositive
in class CSSStyleDeclaration
public String getMsFlexPreferredSize()
msFlexPreferredSize
style attribute.getMsFlexPreferredSize
in class CSSStyleDeclaration
public String getMsFlexWrap()
msFlexWrap
style attribute.getMsFlexWrap
in class CSSStyleDeclaration
public String getMsFlowFrom()
msFlowFrom
style attribute.getMsFlowFrom
in class CSSStyleDeclaration
public String getMsFlowInto()
msFlowInto
style attribute.getMsFlowInto
in class CSSStyleDeclaration
public String getMsFontFeatureSettings()
msFontFeatureSettings
style attribute.getMsFontFeatureSettings
in class CSSStyleDeclaration
public String getMsGridColumn()
msGridColumn
style attribute.getMsGridColumn
in class CSSStyleDeclaration
public String getMsGridColumnAlign()
msGridColumnAlign
style attribute.getMsGridColumnAlign
in class CSSStyleDeclaration
public String getMsGridColumnSpan()
msGridColumnSpan
style attribute.getMsGridColumnSpan
in class CSSStyleDeclaration
public String getMsGridColumns()
msGridColumns
style attribute.getMsGridColumns
in class CSSStyleDeclaration
public String getMsGridRow()
msGridRow
style attribute.getMsGridRow
in class CSSStyleDeclaration
public String getMsGridRowAlign()
msGridRowAlign
style attribute.getMsGridRowAlign
in class CSSStyleDeclaration
public String getMsGridRowSpan()
msGridRowSpan
style attribute.getMsGridRowSpan
in class CSSStyleDeclaration
public String getMsGridRows()
msGridRows
style attribute.getMsGridRows
in class CSSStyleDeclaration
public String getMsHighContrastAdjust()
msHighContrastAdjust
style attribute.getMsHighContrastAdjust
in class CSSStyleDeclaration
public String getMsHyphenateLimitChars()
msHyphenateLimitChars
style attribute.getMsHyphenateLimitChars
in class CSSStyleDeclaration
public String getMsHyphenateLimitLines()
msHyphenateLimitLines
style attribute.getMsHyphenateLimitLines
in class CSSStyleDeclaration
public String getMsHyphenateLimitZone()
msHyphenateLimitZone
style attribute.getMsHyphenateLimitZone
in class CSSStyleDeclaration
public String getMsHyphens()
msHyphens
style attribute.getMsHyphens
in class CSSStyleDeclaration
public String getMsImeAlign()
msImeAlign
style attribute.getMsImeAlign
in class CSSStyleDeclaration
public String getMsInterpolationMode()
getMsInterpolationMode
in class CSSStyleDeclaration
public String getMsOverflowStyle()
msOverflowStyle
style attribute.getMsOverflowStyle
in class CSSStyleDeclaration
public String getMsPerspective()
msPerspective
style attribute.getMsPerspective
in class CSSStyleDeclaration
public String getMsPerspectiveOrigin()
msPerspectiveOrigin
style attribute.getMsPerspectiveOrigin
in class CSSStyleDeclaration
public String getMsScrollChaining()
msScrollChaining
style attribute.getMsScrollChaining
in class CSSStyleDeclaration
public String getMsScrollLimit()
msScrollLimit
style attribute.getMsScrollLimit
in class CSSStyleDeclaration
public String getMsScrollLimitXMax()
msScrollLimitXMax
style attribute.getMsScrollLimitXMax
in class CSSStyleDeclaration
public String getMsScrollLimitXMin()
msScrollLimitXMin
style attribute.getMsScrollLimitXMin
in class CSSStyleDeclaration
public String getMsScrollLimitYMax()
msScrollLimitYMax
style attribute.getMsScrollLimitYMax
in class CSSStyleDeclaration
public String getMsScrollLimitYMin()
msScrollLimitYMin
style attribute.getMsScrollLimitYMin
in class CSSStyleDeclaration
public String getMsScrollRails()
msScrollRails
style attribute.getMsScrollRails
in class CSSStyleDeclaration
public String getMsScrollSnapPointsX()
msScrollSnapPointsX
style attribute.getMsScrollSnapPointsX
in class CSSStyleDeclaration
public String getMsScrollSnapPointsY()
msScrollSnapPointsY
style attribute.getMsScrollSnapPointsY
in class CSSStyleDeclaration
public String getMsScrollSnapType()
msScrollSnapType
style attribute.getMsScrollSnapType
in class CSSStyleDeclaration
public String getMsScrollSnapX()
msScrollSnapX
style attribute.getMsScrollSnapX
in class CSSStyleDeclaration
public String getMsScrollSnapY()
msScrollSnapY
style attribute.getMsScrollSnapY
in class CSSStyleDeclaration
public String getMsScrollTranslation()
msScrollTranslation
style attribute.getMsScrollTranslation
in class CSSStyleDeclaration
public String getMsTextCombineHorizontal()
msTextCombineHorizontal
style attribute.getMsTextCombineHorizontal
in class CSSStyleDeclaration
public String getMsTouchAction()
msTouchAction
style attribute.getMsTouchAction
in class CSSStyleDeclaration
public String getMsTouchSelect()
msTouchSelect
style attribute.getMsTouchSelect
in class CSSStyleDeclaration
public String getMsTransform()
msTransform
style attribute.getMsTransform
in class CSSStyleDeclaration
public String getMsTransformOrigin()
msTransformOrigin
style attribute.getMsTransformOrigin
in class CSSStyleDeclaration
public String getMsTransformStyle()
msTransformStyle
style attribute.getMsTransformStyle
in class CSSStyleDeclaration
public String getMsTransition()
msTransition
style attribute.getMsTransition
in class CSSStyleDeclaration
public String getMsTransitionDelay()
msTransitionDelay
style attribute.getMsTransitionDelay
in class CSSStyleDeclaration
public String getMsTransitionDuration()
msTransitionDuration
style attribute.getMsTransitionDuration
in class CSSStyleDeclaration
public String getMsTransitionProperty()
msTransitionProperty
style attribute.getMsTransitionProperty
in class CSSStyleDeclaration
public String getMsTransitionTimingFunction()
msTransitionTimingFunction
style attribute.getMsTransitionTimingFunction
in class CSSStyleDeclaration
public String getMsUserSelect()
msUserSelect
style attribute.getMsUserSelect
in class CSSStyleDeclaration
public String getMsWrapFlow()
msWrapFlow
style attribute.getMsWrapFlow
in class CSSStyleDeclaration
public String getMsWrapMargin()
msWrapMargin
style attribute.getMsWrapMargin
in class CSSStyleDeclaration
public String getMsWrapThrough()
msWrapThrough
style attribute.getMsWrapThrough
in class CSSStyleDeclaration
public String getOpacity()
getOpacity
in class CSSStyleDeclaration
public String getOrphans()
getOrphans
in class CSSStyleDeclaration
public String getOutlineColor()
getOutlineColor
in class CSSStyleDeclaration
public String getOutlineOffset()
getOutlineOffset
in class CSSStyleDeclaration
public String getOutlineStyle()
getOutlineStyle
in class CSSStyleDeclaration
public String getOutlineWidth()
getOutlineWidth
in class CSSStyleDeclaration
public String getOverflow()
getOverflow
in class CSSStyleDeclaration
public String getOverflowX()
getOverflowX
in class CSSStyleDeclaration
public String getOverflowY()
getOverflowY
in class CSSStyleDeclaration
public String getPageBreakAfter()
getPageBreakAfter
in class CSSStyleDeclaration
public String getPageBreakBefore()
getPageBreakBefore
in class CSSStyleDeclaration
public String getPageBreakInside()
getPageBreakInside
in class CSSStyleDeclaration
public String getPadding()
getPadding
in class CSSStyleDeclaration
public String getPaddingBottom()
getPaddingBottom
in class CSSStyleDeclaration
public String getPaddingLeft()
getPaddingLeft
in class CSSStyleDeclaration
public String getPaddingRight()
getPaddingRight
in class CSSStyleDeclaration
public String getPaddingTop()
getPaddingTop
in class CSSStyleDeclaration
public String getPointerEvents()
getPointerEvents
in class CSSStyleDeclaration
public String getPosition()
getPosition
in class CSSStyleDeclaration
public String getRight()
getRight
in class CSSStyleDeclaration
public String getScrollbar3dLightColor()
getScrollbar3dLightColor
in class CSSStyleDeclaration
public String getScrollbarArrowColor()
getScrollbarArrowColor
in class CSSStyleDeclaration
public String getScrollbarBaseColor()
getScrollbarBaseColor
in class CSSStyleDeclaration
public String getScrollbarDarkShadowColor()
getScrollbarDarkShadowColor
in class CSSStyleDeclaration
public String getScrollbarFaceColor()
getScrollbarFaceColor
in class CSSStyleDeclaration
public String getScrollbarHighlightColor()
getScrollbarHighlightColor
in class CSSStyleDeclaration
public String getScrollbarShadowColor()
getScrollbarShadowColor
in class CSSStyleDeclaration
public String getScrollbarTrackColor()
getScrollbarTrackColor
in class CSSStyleDeclaration
public String getStyleFloat()
getStyleFloat
in class CSSStyleDeclaration
public String getTableLayout()
getTableLayout
in class CSSStyleDeclaration
public String getTextAlign()
getTextAlign
in class CSSStyleDeclaration
public String getTextAlignLast()
getTextAlignLast
in class CSSStyleDeclaration
public String getTextAutospace()
getTextAutospace
in class CSSStyleDeclaration
public String getTextDecoration()
getTextDecoration
in class CSSStyleDeclaration
public String getTextIndent()
getTextIndent
in class CSSStyleDeclaration
public String getTextJustify()
getTextJustify
in class CSSStyleDeclaration
public String getTextJustifyTrim()
getTextJustifyTrim
in class CSSStyleDeclaration
public String getTextKashida()
getTextKashida
in class CSSStyleDeclaration
public String getTextKashidaSpace()
getTextKashidaSpace
in class CSSStyleDeclaration
public String getTextOverflow()
getTextOverflow
in class CSSStyleDeclaration
public String getTextShadow()
getTextShadow
in class CSSStyleDeclaration
public String getTextTransform()
getTextTransform
in class CSSStyleDeclaration
public String getTextUnderlinePosition()
getTextUnderlinePosition
in class CSSStyleDeclaration
public String getTop()
getTop
in class CSSStyleDeclaration
public String getVerticalAlign()
getVerticalAlign
in class CSSStyleDeclaration
public String getVisibility()
getVisibility
in class CSSStyleDeclaration
public String getWhiteSpace()
getWhiteSpace
in class CSSStyleDeclaration
public String getWidows()
getWidows
in class CSSStyleDeclaration
public String getWritingMode()
getWritingMode
in class CSSStyleDeclaration
public String getWidth()
getWidth
in class CSSStyleDeclaration
public int getCalculatedWidth(boolean includeBorder, boolean includePadding)
includeBorder
- whether or not to include the border width in the returned valueincludePadding
- whether or not to include the padding width in the returned valuepublic int getContentWidth()
public int getCalculatedHeight(boolean includeBorder, boolean includePadding)
includeBorder
- whether or not to include the border height in the returned valueincludePadding
- whether or not to include the padding height in the returned valuepublic int getContentHeight()
public boolean isScrollable(boolean horizontal)
horizontal
- if true, the caller is interested in scrollability along the x-axis;
if false, the caller is interested in scrollability along the y-axispublic int getTop(boolean includeMargin, boolean includeBorder, boolean includePadding)
includeMargin
- whether or not to take the margin into account in the calculationincludeBorder
- whether or not to take the border into account in the calculationincludePadding
- whether or not to take the padding into account in the calculationpublic int getLeft(boolean includeMargin, boolean includeBorder, boolean includePadding)
includeMargin
- whether or not to take the margin into account in the calculationincludeBorder
- whether or not to take the border into account in the calculationincludePadding
- whether or not to take the padding into account in the calculationpublic String getPositionWithInheritance()
public String getLeftWithInheritance()
public String getRightWithInheritance()
public String getTopWithInheritance()
public String getBottomWithInheritance()
public String getRubyOverhang()
getRubyOverhang
in class CSSStyleDeclaration
public String getRubyPosition()
getRubyPosition
in class CSSStyleDeclaration
public int getMarginLeftValue()
public int getMarginRightValue()
public int getMarginTopValue()
public int getMarginBottomValue()
public int getPaddingLeftValue()
public int getPaddingRightValue()
public int getPaddingTopValue()
public int getPaddingBottomValue()
public int getBorderLeftValue()
public int getBorderRightValue()
public int getBorderTopValue()
public int getBorderBottomValue()
public String getWordSpacing()
getWordSpacing
in class CSSStyleDeclaration
public String getWordWrap()
getWordWrap
in class CSSStyleDeclaration
protected String getStyleAttributeValue(StyleAttributes.Definition style)
getStyleAttributeValue
in class CSSStyleDeclaration
style
- the stylepublic Object getZIndex()
getZIndex
in class CSSStyleDeclaration
public String getZoom()
getZoom
in class CSSStyleDeclaration
public String getPropertyValue(String name)
getPropertyValue
in class CSSStyleDeclaration
name
- the style property nameprotected String pixelString(String value)
CSSStyleDeclaration.pixelValue(Element, CssValue)
if you need percentage support).value
- the length value to convert to a pixel length valuepixelString(Element, CSSStyleDeclaration.CssValue)
protected String pixelString(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 retrievedpixelString(String)
Copyright © 2002–2016 Gargoyle Software Inc.. All rights reserved.