Class WebLabelPanelDepictor<C extends LayoutComponent>

Type Parameters:
C - The type of component being depicted.
All Implemented Interfaces:
ComponentDepictor<C>, Depictor<C>, WebComponentDepictor<C>, WebDepictor<C>

public class WebLabelPanelDepictor<C extends LayoutComponent> extends AbstractWebLayoutComponentDepictor<C>
Strategy for rendering a labeled panel as a series of XHTML elements. This controller can be substituted for WebFieldsetDepictor for a different rendering of group panels.
Author:
Garret Wilson
See Also:
  • Constructor Details

    • WebLabelPanelDepictor

      public WebLabelPanelDepictor()
      Default constructor using the XHTML <div> element.
  • Method Details

    • depictBegin

      protected void depictBegin() throws 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 LayoutComponent>
      Throws:
      IOException - if there is an error updating the depiction.
    • depictEnd

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

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

      This version closes the decorator elements.

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