|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.webapp.UIComponentTag
com.mycompany.jsf.taglib.TreeTag
This class is a tag handler that creates and configures a "com.mycompany.Tree" component with a "com.mycompany.Tree" renderer.
Field Summary | |
private java.lang.String |
value
|
private java.lang.String |
var
|
private java.lang.String |
varNodeToggler
|
Fields inherited from class javax.faces.webapp.UIComponentTag |
pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
TreeTag()
|
Method Summary | |
java.lang.String |
getComponentType()
Returns "com.mycompany.Tree". |
java.lang.String |
getRendererType()
Returns "com.mycompany.Tree". |
protected void |
setProperties(javax.faces.component.UIComponent component)
Configures the component based on the tag handler property values. |
void |
setValue(java.lang.String value)
Sets the component's value, which must be a JSF value binding expression for a "com.mycompany.jsf.model.TreeModel" or a "com.mycompany.jsf.model.TreeNode" instance. |
void |
setVar(java.lang.String var)
Sets the value of the "var" property, i.e., the name of the request scope variable that holds the current node being processed. |
void |
setVarNodeToggler(java.lang.String varNodeToggler)
Sets the value of the "varNodeToggler" property, i.e., the name of the request scope variable that holds an instance of a class with a toggleExpanded() action method that toggles the value of the "expanded" property for the node it's bound to. |
Methods inherited from class javax.faces.webapp.UIComponentTag |
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, release, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String value
private java.lang.String var
private java.lang.String varNodeToggler
Constructor Detail |
public TreeTag()
Method Detail |
public void setValue(java.lang.String value)
public void setVar(java.lang.String var)
public void setVarNodeToggler(java.lang.String varNodeToggler)
public java.lang.String getComponentType()
public java.lang.String getRendererType()
protected void setProperties(javax.faces.component.UIComponent component)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |