Class AbstractWebActionControlDepictor<C extends ActionControl>

Type Parameters:
C - The type of component being depicted.
All Implemented Interfaces:
ComponentDepictor<C>, Depictor<C>, WebComponentDepictor<C>, WebDepictor<C>
Direct Known Subclasses:
WebButtonDepictor, WebCustomButtonDepictor, WebLinkDepictor

public abstract class AbstractWebActionControlDepictor<C extends ActionControl> extends AbstractSimpleWebComponentDepictor<C>
Abstract depictor for rendering simple action controls in XHTML. By default this implementation ignores changes in the ActionControl.ROLLOVER_PROPERTY property when determining whether to update the control. Depictors that wish to update the control upon rollover change must (besides implementing changing of the rollover property) remove the rollover property from the list of ignored properties, AbstractDepictor.getIgnoredProperties().
Author:
Garret Wilson
  • Constructor Details

    • AbstractWebActionControlDepictor

      public AbstractWebActionControlDepictor()
      Default constructor with no element representation.
    • AbstractWebActionControlDepictor

      public AbstractWebActionControlDepictor(URI namespaceURI, String localName)
      Element namespace and local name constructor that doesn't create an empty element, even if there is no content.
      Parameters:
      namespaceURI - The URI of the XML namespace of the element, or null if there is no namespace.
      localName - The local name of the element with no prefix, or null if this component should not be rendered as an element.
    • AbstractWebActionControlDepictor

      public AbstractWebActionControlDepictor(URI namespaceURI, String localName, boolean isEmptyElementAllowed)
      Element namespace and local name constructor.
      Parameters:
      namespaceURI - The URI of the XML namespace of the element, or null if there is no namespace.
      localName - The local name of the element with no prefix, or null if this component should not be rendered as an element.
      isEmptyElementAllowed - Whether an empty element can be created if there is no content.
  • Method Details