protected abstract static class CSSStyleDeclaration.CssValue extends Object
Constructor and Description |
---|
CssValue(int defaultValue,
int windowDefaultValue)
C'tor.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
get(ComputedCSSStyleDeclaration style)
Returns the CSS attribute value from the specified computed style.
|
String |
get(Element element)
Returns the CSS attribute value for the specified element.
|
int |
getDefaultValue()
Gets the default value.
|
int |
getWindowDefaultValue()
Gets the default size for the window.
|
public CssValue(int defaultValue, int windowDefaultValue)
defaultValue
- the default valuewindowDefaultValue
- the default value for the windowpublic int getDefaultValue()
public int getWindowDefaultValue()
public final String get(Element element)
element
- the element for which the CSS attribute value is to be retrievedpublic abstract String get(ComputedCSSStyleDeclaration style)
style
- the computed style from which to retrieve the CSS attribute valueCopyright © 2002–2021 Gargoyle Software Inc.. All rights reserved.