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

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.BeanTag
              extended by org.apache.myfaces.tobago.taglib.component.LabelTag
All Implemented Interfaces:
JspTag, Tag, BeanTagDeclaration, LabelTagDeclaration, TobagoTagDeclaration, HasBinding, HasDeprecatedWidth, HasFor, HasId, HasIdBindingAndRendered, HasLabelWithAccessKey, HasMarkup, HasTip, IsInline, IsRendered

public class LabelTag
extends BeanTag
implements LabelTagDeclaration


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
LabelTag()
           
 
Method Summary
 java.lang.String getAccessKey()
           
 java.lang.String getComponentType()
           
 java.lang.String getFor()
           
 java.lang.String getLabelWithAccessKey()
           
 java.lang.String getMarkup()
           
 java.lang.String getTip()
           
 void release()
           
 void setAccessKey(java.lang.String accessKey)
          Deprecated!
 void setFor(java.lang.String forComponent)
          Id of the component, this is related to.
 void setLabelWithAccessKey(java.lang.String labelWithAccessKey)
          Deprecated!
 void setMarkup(java.lang.String markup)
          Indicate markup of this component.
protected  void setProperties(UIComponent component)
           
 void setTip(java.lang.String tip)
          Text value to display as tooltip.
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.BeanTag
getConverter, getRequired, getValue, setConverter, setRequired, setValue
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag
doEndTag, doStartTag, getDisabled, getHeight, getHidden, getInline, getLabel, getReadonly, getRendererType, 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 org.apache.myfaces.tobago.taglib.component.LabelTagDeclaration
setValue
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 
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.IsInline
setInline
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasDeprecatedWidth
setWidth
 

Constructor Detail

LabelTag

public LabelTag()
Method Detail

getComponentType

public java.lang.String getComponentType()
Specified by:
getComponentType in class UIComponentTag

getFor

public java.lang.String getFor()

release

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

setFor

public void setFor(java.lang.String forComponent)
Description copied from interface: HasFor
Id of the component, this is related to.

Specified by:
setFor in interface HasFor

setProperties

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

getAccessKey

public java.lang.String getAccessKey()

setAccessKey

public void setAccessKey(java.lang.String accessKey)
Description copied from interface: HasLabelWithAccessKey
Deprecated! Has not longer any function. See label attribute.

Specified by:
setAccessKey in interface HasLabelWithAccessKey

getLabelWithAccessKey

public java.lang.String getLabelWithAccessKey()

setLabelWithAccessKey

public void setLabelWithAccessKey(java.lang.String labelWithAccessKey)
Description copied from interface: HasLabelWithAccessKey
Deprecated! Use 'label' instead. Text value to display as label. If text contains an underscore the next character overwrites 'accesskey'.

Specified by:
setLabelWithAccessKey in interface HasLabelWithAccessKey

getTip

public java.lang.String getTip()

setTip

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

Specified by:
setTip in interface HasTip

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.