Class BaseDisclosureTag

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getDefaultStyleClass()
      Returns default style class.
      java.lang.String getStyle()
      Returns element style.
      java.lang.String getStyleClass()
      Returns css style class of element.
      protected void printStyleAndClass​(javax.servlet.jsp.JspWriter out)
      Prints 'style' and 'class' attributes of element.
      void setStyle​(java.lang.String style)
      Sets element style.
      void setStyleClass​(java.lang.String styleClass)
      Sets css style class of element.
      • Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport

        doTag, findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BaseDisclosureTag

        public BaseDisclosureTag()
    • Method Detail

      • getStyle

        public java.lang.String getStyle()
        Returns element style.
        Returns:
        element style
      • setStyle

        public void setStyle​(java.lang.String style)
        Sets element style.
        Parameters:
        style - the style
      • getStyleClass

        public java.lang.String getStyleClass()
        Returns css style class of element.
        Returns:
        css class
      • setStyleClass

        public void setStyleClass​(java.lang.String styleClass)
        Sets css style class of element.
        Parameters:
        styleClass - the style class
      • printStyleAndClass

        protected void printStyleAndClass​(javax.servlet.jsp.JspWriter out)
                                   throws java.io.IOException
        Prints 'style' and 'class' attributes of element.
        Parameters:
        out - output
        Throws:
        java.io.IOException - if exception occurs during writing to output stream
      • getDefaultStyleClass

        protected java.lang.String getDefaultStyleClass()
        Returns default style class. Each of tags has its own default style class. So if you want to set style of disclosure tag, just simply set 'disclosure' class in style sheet file.
        Returns:
        default style class