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

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.MenuTag
All Implemented Interfaces:
JspTag, Tag, MenuTagDeclaration, TobagoTagDeclaration, HasBinding, HasId, HasIdBindingAndRendered, HasImage, HasLabel, HasLabelWithAccessKey, IsDisabled, IsRendered

public class MenuTag
extends TobagoTag
implements MenuTagDeclaration


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
MenuTag()
           
 
Method Summary
 String getAccessKey()
           
 String getComponentType()
           
 String getImage()
           
 String getLabel()
           
 String getLabelWithAccessKey()
           
 void release()
           
 void setAccessKey(String accessKey)
          Deprecated!
 void setImage(String image)
          Url to an image to display.
 void setLabel(String label)
          Text value to display as label.
 void setLabelWithAccessKey(String labelWithAccessKey)
          Deprecated!
protected  void setProperties(UIComponent component)
           
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag
doEndTag, doStartTag, getDisabled, getHeight, getHidden, getInline, getReadonly, getRendererType, getTitle, getWidth, setDisabled, setHeight, setHidden, setInline, 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.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.IsDisabled
setDisabled
 

Constructor Detail

MenuTag

public MenuTag()
Method Detail

setProperties

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

getComponentType

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

release

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

getLabel

public String getLabel()
Overrides:
getLabel in class TobagoTag

setLabel

public void setLabel(String label)
Description copied from interface: HasLabel
Text value to display as label. If text contains an underscore the next character is used as accesskey.

Specified by:
setLabel in interface HasLabel
Overrides:
setLabel in class TobagoTag

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

getAccessKey

public String getAccessKey()

setAccessKey

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

Specified by:
setAccessKey in interface HasLabelWithAccessKey

getLabelWithAccessKey

public String getLabelWithAccessKey()

setLabelWithAccessKey

public void setLabelWithAccessKey(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


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