public class CompactButtonRenderer extends java.lang.Object implements Renderer<ButtonAction>
Modifier and Type | Field and Description |
---|---|
private JspContext |
context |
Constructor and Description |
---|
CompactButtonRenderer(JspContext context) |
Modifier and Type | Method and Description |
---|---|
void |
render(ButtonAction btn)
Generates a linked icon:
<a id="[id]" class="[clazz]" style="[style]" title="[title]: [tooltip]" ><img src="[icon]"></a> If the button isn't visible nothing is generated. |
private JspContext context
public CompactButtonRenderer(JspContext context)
public void render(ButtonAction btn)
<a id="[id]" class="[clazz]" style="[style]" title="[title]: [tooltip]" ><img src="[icon]"></a>If the button isn't visible nothing is generated. If the button isn't enabled, the href attribute is not generated.
render
in interface Renderer<ButtonAction>
btn
- The action to render