2.17.2: 2011-06-17

net.sf.basedb.clients.web.extensions.toolbar
Class CompactButtonRenderer

java.lang.Object
  extended by net.sf.basedb.clients.web.extensions.toolbar.CompactButtonRenderer
All Implemented Interfaces:
Renderer<ButtonAction>

public class CompactButtonRenderer
extends Object
implements Renderer<ButtonAction>

A compact renderer for toolbar button actions, which only only displays the icon.

Version:
2.7
Author:
nicklas
Last modified
$Date:2008-03-20 12:15:25 +0100 (Thu, 20 Mar 2008) $

Field Summary
private  JspContext context
           
 
Constructor Summary
CompactButtonRenderer(JspContext context)
           
 
Method Summary
 void render(ButtonAction btn)
          Generates a linked icon:



                If the button isn't visible nothing is generated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

private JspContext context
Constructor Detail

CompactButtonRenderer

public CompactButtonRenderer(JspContext context)
Method Detail

render

public void render(ButtonAction btn)
Generates a linked icon:

If the button isn't visible nothing is generated. If the button isn't enabled, the href attribute is not generated.

Specified by:
render in interface Renderer<ButtonAction>
Parameters:
btn - The action to render

2.17.2: 2011-06-17