org.jboss.seam.ui.component.html
Class HtmlTransformImageSize

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.jboss.seam.ui.graphicImage.UITransformImageSize
              extended by org.jboss.seam.ui.component.html.HtmlTransformImageSize
All Implemented Interfaces:
javax.faces.component.StateHolder, ImageTransform

public class HtmlTransformImageSize
extends UITransformImageSize

Component-Type org.jboss.seam.ui.graphicImage.TransformImageSize Component-Family org.jboss.seam.ui.graphicImage.TransformImageSize


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface org.jboss.seam.ui.graphicImage.ImageTransform
FAMILY
 
Constructor Summary
HtmlTransformImageSize()
          Constructor to init default renderers
 
Method Summary
 java.lang.Double getFactor()
          Getter for factor
 java.lang.String getFamily()
           
 java.lang.Integer getHeight()
          Getter for height
 java.lang.Integer getWidth()
          Getter for width
 boolean isMaintainRatio()
          Getter for maintainRatio
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setFactor(java.lang.Double __factor)
          Setter for factor
 void setHeight(java.lang.Integer __height)
          Setter for height
 void setMaintainRatio(boolean __maintainRatio)
          Setter for maintainRatio
 void setWidth(java.lang.Integer __width)
          Setter for width
 
Methods inherited from class org.jboss.seam.ui.graphicImage.UITransformImageSize
applyTransform
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

HtmlTransformImageSize

public HtmlTransformImageSize()
Constructor to init default renderers

Method Detail

setFactor

public void setFactor(java.lang.Double __factor)
Setter for factor

Specified by:
setFactor in class UITransformImageSize
Parameters:
factor - - new value

getFactor

public java.lang.Double getFactor()
Getter for factor

Specified by:
getFactor in class UITransformImageSize
Returns:
factor value from local variable or value bindings

setWidth

public void setWidth(java.lang.Integer __width)
Setter for width

Specified by:
setWidth in class UITransformImageSize
Parameters:
width - - new value

getWidth

public java.lang.Integer getWidth()
Getter for width

Specified by:
getWidth in class UITransformImageSize
Returns:
width value from local variable or value bindings

setHeight

public void setHeight(java.lang.Integer __height)
Setter for height

Specified by:
setHeight in class UITransformImageSize
Parameters:
height - - new value

getHeight

public java.lang.Integer getHeight()
Getter for height

Specified by:
getHeight in class UITransformImageSize
Returns:
height value from local variable or value bindings

setMaintainRatio

public void setMaintainRatio(boolean __maintainRatio)
Setter for maintainRatio

Specified by:
setMaintainRatio in class UITransformImageSize
Parameters:
maintainRatio - - new value

isMaintainRatio

public boolean isMaintainRatio()
Getter for maintainRatio

Specified by:
isMaintainRatio in class UITransformImageSize
Returns:
maintainRatio value from local variable or value bindings

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIComponentBase

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIComponentBase


Copyright © 2007. All Rights Reserved.