Interface BoxValues

All Known Subinterfaces:
BoxValues.TableBoxValues

public interface BoxValues
Interface giving access to the computed box values.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Sub-interface for tables in the simple box model.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Gets the computed value of the border-bottom-width property, expressed in a previously specified unit (see the documentation for the class that returned this object).
    float
    Gets the computed value of the border-left-width property, expressed in a previously specified unit (see the documentation for the class that returned this object).
    float
    Gets the computed value of the border-right-width property, expressed in a previously specified unit (see the documentation for the class that returned this object).
    float
    Gets the computed value of the border-top-width property, expressed in a previously specified unit (see the documentation for the class that returned this object).
    float
    Gets the computed value of the margin-bottom property, expressed in a previously specified unit (see the documentation for the class that returned this object).
    float
    Gets the computed value of the margin-left property, expressed in a previously specified unit (see the documentation for the class that returned this object).
    float
    Gets the computed value of the margin-right property, expressed in a previously specified unit (see the documentation for the class that returned this object).
    float
    Gets the computed value of the margin-top property, expressed in a previously specified unit (see the documentation for the class that returned this object).
    float
    Gets the computed value of the padding-bottom property, expressed in a previously specified unit (see the documentation for the class that returned this object).
    float
    Gets the computed value of the padding-left property, expressed in a previously specified unit (see the documentation for the class that returned this object).
    float
    Gets the computed value of the padding-right property, expressed in a previously specified unit (see the documentation for the class that returned this object).
    float
    Gets the computed value of the padding-top property, expressed in a previously specified unit (see the documentation for the class that returned this object).
    float
    Gets the computed value of the width property, expressed in a previously specified unit (see the documentation for the class that returned this object).
  • Method Details

    • getMarginTop

      float getMarginTop()
      Gets the computed value of the margin-top property, expressed in a previously specified unit (see the documentation for the class that returned this object).
      Returns:
      the value of the margin-top property.
    • getMarginRight

      float getMarginRight()
      Gets the computed value of the margin-right property, expressed in a previously specified unit (see the documentation for the class that returned this object).
      Returns:
      the value of the margin-right property.
    • getMarginBottom

      float getMarginBottom()
      Gets the computed value of the margin-bottom property, expressed in a previously specified unit (see the documentation for the class that returned this object).
      Returns:
      the value of the margin-bottom property.
    • getMarginLeft

      float getMarginLeft()
      Gets the computed value of the margin-left property, expressed in a previously specified unit (see the documentation for the class that returned this object).
      Returns:
      the value of the margin-left property.
    • getPaddingTop

      float getPaddingTop()
      Gets the computed value of the padding-top property, expressed in a previously specified unit (see the documentation for the class that returned this object).
      Returns:
      the value of the padding-top property.
    • getPaddingRight

      float getPaddingRight()
      Gets the computed value of the padding-right property, expressed in a previously specified unit (see the documentation for the class that returned this object).
      Returns:
      the value of the padding-right property.
    • getPaddingBottom

      float getPaddingBottom()
      Gets the computed value of the padding-bottom property, expressed in a previously specified unit (see the documentation for the class that returned this object).
      Returns:
      the value of the padding-bottom property.
    • getPaddingLeft

      float getPaddingLeft()
      Gets the computed value of the padding-left property, expressed in a previously specified unit (see the documentation for the class that returned this object).
      Returns:
      the value of the padding-left property.
    • getBorderTopWidth

      float getBorderTopWidth()
      Gets the computed value of the border-top-width property, expressed in a previously specified unit (see the documentation for the class that returned this object).
      Returns:
      the value of the border-top-width property.
    • getBorderRightWidth

      float getBorderRightWidth()
      Gets the computed value of the border-right-width property, expressed in a previously specified unit (see the documentation for the class that returned this object).
      Returns:
      the value of the border-right-width property.
    • getBorderBottomWidth

      float getBorderBottomWidth()
      Gets the computed value of the border-bottom-width property, expressed in a previously specified unit (see the documentation for the class that returned this object).
      Returns:
      the value of the border-bottom-width property.
    • getBorderLeftWidth

      float getBorderLeftWidth()
      Gets the computed value of the border-left-width property, expressed in a previously specified unit (see the documentation for the class that returned this object).
      Returns:
      the value of the border-left-width property.
    • getWidth

      float getWidth()
      Gets the computed value of the width property, expressed in a previously specified unit (see the documentation for the class that returned this object).

      For non-replaced inline elements, table rows, and row groups the value is undefined, and an estimated content width is returned instead.

      Returns:
      the value of the width property.