org.jboss.seam.ui.taglib
Class TransformImageSizeTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTagBase
      extended by javax.faces.webapp.UIComponentClassicTagBase
          extended by javax.faces.webapp.UIComponentELTag
              extended by org.jboss.seam.ui.util.cdk.UIComponentELTagBase
                  extended by org.jboss.seam.ui.util.cdk.UIComponentTagBase
                      extended by org.jboss.seam.ui.taglib.TransformImageSizeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspIdConsumer, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class TransformImageSizeTag
extends UIComponentTagBase


Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase
bodyContent, pageContext, UNIQUE_ID_PREFIX
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Constructor Summary
TransformImageSizeTag()
           
 
Method Summary
 java.lang.String getComponentType()
           
 java.lang.String getRendererType()
           
 void release()
           
 void setFactor(javax.el.ValueExpression __factor)
          Change the size of the image by a fraction.
 void setHeight(javax.el.ValueExpression __height)
          The new height of the image Setter for height
 void setMaintainRatio(javax.el.ValueExpression __maintainRatio)
          If true, don't alter the ratio of the image.
protected  void setProperties(javax.faces.component.UIComponent component)
           
 void setWidth(javax.el.ValueExpression __width)
          The new width of the image Setter for width
 
Methods inherited from class org.jboss.seam.ui.util.cdk.UIComponentTagBase
getExpressionFactory, isValueReference, setActionListenerProperty, setActionProperty, setBooleanProperty, setBooleanProperty, setDoubleProperty, setDoubleProperty, setFloatProperty, setFloatProperty, setIntegerProperty, setIntegerProperty, setLongProperty, setLongProperty, setProperty, setProperty, setStringProperty, setStringProperty, setValueChangedListenerProperty, setValueProperty, setValueProperty
 
Methods inherited from class org.jboss.seam.ui.util.cdk.UIComponentELTagBase
setActionListenerProperty, setActionProperty, setConverterProperty, setValidatorProperty, setValueChangeListenerProperty
 
Methods inherited from class javax.faces.webapp.UIComponentELTag
createComponent, getELContext, hasBinding, setBinding, setRendered
 
Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, 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
 

Constructor Detail

TransformImageSizeTag

public TransformImageSizeTag()
Method Detail

setFactor

public void setFactor(javax.el.ValueExpression __factor)
Change the size of the image by a fraction. If factor is specified, height, width and maintainRatio should not be specified Setter for factor

Parameters:
factor - - new value

setHeight

public void setHeight(javax.el.ValueExpression __height)
The new height of the image Setter for height

Parameters:
height - - new value

setMaintainRatio

public void setMaintainRatio(javax.el.ValueExpression __maintainRatio)
If true, don't alter the ratio of the image. In this case only height or width should be specificed. Setter for maintainRatio

Parameters:
maintainRatio - - new value

setWidth

public void setWidth(javax.el.ValueExpression __width)
The new width of the image Setter for width

Parameters:
width - - new value

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.faces.webapp.UIComponentELTag

setProperties

protected void setProperties(javax.faces.component.UIComponent component)
Overrides:
setProperties in class javax.faces.webapp.UIComponentELTag

getComponentType

public java.lang.String getComponentType()
Specified by:
getComponentType in class javax.faces.webapp.UIComponentTagBase

getRendererType

public java.lang.String getRendererType()
Specified by:
getRendererType in class javax.faces.webapp.UIComponentTagBase


Copyright © 2011 Seam Framework. All Rights Reserved.