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

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.ImageTag
All Implemented Interfaces:
JspTag, Tag, ImageTagDeclaration, TobagoTagDeclaration, HasBinding, HasBorder, HasDimension, HasHeight, HasId, HasIdBindingAndRendered, HasTip, HasWidth, IsRendered

public class ImageTag
extends TobagoTag
implements ImageTagDeclaration


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
ImageTag()
           
 
Method Summary
 String getAlt()
           
 String getBorder()
           
 String getComponentType()
           
 String getHeight()
           
 String getTip()
           
 String getValue()
           
 String getWidth()
           
 void release()
           
 void setAlt(String alt)
          Alternate textual description of the image rendered by this component.
 void setBorder(String border)
          Border size of this component.
 void setHeight(String height)
          The height for this component.
protected  void setProperties(UIComponent component)
           
 void setTip(String tip)
          Text value to display as tooltip.
 void setValue(String value)
          Absolute url to an image or image name to lookup in tobago resource path
 void setWidth(String width)
          The width for this component.
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag
doEndTag, doStartTag, getDisabled, getHidden, getInline, getLabel, getReadonly, getRendererType, getTitle, setDisabled, setHidden, setInline, setLabel, setReadonly, setTitle
 
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
 

Constructor Detail

ImageTag

public ImageTag()
Method Detail

getComponentType

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

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

getValue

public String getValue()

setValue

public void setValue(String value)
Description copied from interface: ImageTagDeclaration
Absolute url to an image or image name to lookup in tobago resource path

Specified by:
setValue in interface ImageTagDeclaration

getAlt

public String getAlt()

setAlt

public void setAlt(String alt)
Description copied from interface: ImageTagDeclaration
Alternate textual description of the image rendered by this component.

Specified by:
setAlt in interface ImageTagDeclaration

getBorder

public String getBorder()

setBorder

public void setBorder(String border)
Description copied from interface: HasBorder
Border size of this component.

Specified by:
setBorder in interface HasBorder

getTip

public String getTip()

setTip

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

Specified by:
setTip in interface HasTip

getWidth

public String getWidth()
Overrides:
getWidth in class TobagoTag

setWidth

public void setWidth(String width)
Description copied from interface: HasWidth
The width for this component. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.

Specified by:
setWidth in interface HasWidth
Overrides:
setWidth in class TobagoTag

getHeight

public String getHeight()
Overrides:
getHeight in class TobagoTag

setHeight

public void setHeight(String height)
Description copied from interface: HasHeight
The height for this component.

Specified by:
setHeight in interface HasHeight
Overrides:
setHeight in class TobagoTag


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.