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
 java.lang.String getComponentType()
           
 java.lang.String getItemDescription()
           
 java.lang.String getItemDisabled()
           
 java.lang.String getItemImage()
           
 java.lang.String getItemLabel()
           
 java.lang.String getItemValue()
           
 java.lang.String getMarkup()
           
 java.lang.String getRendererType()
           
 java.lang.String getValue()
           
 void release()
           
 void setItemDescription(java.lang.String itemDescription)
          Flag indicating whether the option created by this component is disabled.
 void setItemDisabled(java.lang.String itemDisabled)
          Flag indicating whether the option created by this component is disabled.
 void setItemImage(java.lang.String itemImage)
          Image to be displayed to the user for this option.
 void setItemLabel(java.lang.String itemLabel)
          Label to be displayed to the user for this option.
 void setItemValue(java.lang.String itemValue)
          Value to be returned to the server if this option is selected by the user.
 void setMarkup(java.lang.String markup)
          Indicate markup of this component.
protected  void setProperties(UIComponent component)
           
 void setValue(java.lang.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 java.lang.String getComponentType()
Specified by:
getComponentType in class UIComponentTag

getRendererType

public java.lang.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 java.lang.String getItemDescription()

setItemDescription

public void setItemDescription(java.lang.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 java.lang.String getItemDisabled()

setItemDisabled

public void setItemDisabled(java.lang.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 java.lang.String getItemLabel()

setItemLabel

public void setItemLabel(java.lang.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 java.lang.String getItemValue()

setItemValue

public void setItemValue(java.lang.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 java.lang.String getValue()

setValue

public void setValue(java.lang.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 java.lang.String getItemImage()

setItemImage

public void setItemImage(java.lang.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 java.lang.String getMarkup()

setMarkup

public void setMarkup(java.lang.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-2013 The Apache Software Foundation. All Rights Reserved.