Class WebPictureDepictor<C extends Picture>

    • Constructor Detail

      • WebPictureDepictor

        public WebPictureDepictor()
        Default constructor using the XHTML <div> element.
    • Method Detail

      • getBodyStyles

        protected java.util.Map<java.lang.String,​java.lang.Object> getBodyStyles()
        Retrieves the styles for the body element of the component.

        This version returns the style for background color.

        This version sets the opacity if necessary, and adds layout fixes for images within tables.

        Overrides:
        getBodyStyles in class AbstractWebComponentDepictor<C extends Picture>
        Returns:
        The styles for the body element of the component, mapped to CSS property names.
      • depictBegin

        protected void depictBegin()
                            throws java.io.IOException
        Begins the depiction process.

        This version renders the beginning XML element information, if there is any, leaving the beginning tag open for attributes.

        This version writes common XHTML attributes.

        This version wraps the component in a decorator element.

        Overrides:
        depictBegin in class AbstractWebComponentDepictor<C extends Picture>
        Throws:
        java.io.IOException - if there is an error updating the depiction.
      • depictEnd

        protected void depictEnd()
                          throws java.io.IOException
        Ends the depiction process.

        This version renders the ending XML element information, if there is any.

        This version renders the caption, if any, and closes the decorator elements.

        Overrides:
        depictEnd in class AbstractWebComponentDepictor<C extends Picture>
        Throws:
        java.io.IOException - if there is an error updating the depiction.