Package | Description |
---|---|
org.htmlunit |
Framework classes (contains the
WebClient
class which is the main entry point). |
org.htmlunit.css |
Classes supporting Cascading Style Sheets.
|
org.htmlunit.html |
Classes specific to HTML pages, particularly the
HtmlPage which represents
an HTML document and provides access to its content. |
org.htmlunit.javascript.host.css |
Implementations of the CSS JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
Modifier and Type | Method and Description |
---|---|
ComputedCssStyleDeclaration |
WebWindowImpl.getComputedStyle(DomElement element,
String pseudoElement)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
ComputedCssStyleDeclaration |
WebWindow.getComputedStyle(DomElement element,
String pseudoElement)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
CssPixelValueConverter.CssValue.get(ComputedCssStyleDeclaration style)
Returns the CSS attribute value from the specified computed style.
|
void |
CssStyleSheet.modifyIfNecessary(ComputedCssStyleDeclaration style,
DomElement element,
String pseudoElement)
Modifies the specified style object by adding any style rules which apply to the specified
element.
|
Modifier and Type | Method and Description |
---|---|
ComputedCssStyleDeclaration |
HtmlPage.getStyleFromCache(DomElement element,
String normalizedPseudo)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
Modifier and Type | Method and Description |
---|---|
void |
HtmlPage.putStyleIntoCache(DomElement element,
String normalizedPseudo,
ComputedCssStyleDeclaration style)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
void |
HtmlBody.setDefaults(ComputedCssStyleDeclaration style)
Callback method which allows different HTML element types to perform custom
initialization of computed styles.
|
void |
DomElement.setDefaults(ComputedCssStyleDeclaration style)
Callback method which allows different HTML element types to perform custom
initialization of computed styles.
|
Modifier and Type | Method and Description |
---|---|
protected ComputedCssStyleDeclaration |
ComputedCSSStyleDeclaration.getCssStyleDeclaration() |
Constructor and Description |
---|
ComputedCSSStyleDeclaration(Element element,
ComputedCssStyleDeclaration cssStyleDeclaration)
Creates an instance.
|
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.