Class CompactButtonRendererFactory
java.lang.Object
net.sf.basedb.clients.web.extensions.AbstractJspFactory
net.sf.basedb.clients.web.extensions.AbstractJspRendererFactory<ButtonAction>
net.sf.basedb.clients.web.extensions.toolbar.CompactButtonRendererFactory
- All Implemented Interfaces:
DynamicActionAttributes
,RendererFactory<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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the HTML tag to use for the "button".getRenderer
(InvokationContext<? extends ButtonAction> context) Get a renderer for a given context.void
setButtonTag
(String tag) Set the HTML tag to use for the "button".Methods inherited from class net.sf.basedb.clients.web.extensions.AbstractJspRendererFactory
prepareContext
Methods inherited from class net.sf.basedb.clients.web.extensions.AbstractJspFactory
getDynamicActionAttributes, getParameter, getScripts, getStylesheets, prepareContext, setParameter, setScript, setStylesheet
-
Field Details
-
buttonTag
-
-
Constructor Details
-
CompactButtonRendererFactory
public CompactButtonRendererFactory()
-
-
Method Details
-
getRenderer
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
Set the HTML tag to use for the "button". The default is 'a'.- Since:
- 3.16
-
getButtonTag
Get the HTML tag to use for the "button". The default is 'a'.- Since:
- 3.16
-