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
 java.lang.String getAlt()
           
 java.lang.String getBorder()
           
 java.lang.String getComponentType()
           
 java.lang.String getHeight()
           
 java.lang.String getTip()
           
 java.lang.String getValue()
           
 java.lang.String getWidth()
           
 void release()
           
 void setAlt(java.lang.String alt)
          Alternate textual description of the image rendered by this component.
 void setBorder(java.lang.String border)
          Border size of this component.
 void setHeight(java.lang.String height)
          The height for this component.
protected  void setProperties(UIComponent component)
           
 void setTip(java.lang.String tip)
          Text value to display as tooltip.
 void setValue(java.lang.String value)
          Absolute url to an image or image name to lookup in tobago resource path
 void setWidth(java.lang.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 java.lang.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 java.lang.String getValue()

setValue

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

setAlt

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

setBorder

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

Specified by:
setBorder in interface HasBorder

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

getWidth

public java.lang.String getWidth()
Overrides:
getWidth in class TobagoTag

setWidth

public void setWidth(java.lang.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 java.lang.String getHeight()
Overrides:
getHeight in class TobagoTag

setHeight

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