Interface StyleTagDeclaration

    • Method Detail

      • setFile

        void setFile​(String file)
        Name of the stylesheet file to add to page. The name must be full qualified, or relative. If using a complete path from root, you'll need to add the contextPath from the web application. This can be done with the EL #{request.contextPath}.
      • setCustomClass

        void setCustomClass​(String customClass)
        Parameters:
        customClass - A custom CSS class for the parent component. Note: The rendered attribute has no effect to the use of this customClass. To switch the customClass, you may use an EL expression like e.g. customClass="#{isError ? 'red' : null}".
        Since:
        3.0.0
      • setSelector

        void setSelector​(String selector)
        Parameters:
        selector - A selector to define the element for this style rules. Defaults to the ID of the parent component.
        Since:
        4.0.0
      • setWidth

        void setWidth​(String width)
        Parameters:
        width - The width for the parent component.
        Since:
        3.0.0
      • setHeight

        void setHeight​(String height)
        Parameters:
        height - The height for the parent component.
        Since:
        3.0.0
      • setMinWidth

        void setMinWidth​(String minWidth)
        Parameters:
        minWidth - The minimum width for the parent component.
        Since:
        3.0.0
      • setMinHeight

        void setMinHeight​(String minHeight)
        Parameters:
        minHeight - The minimum height for the parent component.
        Since:
        3.0.0
      • setMaxWidth

        void setMaxWidth​(String maxWidth)
        Parameters:
        maxWidth - The maximum width for the parent component.
        Since:
        3.0.0
      • setMaxHeight

        void setMaxHeight​(String maxHeight)
        Parameters:
        maxHeight - The maximum height for the parent component.
        Since:
        3.0.0
      • setLeft

        void setLeft​(String left)
        Parameters:
        left - The left position value for the parent component.
        Since:
        3.0.0
      • setRight

        void setRight​(String right)
        Parameters:
        right - The left position value for the parent component.
        Since:
        3.0.0
      • setTop

        void setTop​(String top)
        Parameters:
        top - The top position value for the parent component.
        Since:
        3.0.0
      • setBottom

        void setBottom​(String bottom)
        Parameters:
        bottom - The top position value for the parent component.
        Since:
        3.0.0
      • setPaddingLeft

        void setPaddingLeft​(String paddingLeft)
        Parameters:
        paddingLeft - The left padding.
        Since:
        3.0.0
      • setPaddingRight

        void setPaddingRight​(String paddingRight)
        Parameters:
        paddingRight - The right padding.
        Since:
        3.0.0
      • setPaddingTop

        void setPaddingTop​(String paddingTop)
        Parameters:
        paddingTop - The top padding.
        Since:
        3.0.0
      • setPaddingBottom

        void setPaddingBottom​(String paddingBottom)
        Parameters:
        paddingBottom - The bottom padding.
        Since:
        3.0.0
      • setMarginLeft

        void setMarginLeft​(String marginLeft)
        Parameters:
        marginLeft - The margin at the left of the parent component.
        Since:
        3.0.0
      • setMarginRight

        void setMarginRight​(String marginRight)
        Parameters:
        marginRight - The margin at the right of the parent component.
        Since:
        3.0.0
      • setMarginTop

        void setMarginTop​(String marginTop)
        Parameters:
        marginTop - The margin at the top of the parent component.
        Since:
        3.0.0
      • setMarginBottom

        void setMarginBottom​(String marginBottom)
        Parameters:
        marginBottom - The margin at the bottom of the parent component.
        Since:
        3.0.0
      • setOverflowX

        void setOverflowX​(String overflowX)
        Parameters:
        overflowX - Does the component need a horizontal scrollbar.
        Since:
        3.0.0
      • setOverflowY

        void setOverflowY​(String overflowY)
        Parameters:
        overflowY - Does the component need a vertical scrollbar.
        Since:
        3.0.0
      • setPosition

        void setPosition​(String position)
        Parameters:
        position - Values for the position used with CSS.
        Since:
        3.0.0
      • setBackgroundImage

        void setBackgroundImage​(String backgroundImage)
        The background image of the element.
        Since:
        4.0.0
      • setFlexGrow

        void setFlexGrow​(String flexGrow)
        Flex grow value of the element.
        Since:
        4.0.0
      • setFlexShrink

        void setFlexShrink​(String flexShrink)
        Flex shrink value of the element.
        Since:
        4.0.0
      • setFlexBasis

        void setFlexBasis​(String flexBasis)
        Flex basis value of the element.
        Since:
        4.0.0
      • setGridTemplateColumns

        void setGridTemplateColumns​(String gridTemplateColumns)
        Grid template columns value of the element.
        Since:
        4.0.0
      • setGridTemplateRows

        void setGridTemplateRows​(String gridTemplateRows)
        Grid template rows value of the element.
        Since:
        4.0.0
      • setGridColumn

        void setGridColumn​(String gridColumn)
        Grid column value of the element.
        Since:
        4.0.0
      • setGridRow

        void setGridRow​(String gridRow)
        Grid row value of the element.
        Since:
        4.0.0
      • setRendered

        void setRendered​(String rendered)
        Note: The rendered attribute has no effect to the use of the customClass attribute.
        Specified by:
        setRendered in interface IsRendered