Interface StyleTarget

  • All Known Implementing Classes:
    Cell, QueryTable, Row

    public interface StyleTarget
    An interface that classes can use to indicate that they can hold styles.

    This is used by Table-related classes.

    • Method Detail

      • getCssClasses

        List<StringgetCssClasses()
        Retrieves the set of CSS Classes attached to this object
        Returns:
        The set of CSS class names
      • getStyle

        String getStyle()
        Gets the CSS style string for this object
        Returns:
        The CSS style string
      • setCssClasses

        void setCssClasses​(List<String> cssClasses)
        Stores the set of CSS classes attached to this object
        Parameters:
        cssClasses - The set of CSS class names
      • setStyle

        void setStyle​(String style)
        Sets the HTML element’s style property of this object
        Parameters:
        style - The CSS style string