public class Toolbar extends StylableTag
Syntax:
<tbl:toolbar id=... clazz=... subclass=... style=... visible=true|false >
Attribute | Default value | Required | Description |
id | - | no |
The ID of the toolbar. The value of this attribute
goes directly into the standard HTML id attribute.
This means that if you need a reference to the table object in your own
JavaScript code, you may for example use the following code:
toolbar = document.getElementById('<id>'); |
clazz | toolbar | no |
The value if this attribute goes directly into the standard HTML
class attribute. This allows you to apply different styles
to different tables.
|
style | - | no |
The value if this attribute goes directly into the standard HTML
style attribute. This allows you to apply different styles
to different tables.
|
visible | true | no | If the button should be visible or not. |
The <tbl:toolbar>
may contain the following subtags:
<tbl:button>
: Creates a button on the toolbar
<tbl:label>
: Creates a label on the toolbar
Modifier and Type | Field and Description |
---|---|
private boolean |
hasImages
If buttons should display images.
|
private boolean |
hasText
If buttons should display text.
|
private static long |
serialVersionUID |
private boolean |
visible
If the toolbar should be visible or not.
|
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
Toolbar() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
int |
doStartTag() |
boolean |
hasImages() |
boolean |
hasText() |
boolean |
isVisible() |
void |
setVisible(boolean visible) |
addDynamicAttributes, addIdAndStyles, getClazz, getDynamicActionAttributes, getDynamicAttribute, getFullClass, getIdPrefix, getStyle, getSubclass, initDefaultAttributes, setClazz, setDynamicAttribute, setMoreDynamicAttributes, setPageContext, setStyle, setSubclass
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setParent, setValue
private static final long serialVersionUID
private boolean visible
private boolean hasImages
private boolean hasText
public void setVisible(boolean visible)
public boolean isVisible()
public boolean hasImages()
public boolean hasText()
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
public int doEndTag() throws JspException
doEndTag
in interface Tag
doEndTag
in class TagSupport
JspException