JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.css

Class CssPixelValueConverter.CssValue

  • Enclosing class:
    CssPixelValueConverter


    public abstract static class CssPixelValueConverter.CssValue
    extends Object 
    Encapsulates the retrieval of a style attribute, given a DOM element from which to retrieve it.
    • Constructor Detail

      • CssValue

        public CssValue(int defaultValue,
         int windowDefaultValue)
        C'tor.
        Parameters:
        defaultValue - the default value
        windowDefaultValue - the default value for the window
    • Method Detail

      • getDefaultValue

        public int getDefaultValue()
        Gets the default value.
        Returns:
        the default value
      • getWindowDefaultValue

        public int getWindowDefaultValue()
        Gets the default size for the window.
        Returns:
        the default value for the window
      • get

        public abstract String get(ComputedCssStyleDeclaration style)
        Returns the CSS attribute value from the specified computed style.
        Parameters:
        style - the computed style from which to retrieve the CSS attribute value
        Returns:
        the CSS attribute value from the specified computed style
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /