public class ComputedCSSStyleDeclaration extends CSSStyleDeclaration
Window.getComputedStyle(Element, String),
Serialized FormCSSStyleDeclaration.CssValue, CSSStyleDeclaration.StyleElementPRIORITY_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, 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, removeProperty, setAccelerator, setAttribute, setBackground, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundPositionX, setBackgroundPositionY, setBackgroundRepeat, 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, 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, toStringclone, equivalentValues, getBrowserVersion, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElementdefineFunctionProperties, defineProperty, getClassName, setClassName, setParentScopeapplyDescriptorToAttributeBitset, 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, sizepublic ComputedCSSStyleDeclaration()
public ComputedCSSStyleDeclaration(CSSStyleDeclaration style)
style - the original Styleprotected String getStyleAttribute(String name)
getStyleAttribute in class CSSStyleDeclarationname - the name of the style attribute whose value is to be retrievedprotected void setStyleAttribute(String name, String newValue)
setStyleAttribute in class CSSStyleDeclarationname - 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)
CSSStyleDeclarationgetStyleElement in class CSSStyleDeclarationname - the name of the requested StyleElementpublic String getAccelerator()
accelerator style attribute.getAccelerator in class CSSStyleDeclarationpublic String getBackground()
background style attribute.getBackground in class CSSStyleDeclarationpublic String getBackgroundAttachment()
backgroundAttachment style attribute.getBackgroundAttachment in class CSSStyleDeclarationpublic String getBackgroundColor()
backgroundColor style attribute.getBackgroundColor in class CSSStyleDeclarationpublic String getBackgroundImage()
backgroundImage style attribute.getBackgroundImage in class CSSStyleDeclarationpublic String getBackgroundPosition()
backgroundPosition style attribute.getBackgroundPosition in class CSSStyleDeclarationpublic String getBackgroundPositionX()
backgroundPositionX style attribute.getBackgroundPositionX in class CSSStyleDeclarationpublic String getBackgroundPositionY()
backgroundPositionY style attribute.getBackgroundPositionY in class CSSStyleDeclarationpublic String getBackgroundRepeat()
backgroundRepeat style attribute.getBackgroundRepeat in class CSSStyleDeclarationpublic String getBorder()
border style attribute.getBorder in class CSSStyleDeclarationpublic String getBorderBottom()
borderBottom style attribute.getBorderBottom in class CSSStyleDeclarationpublic String getBorderColor()
borderColor style attribute.getBorderColor in class CSSStyleDeclarationpublic String getBorderBottomColor()
borderBottomColor style attribute.getBorderBottomColor in class CSSStyleDeclarationpublic String getBorderBottomStyle()
borderBottomStyle style attribute.getBorderBottomStyle in class CSSStyleDeclarationpublic String getBorderBottomWidth()
borderBottomWidth style attribute.getBorderBottomWidth in class CSSStyleDeclarationpublic String getBorderCollapse()
borderCollapse style attribute.getBorderCollapse in class CSSStyleDeclarationpublic String getBorderLeft()
borderLeft style attribute.getBorderLeft in class CSSStyleDeclarationpublic String getBorderLeftColor()
borderLeftColor style attribute.getBorderLeftColor in class CSSStyleDeclarationpublic String getBorderLeftStyle()
borderLeftStyle style attribute.getBorderLeftStyle in class CSSStyleDeclarationpublic String getBorderLeftWidth()
borderLeftWidth style attribute.getBorderLeftWidth in class CSSStyleDeclarationpublic String getBorderRight()
borderRight style attribute.getBorderRight in class CSSStyleDeclarationpublic String getBorderRightColor()
borderRightColor style attribute.getBorderRightColor in class CSSStyleDeclarationpublic String getBorderRightStyle()
borderRightStyle style attribute.getBorderRightStyle in class CSSStyleDeclarationpublic String getBorderRightWidth()
borderRightWidth style attribute.getBorderRightWidth in class CSSStyleDeclarationpublic String getBorderSpacing()
borderSpacing style attribute.getBorderSpacing in class CSSStyleDeclarationpublic String getBorderStyle()
borderStyle style attribute.getBorderStyle in class CSSStyleDeclarationpublic String getBorderTop()
borderTop style attribute.getBorderTop in class CSSStyleDeclarationpublic String getBorderTopColor()
borderTopColor style attribute.getBorderTopColor in class CSSStyleDeclarationpublic String getBorderTopStyle()
borderTopStyle style attribute.getBorderTopStyle in class CSSStyleDeclarationpublic String getBorderTopWidth()
borderTopWidth style attribute.getBorderTopWidth in class CSSStyleDeclarationpublic String getBorderWidth()
borderWidth style attribute.getBorderWidth in class CSSStyleDeclarationpublic String getBottom()
bottom style attribute.getBottom in class CSSStyleDeclarationpublic String getBoxSizing()
boxSizing style attribute.getBoxSizing in class CSSStyleDeclarationpublic String getCaptionSide()
captionSide style attribute.getCaptionSide in class CSSStyleDeclarationpublic String getClear()
clear style attribute.getClear in class CSSStyleDeclarationpublic String getClip()
clip style attribute.getClip in class CSSStyleDeclarationpublic String getContent()
content style attribute.getContent in class CSSStyleDeclarationpublic String getColor()
color style attribute.getColor in class CSSStyleDeclarationpublic String getCounterIncrement()
counterIncrement style attribute.getCounterIncrement in class CSSStyleDeclarationpublic String getCounterReset()
counterReset style attribute.getCounterReset in class CSSStyleDeclarationpublic String getCssFloat()
cssFloat style attribute.getCssFloat in class CSSStyleDeclarationpublic String getCursor()
cursor style attribute.getCursor in class CSSStyleDeclarationpublic String getDirection()
direction style attribute.getDirection in class CSSStyleDeclarationpublic String getDisplay()
display style attribute.getDisplay in class CSSStyleDeclarationpublic String getEmptyCells()
emptyCells style attribute.getEmptyCells in class CSSStyleDeclarationpublic String getFont()
font style attribute.getFont in class CSSStyleDeclarationpublic String getFontFamily()
fontFamily style attribute.getFontFamily in class CSSStyleDeclarationpublic String getFontSize()
fontSize style attribute.getFontSize in class CSSStyleDeclarationpublic String getFontSizeAdjust()
fontSizeAdjust style attribute.getFontSizeAdjust in class CSSStyleDeclarationpublic String getFontStretch()
fontStretch style attribute.getFontStretch in class CSSStyleDeclarationpublic String getFontStyle()
fontStyle style attribute.getFontStyle in class CSSStyleDeclarationpublic String getFontVariant()
fontVariant style attribute.getFontVariant in class CSSStyleDeclarationpublic String getFontWeight()
fontWeight style attribute.getFontWeight in class CSSStyleDeclarationpublic String getHeight()
height style attribute.getHeight in class CSSStyleDeclarationpublic String getImeMode()
imeMode style attribute.getImeMode in class CSSStyleDeclarationpublic String getLayoutFlow()
layoutFlow style attribute.getLayoutFlow in class CSSStyleDeclarationpublic String getLayoutGrid()
layoutGrid style attribute.getLayoutGrid in class CSSStyleDeclarationpublic String getLayoutGridChar()
layoutGridChar style attribute.getLayoutGridChar in class CSSStyleDeclarationpublic String getLayoutGridLine()
layoutGridLine style attribute.getLayoutGridLine in class CSSStyleDeclarationpublic String getLayoutGridMode()
layoutGridMode style attribute.getLayoutGridMode in class CSSStyleDeclarationpublic String getLayoutGridType()
layoutGridType style attribute.getLayoutGridType in class CSSStyleDeclarationpublic String getLeft()
left style attribute.getLeft in class CSSStyleDeclarationpublic String getLetterSpacing()
letterSpacing style attribute.getLetterSpacing in class CSSStyleDeclarationpublic String getLineBreak()
lineBreak style attribute.getLineBreak in class CSSStyleDeclarationpublic String getListStyle()
listStyle style attribute.getListStyle in class CSSStyleDeclarationpublic String getListStyleImage()
listStyleImage style attribute.getListStyleImage in class CSSStyleDeclarationpublic String getListStylePosition()
listStylePosition style attribute.getListStylePosition in class CSSStyleDeclarationpublic String getListStyleType()
listStyleType style attribute.getListStyleType in class CSSStyleDeclarationpublic String getMargin()
margin style attribute.getMargin in class CSSStyleDeclarationpublic String getMarginBottom()
marginBottom style attribute.getMarginBottom in class CSSStyleDeclarationpublic String getMarginLeft()
marginLeft style attribute.getMarginLeft in class CSSStyleDeclarationpublic String getMarginRight()
marginRight style attribute.getMarginRight in class CSSStyleDeclarationpublic String getMarginTop()
marginTop style attribute.getMarginTop in class CSSStyleDeclarationpublic String getMarkerOffset()
markerOffset style attribute.getMarkerOffset in class CSSStyleDeclarationpublic String getMaxHeight()
maxHeight style attribute.getMaxHeight in class CSSStyleDeclarationpublic String getMaxWidth()
maxWidth style attribute.getMaxWidth in class CSSStyleDeclarationpublic String getMinHeight()
minHeight style attribute.getMinHeight in class CSSStyleDeclarationpublic String getMinWidth()
minWidth style attribute.getMinWidth in class CSSStyleDeclarationpublic String getMsBlockProgression()
msBlockProgression style attribute.getMsBlockProgression in class CSSStyleDeclarationpublic String getMsContentZoomChaining()
msContentZoomChaining style attribute.getMsContentZoomChaining in class CSSStyleDeclarationpublic String getMsContentZoomLimit()
msContentZoomLimit style attribute.getMsContentZoomLimit in class CSSStyleDeclarationpublic String getMsContentZoomLimitMax()
msContentZoomLimitMax style attribute.getMsContentZoomLimitMax in class CSSStyleDeclarationpublic String getMsContentZoomLimitMin()
msContentZoomLimitMin style attribute.getMsContentZoomLimitMin in class CSSStyleDeclarationpublic String getMsContentZoomSnap()
msContentZoomSnap style attribute.getMsContentZoomSnap in class CSSStyleDeclarationpublic String getMsContentZoomSnapPoints()
msContentZoomSnapPoints style attribute.getMsContentZoomSnapPoints in class CSSStyleDeclarationpublic String getMsContentZoomSnapType()
msContentZoomSnapType style attribute.getMsContentZoomSnapType in class CSSStyleDeclarationpublic String getMsContentZooming()
msContentZooming style attribute.getMsContentZooming in class CSSStyleDeclarationpublic String getMsFlex()
msFlex style attribute.getMsFlex in class CSSStyleDeclarationpublic String getMsFlexAlign()
msFlexAlign style attribute.getMsFlexAlign in class CSSStyleDeclarationpublic String getMsFlexDirection()
msFlexDirection style attribute.getMsFlexDirection in class CSSStyleDeclarationpublic String getMsFlexFlow()
msFlexFlow style attribute.getMsFlexFlow in class CSSStyleDeclarationpublic String getMsFlexItemAlign()
msFlexItemAlign style attribute.getMsFlexItemAlign in class CSSStyleDeclarationpublic String getMsFlexLinePack()
msFlexLinePack style attribute.getMsFlexLinePack in class CSSStyleDeclarationpublic String getMsFlexNegative()
msFlexNegative style attribute.getMsFlexNegative in class CSSStyleDeclarationpublic String getMsFlexOrder()
msFlexOrder style attribute.getMsFlexOrder in class CSSStyleDeclarationpublic String getMsFlexPack()
msFlexPack style attribute.getMsFlexPack in class CSSStyleDeclarationpublic String getMsFlexPositive()
msFlexPositive style attribute.getMsFlexPositive in class CSSStyleDeclarationpublic String getMsFlexPreferredSize()
msFlexPreferredSize style attribute.getMsFlexPreferredSize in class CSSStyleDeclarationpublic String getMsFlexWrap()
msFlexWrap style attribute.getMsFlexWrap in class CSSStyleDeclarationpublic String getMsFlowFrom()
msFlowFrom style attribute.getMsFlowFrom in class CSSStyleDeclarationpublic String getMsFlowInto()
msFlowInto style attribute.getMsFlowInto in class CSSStyleDeclarationpublic String getMsFontFeatureSettings()
msFontFeatureSettings style attribute.getMsFontFeatureSettings in class CSSStyleDeclarationpublic String getMsGridColumn()
msGridColumn style attribute.getMsGridColumn in class CSSStyleDeclarationpublic String getMsGridColumnAlign()
msGridColumnAlign style attribute.getMsGridColumnAlign in class CSSStyleDeclarationpublic String getMsGridColumnSpan()
msGridColumnSpan style attribute.getMsGridColumnSpan in class CSSStyleDeclarationpublic String getMsGridColumns()
msGridColumns style attribute.getMsGridColumns in class CSSStyleDeclarationpublic String getMsGridRow()
msGridRow style attribute.getMsGridRow in class CSSStyleDeclarationpublic String getMsGridRowAlign()
msGridRowAlign style attribute.getMsGridRowAlign in class CSSStyleDeclarationpublic String getMsGridRowSpan()
msGridRowSpan style attribute.getMsGridRowSpan in class CSSStyleDeclarationpublic String getMsGridRows()
msGridRows style attribute.getMsGridRows in class CSSStyleDeclarationpublic String getMsHighContrastAdjust()
msHighContrastAdjust style attribute.getMsHighContrastAdjust in class CSSStyleDeclarationpublic String getMsHyphenateLimitChars()
msHyphenateLimitChars style attribute.getMsHyphenateLimitChars in class CSSStyleDeclarationpublic String getMsHyphenateLimitLines()
msHyphenateLimitLines style attribute.getMsHyphenateLimitLines in class CSSStyleDeclarationpublic String getMsHyphenateLimitZone()
msHyphenateLimitZone style attribute.getMsHyphenateLimitZone in class CSSStyleDeclarationpublic String getMsHyphens()
msHyphens style attribute.getMsHyphens in class CSSStyleDeclarationpublic String getMsImeAlign()
msImeAlign style attribute.getMsImeAlign in class CSSStyleDeclarationpublic String getMsInterpolationMode()
msInterpolationMode style attribute.getMsInterpolationMode in class CSSStyleDeclarationpublic String getMsOverflowStyle()
msOverflowStyle style attribute.getMsOverflowStyle in class CSSStyleDeclarationpublic String getMsPerspective()
msPerspective style attribute.getMsPerspective in class CSSStyleDeclarationpublic String getMsPerspectiveOrigin()
msPerspectiveOrigin style attribute.getMsPerspectiveOrigin in class CSSStyleDeclarationpublic String getMsScrollChaining()
msScrollChaining style attribute.getMsScrollChaining in class CSSStyleDeclarationpublic String getMsScrollLimit()
msScrollLimit style attribute.getMsScrollLimit in class CSSStyleDeclarationpublic String getMsScrollLimitXMax()
msScrollLimitXMax style attribute.getMsScrollLimitXMax in class CSSStyleDeclarationpublic String getMsScrollLimitXMin()
msScrollLimitXMin style attribute.getMsScrollLimitXMin in class CSSStyleDeclarationpublic String getMsScrollLimitYMax()
msScrollLimitYMax style attribute.getMsScrollLimitYMax in class CSSStyleDeclarationpublic String getMsScrollLimitYMin()
msScrollLimitYMin style attribute.getMsScrollLimitYMin in class CSSStyleDeclarationpublic String getMsScrollRails()
msScrollRails style attribute.getMsScrollRails in class CSSStyleDeclarationpublic String getMsScrollSnapPointsX()
msScrollSnapPointsX style attribute.getMsScrollSnapPointsX in class CSSStyleDeclarationpublic String getMsScrollSnapPointsY()
msScrollSnapPointsY style attribute.getMsScrollSnapPointsY in class CSSStyleDeclarationpublic String getMsScrollSnapType()
msScrollSnapType style attribute.getMsScrollSnapType in class CSSStyleDeclarationpublic String getMsScrollSnapX()
msScrollSnapX style attribute.getMsScrollSnapX in class CSSStyleDeclarationpublic String getMsScrollSnapY()
msScrollSnapY style attribute.getMsScrollSnapY in class CSSStyleDeclarationpublic String getMsScrollTranslation()
msScrollTranslation style attribute.getMsScrollTranslation in class CSSStyleDeclarationpublic String getMsTextCombineHorizontal()
msTextCombineHorizontal style attribute.getMsTextCombineHorizontal in class CSSStyleDeclarationpublic String getMsTouchAction()
msTouchAction style attribute.getMsTouchAction in class CSSStyleDeclarationpublic String getMsTouchSelect()
msTouchSelect style attribute.getMsTouchSelect in class CSSStyleDeclarationpublic String getMsTransform()
msTransform style attribute.getMsTransform in class CSSStyleDeclarationpublic String getMsTransformOrigin()
msTransformOrigin style attribute.getMsTransformOrigin in class CSSStyleDeclarationpublic String getMsTransformStyle()
msTransformStyle style attribute.getMsTransformStyle in class CSSStyleDeclarationpublic String getMsTransition()
msTransition style attribute.getMsTransition in class CSSStyleDeclarationpublic String getMsTransitionDelay()
msTransitionDelay style attribute.getMsTransitionDelay in class CSSStyleDeclarationpublic String getMsTransitionDuration()
msTransitionDuration style attribute.getMsTransitionDuration in class CSSStyleDeclarationpublic String getMsTransitionProperty()
msTransitionProperty style attribute.getMsTransitionProperty in class CSSStyleDeclarationpublic String getMsTransitionTimingFunction()
msTransitionTimingFunction style attribute.getMsTransitionTimingFunction in class CSSStyleDeclarationpublic String getMsUserSelect()
msUserSelect style attribute.getMsUserSelect in class CSSStyleDeclarationpublic String getMsWrapFlow()
msWrapFlow style attribute.getMsWrapFlow in class CSSStyleDeclarationpublic String getMsWrapMargin()
msWrapMargin style attribute.getMsWrapMargin in class CSSStyleDeclarationpublic String getMsWrapThrough()
msWrapThrough style attribute.getMsWrapThrough in class CSSStyleDeclarationpublic String getOpacity()
opacity style attribute.getOpacity in class CSSStyleDeclarationpublic String getOrphans()
orphans style attribute.getOrphans in class CSSStyleDeclarationpublic String getOutlineColor()
outlineColor style attribute.getOutlineColor in class CSSStyleDeclarationpublic String getOutlineOffset()
outlineOffset style attribute.getOutlineOffset in class CSSStyleDeclarationpublic String getOutlineStyle()
outlineStyle style attribute.getOutlineStyle in class CSSStyleDeclarationpublic String getOutlineWidth()
outlineWidth style attribute.getOutlineWidth in class CSSStyleDeclarationpublic String getOverflow()
overflow style attribute.getOverflow in class CSSStyleDeclarationpublic String getOverflowX()
overflowX style attribute.getOverflowX in class CSSStyleDeclarationpublic String getOverflowY()
overflowY style attribute.getOverflowY in class CSSStyleDeclarationpublic String getPageBreakAfter()
pageBreakAfter style attribute.getPageBreakAfter in class CSSStyleDeclarationpublic String getPageBreakBefore()
pageBreakBefore style attribute.getPageBreakBefore in class CSSStyleDeclarationpublic String getPageBreakInside()
pageBreakInside style attribute.getPageBreakInside in class CSSStyleDeclarationpublic String getPadding()
padding style attribute.getPadding in class CSSStyleDeclarationpublic String getPaddingBottom()
paddingBottom style attribute.getPaddingBottom in class CSSStyleDeclarationpublic String getPaddingLeft()
paddingLeft style attribute.getPaddingLeft in class CSSStyleDeclarationpublic String getPaddingRight()
paddingRight style attribute.getPaddingRight in class CSSStyleDeclarationpublic String getPaddingTop()
paddingTop style attribute.getPaddingTop in class CSSStyleDeclarationpublic String getPointerEvents()
pointerEvents style attribute.getPointerEvents in class CSSStyleDeclarationpublic String getPosition()
position style attribute.getPosition in class CSSStyleDeclarationpublic String getRight()
right style attribute.getRight in class CSSStyleDeclarationpublic String getScrollbar3dLightColor()
scrollbar3dLightColor style attribute.getScrollbar3dLightColor in class CSSStyleDeclarationpublic String getScrollbarArrowColor()
scrollbarArrowColor style attribute.getScrollbarArrowColor in class CSSStyleDeclarationpublic String getScrollbarBaseColor()
scrollbarBaseColor style attribute.getScrollbarBaseColor in class CSSStyleDeclarationpublic String getScrollbarDarkShadowColor()
scrollbarDarkShadowColor style attribute.getScrollbarDarkShadowColor in class CSSStyleDeclarationpublic String getScrollbarFaceColor()
scrollbarFaceColor style attribute.getScrollbarFaceColor in class CSSStyleDeclarationpublic String getScrollbarHighlightColor()
scrollbarHighlightColor style attribute.getScrollbarHighlightColor in class CSSStyleDeclarationpublic String getScrollbarShadowColor()
scrollbarShadowColor style attribute.getScrollbarShadowColor in class CSSStyleDeclarationpublic String getScrollbarTrackColor()
scrollbarTrackColor style attribute.getScrollbarTrackColor in class CSSStyleDeclarationpublic String getStyleFloat()
styleFloat style attribute.getStyleFloat in class CSSStyleDeclarationpublic String getTableLayout()
tableLayout style attribute.getTableLayout in class CSSStyleDeclarationpublic String getTextAlign()
textAlign style attribute.getTextAlign in class CSSStyleDeclarationpublic String getTextAlignLast()
textAlignLast style attribute.getTextAlignLast in class CSSStyleDeclarationpublic String getTextAutospace()
textAutospace style attribute.getTextAutospace in class CSSStyleDeclarationpublic String getTextDecoration()
textDecoration style attribute.getTextDecoration in class CSSStyleDeclarationpublic String getTextIndent()
textIndent style attribute.getTextIndent in class CSSStyleDeclarationpublic String getTextJustify()
textJustify style attribute.getTextJustify in class CSSStyleDeclarationpublic String getTextJustifyTrim()
textJustifyTrim style attribute.getTextJustifyTrim in class CSSStyleDeclarationpublic String getTextKashida()
textKashida style attribute.getTextKashida in class CSSStyleDeclarationpublic String getTextKashidaSpace()
textKashidaSpace style attribute.getTextKashidaSpace in class CSSStyleDeclarationpublic String getTextOverflow()
textOverflow style attribute.getTextOverflow in class CSSStyleDeclarationpublic String getTextShadow()
textShadow style attribute.getTextShadow in class CSSStyleDeclarationpublic String getTextTransform()
textTransform style attribute.getTextTransform in class CSSStyleDeclarationpublic String getTextUnderlinePosition()
textUnderlinePosition style attribute.getTextUnderlinePosition in class CSSStyleDeclarationpublic String getTop()
top style attribute.getTop in class CSSStyleDeclarationpublic String getVerticalAlign()
verticalAlign style attribute.getVerticalAlign in class CSSStyleDeclarationpublic String getVisibility()
visibility style attribute.getVisibility in class CSSStyleDeclarationpublic String getWhiteSpace()
whiteSpace style attribute.getWhiteSpace in class CSSStyleDeclarationpublic String getWidows()
widows style attribute.getWidows in class CSSStyleDeclarationpublic String getWritingMode()
writingMode style attribute.getWritingMode in class CSSStyleDeclarationpublic String getWidth()
width style attribute.getWidth in class CSSStyleDeclarationpublic 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)
true if the element is scrollable along the specified axis.horizontal - if true, the caller is interested in scrollability along the x-axis;
if false, the caller is interested in scrollability along the y-axistrue if the element is scrollable along the specified 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()
position attribute, replacing inherited values with the actual parent values.position attribute, replacing inherited values with the actual parent valuespublic String getLeftWithInheritance()
left attribute, replacing inherited values with the actual parent values.left attribute, replacing inherited values with the actual parent valuespublic String getRightWithInheritance()
right attribute, replacing inherited values with the actual parent values.right attribute, replacing inherited values with the actual parent valuespublic String getTopWithInheritance()
top attribute, replacing inherited values with the actual parent values.top attribute, replacing inherited values with the actual parent valuespublic String getBottomWithInheritance()
bottom attribute, replacing inherited values with the actual parent values.bottom attribute, replacing inherited values with the actual parent valuespublic String getRubyOverhang()
rubyOverhang style attribute.getRubyOverhang in class CSSStyleDeclarationpublic String getRubyPosition()
rubyPosition style attribute.getRubyPosition in class CSSStyleDeclarationpublic 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()
wordSpacing style attribute.getWordSpacing in class CSSStyleDeclarationpublic String getWordWrap()
wordWrap style attribute.getWordWrap in class CSSStyleDeclarationprotected String getStyleAttributeValue(StyleAttributes.Definition style)
getStyleAttributeValue in class CSSStyleDeclarationstyle - the stylepublic Object getZIndex()
zIndex style attribute.getZIndex in class CSSStyleDeclarationpublic String getZoom()
zoom style attribute.getZoom in class CSSStyleDeclarationpublic String getPropertyValue(String name)
getPropertyValue in class CSSStyleDeclarationname - 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.