org.apache.myfaces.tobago.taglib.sandbox
Class TreeNodeTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.myfaces.tobago.taglib.component.TobagoTag
          extended by org.apache.myfaces.tobago.taglib.component.AbstractCommandTag
              extended by org.apache.myfaces.tobago.taglib.sandbox.TreeNodeTag
All Implemented Interfaces:
JspTag, Tag, AbstractCommandTagDeclaration, TobagoTagDeclaration, HasAction, HasActionListener, HasBinding, HasId, HasIdBindingAndRendered, HasImage, HasLabel, HasLink, HasMarkup, HasOnclick, HasTarget, HasTip, HasValue, IsDisabled, IsImmediateCommand, IsRendered, IsTransition, TreeNodeTagDeclaration

public class TreeNodeTag
extends AbstractCommandTag
implements TreeNodeTagDeclaration


Field Summary
 
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
TreeNodeTag()
           
 
Method Summary
 String getComponentType()
           
 String getExpanded()
           
 String getImage()
           
 String getMarked()
           
 String getMarkup()
           
 String getValue()
           
 void release()
           
 void setExpanded(String expanded)
          Flag indicating if the subnodes are to be displayed.
 void setImage(String image)
          Url to an image to display.
 void setMarked(String marked)
          Flag indicating if the node is marked, and should be displayed in a special way.
 void setMarkup(String markup)
          Indicate markup of this component.
protected  void setProperties(UIComponent component)
           
 void setTarget(String target)
          Name of a frame where the resource retrieved via this hyperlink is to be displayed.
 void setTip(String tip)
          Text value to display as tooltip.
 void setValue(String value)
          The current value of this component.
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.AbstractCommandTag
getAction, getActionListener, getImmediate, getType, setAction, setActionListener, setDisabled, setImmediate, setLink, setOnclick, setTransition, setType
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag
doEndTag, doStartTag, getDisabled, getHeight, getHidden, getInline, getLabel, getReadonly, getRendererType, getTitle, getWidth, setHeight, setHidden, setInline, setLabel, setReadonly, setTitle, setWidth
 
Methods inherited from class javax.faces.webapp.UIComponentTag
encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, 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 org.apache.myfaces.tobago.taglib.decl.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasBinding
setBinding
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsRendered
setRendered
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasLabel
setLabel
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasAction
setAction
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasActionListener
setActionListener
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsImmediateCommand
setImmediate
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasOnclick
setOnclick
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasLink
setLink
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsTransition
setTransition
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsDisabled
setDisabled
 

Constructor Detail

TreeNodeTag

public TreeNodeTag()
Method Detail

getComponentType

public String getComponentType()
Overrides:
getComponentType in class AbstractCommandTag

setProperties

protected void setProperties(UIComponent component)
Overrides:
setProperties in class AbstractCommandTag

release

public void release()
Specified by:
release in interface Tag
Overrides:
release in class AbstractCommandTag

getValue

public String getValue()

setValue

public void setValue(String value)
Description copied from interface: HasValue
The current value of this component.

Specified by:
setValue in interface HasValue

getMarkup

public String getMarkup()

setMarkup

public void setMarkup(String markup)
Description copied from interface: HasMarkup
Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.

Specified by:
setMarkup in interface HasMarkup

setTip

public void setTip(String tip)
Description copied from interface: HasTip
Text value to display as tooltip.

Specified by:
setTip in interface HasTip

setTarget

public void setTarget(String target)
Description copied from interface: HasTarget
Name of a frame where the resource retrieved via this hyperlink is to be displayed.

Specified by:
setTarget in interface HasTarget

getExpanded

public String getExpanded()

setExpanded

public void setExpanded(String expanded)
Description copied from interface: TreeNodeTagDeclaration
Flag indicating if the subnodes are to be displayed.

Specified by:
setExpanded in interface TreeNodeTagDeclaration

getMarked

public String getMarked()

setMarked

public void setMarked(String marked)
Description copied from interface: TreeNodeTagDeclaration
Flag indicating if the node is marked, and should be displayed in a special way.

Specified by:
setMarked in interface TreeNodeTagDeclaration

getImage

public String getImage()

setImage

public void setImage(String image)
Description copied from interface: HasImage
Url to an image to display.

Specified by:
setImage in interface HasImage


Copyright © 2002-2008 Apache Software Foundation. All Rights Reserved.