org.apache.myfaces.tobago.taglib.component
Class SelectItemTag

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.SelectItemTag
All Implemented Interfaces:
JspTag, Tag, SelectItemTagDeclaration, TobagoTagDeclaration, HasBinding, HasId, HasMarkup

public class SelectItemTag
extends TobagoTag
implements SelectItemTagDeclaration


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
SelectItemTag()
           
 
Method Summary
 String getComponentType()
           
 String getItemDescription()
           
 String getItemDisabled()
           
 String getItemImage()
           
 String getItemLabel()
           
 String getItemValue()
           
 String getMarkup()
           
 String getRendererType()
           
 String getValue()
           
 void release()
           
 void setItemDescription(String itemDescription)
          Flag indicating whether the option created by this component is disabled.
 void setItemDisabled(String itemDisabled)
          Flag indicating whether the option created by this component is disabled.
 void setItemImage(String itemImage)
          Image to be displayed to the user for this option.
 void setItemLabel(String itemLabel)
          Label to be displayed to the user for this option.
 void setItemValue(String itemValue)
          Value to be returned to the server if this option is selected by the user.
 void setMarkup(String markup)
          Indicate markup of this component.
protected  void setProperties(UIComponent component)
           
 void setValue(String value)
          Value binding expression pointing at a SelectItem instance containing the information for this option.
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag
doEndTag, doStartTag, getDisabled, getHeight, getHidden, getInline, getLabel, getReadonly, getTitle, getWidth, setDisabled, 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 javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasBinding
setBinding
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId
setId
 

Constructor Detail

SelectItemTag

public SelectItemTag()
Method Detail

getComponentType

public String getComponentType()
Specified by:
getComponentType in class UIComponentTag

getRendererType

public String getRendererType()
Overrides:
getRendererType in class TobagoTag

setProperties

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

release

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

getItemDescription

public String getItemDescription()

setItemDescription

public void setItemDescription(String itemDescription)
Description copied from interface: SelectItemTagDeclaration
Flag indicating whether the option created by this component is disabled.

Specified by:
setItemDescription in interface SelectItemTagDeclaration

getItemDisabled

public String getItemDisabled()

setItemDisabled

public void setItemDisabled(String itemDisabled)
Description copied from interface: SelectItemTagDeclaration
Flag indicating whether the option created by this component is disabled.

Specified by:
setItemDisabled in interface SelectItemTagDeclaration

getItemLabel

public String getItemLabel()

setItemLabel

public void setItemLabel(String itemLabel)
Description copied from interface: SelectItemTagDeclaration
Label to be displayed to the user for this option.

Specified by:
setItemLabel in interface SelectItemTagDeclaration

getItemValue

public String getItemValue()

setItemValue

public void setItemValue(String itemValue)
Description copied from interface: SelectItemTagDeclaration
Value to be returned to the server if this option is selected by the user.

Specified by:
setItemValue in interface SelectItemTagDeclaration

getValue

public String getValue()

setValue

public void setValue(String value)
Description copied from interface: SelectItemTagDeclaration
Value binding expression pointing at a SelectItem instance containing the information for this option.

Specified by:
setValue in interface SelectItemTagDeclaration

getItemImage

public String getItemImage()

setItemImage

public void setItemImage(String itemImage)
Description copied from interface: SelectItemTagDeclaration
Image to be displayed to the user for this option.

Specified by:
setItemImage in interface SelectItemTagDeclaration

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


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