|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleDeclaration.CssValue
protected abstract static class CSSStyleDeclaration.CssValue
Encapsulates the retrieval of a style attribute, given a DOM element from which to retrieve it.
Constructor Summary | |
---|---|
CSSStyleDeclaration.CssValue(int windowDefaultValue)
C'tor. |
Method Summary | |
---|---|
abstract String |
get(ComputedCSSStyleDeclaration style)
Returns the CSS attribute value from the specified computed style. |
String |
get(HTMLElement element)
Returns the CSS attribute value for the specified element. |
int |
getWindowDefaultValue()
Gets the default size for the window. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSSStyleDeclaration.CssValue(int windowDefaultValue)
windowDefaultValue
- the default value for the windowMethod Detail |
---|
public int getWindowDefaultValue()
public final String get(HTMLElement element)
element
- the element for which the CSS attribute value is to be retrieved
public abstract String get(ComputedCSSStyleDeclaration style)
style
- the computed style from which to retrieve the CSS attribute value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |