org.apache.myfaces.custom.tree.taglib
Class AbstractTreeTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by javax.faces.webapp.UIComponentBodyTag
          extended by org.apache.myfaces.shared_tomahawk.taglib.html.HtmlPanelGroupTag
              extended by org.apache.myfaces.custom.tree.taglib.AbstractTreeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class AbstractTreeTag
extends org.apache.myfaces.shared_tomahawk.taglib.html.HtmlPanelGroupTag

HtmlTree tag.

Since:
1.1.7
Version:
$Revision: 888604 $ $Date: 2004/10/13 11:50:58
Author:
Oliver Rossmueller

Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentBodyTag
bodyContent
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
 
Constructor Summary
AbstractTreeTag()
           
 
Method Summary
 int doStartTag()
          Obtain tree model or create a default model.
 String getComponentType()
           
 String getRendererType()
           
 String getValue()
           
 String isExpandRoot()
           
 void release()
           
 void setExpandRoot(String expandRoot)
           
protected  void setProperties(javax.faces.component.UIComponent component)
          Applies attributes to the tree component
 void setValue(String newValue)
           
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.taglib.html.HtmlPanelGroupTag
setStyle, setStyleClass
 
Methods inherited from class javax.faces.webapp.UIComponentBodyTag
doAfterBody, doInitBody, getBodyContent, getDoAfterBodyValue, getDoStartValue, getPreviousOut, setBodyContent
 
Methods inherited from class javax.faces.webapp.UIComponentTag
doEndTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, getParent, setPageContext, setParent
 

Constructor Detail

AbstractTreeTag

public AbstractTreeTag()
Method Detail

getComponentType

public String getComponentType()
Overrides:
getComponentType in class org.apache.myfaces.shared_tomahawk.taglib.html.HtmlPanelGroupTag

getRendererType

public String getRendererType()
Overrides:
getRendererType in class org.apache.myfaces.shared_tomahawk.taglib.html.HtmlPanelGroupTag

getValue

public String getValue()

setValue

public void setValue(String newValue)

isExpandRoot

public String isExpandRoot()

setExpandRoot

public void setExpandRoot(String expandRoot)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Obtain tree model or create a default model.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.faces.webapp.UIComponentTag
Throws:
javax.servlet.jsp.JspException

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class org.apache.myfaces.shared_tomahawk.taglib.html.HtmlPanelGroupTag

setProperties

protected void setProperties(javax.faces.component.UIComponent component)
Applies attributes to the tree component

Overrides:
setProperties in class org.apache.myfaces.shared_tomahawk.taglib.html.HtmlPanelGroupTag


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.