com.infragistics.faces.chart.taglib.html
Class CaptionTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.infragistics.faces.shared.taglib.ModelComponentTag
com.infragistics.faces.chart.taglib.html.CaptionTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class CaptionTag
- extends ModelComponentTag
JSP Tags For The caption Component.
Caption components may be nested within a Chart to display a styled label.
Use
To use the component in a JSP page, declare the taglib:
<%@ taglib prefix="ig" uri="http://www.infragistics.com/faces/netadvantage" %>
and instantiate:
<ig:caption >
Attributes
| Name | Type | Default | Description |
| caption | String | """" | The string displayed by this component. |
| position | Position | "Position.TOP" | The automatic layout positioning flag. |
| style | String | "" | The CSS style applied when this caption is rendered. |
| styleClass | String | ""caption"" | The CSS style applied when this component is rendered. |
- See Also:
- Serialized Form
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
|
Method Summary |
java.lang.Object |
getNewInstance()
This method must be implemented by subclasses and return an instance
of a CompositeProperty |
void |
release()
|
void |
setCaption(java.lang.String newValue)
|
void |
setPosition(java.lang.String newValue)
|
void |
setStyle(java.lang.String newValue)
|
void |
setStyleClass(java.lang.String newValue)
|
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaptionTag
public CaptionTag()
Constructor
release
public void release()
- Specified by:
release in interface javax.servlet.jsp.tagext.Tag- Overrides:
release in class ModelComponentTag
setCaption
public void setCaption(java.lang.String newValue)
setPosition
public void setPosition(java.lang.String newValue)
setStyle
public void setStyle(java.lang.String newValue)
setStyleClass
public void setStyleClass(java.lang.String newValue)
getNewInstance
public java.lang.Object getNewInstance()
- Description copied from class:
ModelComponentTag
- This method must be implemented by subclasses and return an instance
of a CompositeProperty
- Specified by:
getNewInstance in class ModelComponentTag
- Returns: