Class CompactButtonRendererFactory

All Implemented Interfaces:
DynamicActionAttributes, RendererFactory<ButtonAction>

public class CompactButtonRendererFactory extends AbstractJspRendererFactory<ButtonAction>
Factory that create CompactButtonRenderer objects for rendering ButtonAction:s.
Version:
2.7
Author:
nicklas
Last modified
$Date:2008-03-20 12:15:25 +0100 (Thu, 20 Mar 2008) $
  • Field Details

    • buttonTag

      private String buttonTag
  • Constructor Details

    • CompactButtonRendererFactory

      public CompactButtonRendererFactory()
  • Method Details

    • getRenderer

      public CompactButtonRenderer getRenderer(InvokationContext<? extends ButtonAction> context)
      Description copied from interface: RendererFactory
      Get a renderer for a given context. This method may create a new instance or use an existing instance. If an existing instance is used, it must be thread-safe, since multiple threads may use the same renderer.
      Parameters:
      context - The current invokation context
      Returns:
      A renderer instance
    • setButtonTag

      public void setButtonTag(String tag)
      Set the HTML tag to use for the "button". The default is 'a'.
      Since:
      3.16
    • getButtonTag

      public String getButtonTag()
      Get the HTML tag to use for the "button". The default is 'a'.
      Since:
      3.16