Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.component.seam
Class UIImage

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.jboss.seam.pdf.ui.ITextComponent
              extended by org.jboss.seam.pdf.ui.UIRectangle
                  extended by org.nuxeo.ecm.platform.ui.web.component.seam.UIImage
All Implemented Interfaces:
StateHolder

public class UIImage
extends org.jboss.seam.pdf.ui.UIRectangle

Overrides default image to avoid crash when image is not found

Since:
5.4.2

Field Summary
static String COMPONENT_TYPE
           
 
Fields inherited from class org.jboss.seam.pdf.ui.ITextComponent
COMPONENT_FAMILY
 
Constructor Summary
UIImage()
           
 
Method Summary
 void createITextObject(FacesContext context)
           
 Object getITextObject()
           
 void handleAdd(Object o)
           
 void removeITextObject()
           
 void setAlignment(String alignment)
           
 void setAlt(String alt)
           
 void setDpi(String dpi)
           
 void setHeight(float height)
           
 void setIndentationLeft(Float indentationLeft)
           
 void setIndentationRight(Float indentationRight)
           
 void setInitialRotation(Float initialRotation)
           
 void setRotation(float rotation)
           
 void setScalePercent(String scalePercent)
           
 void setSpacingAfter(Float spacingAfter)
           
 void setSpacingBefore(Float spacingBefore)
           
 void setUnderlying(Boolean underlying)
           
 void setValue(Object value)
           
 void setWidth(float width)
           
 void setWidthPercentage(Float widthPercentage)
           
 void setWrap(Boolean wrap)
           
 
Methods inherited from class org.jboss.seam.pdf.ui.UIRectangle
applyRectangleProperties, setBackgroundColor, setBorder, setBorderColor, setBorderColorBottom, setBorderColorLeft, setBorderColorRight, setBorderColorTop, setBorderWidth, setBorderWidthBottom, setBorderWidthLeft, setBorderWidthRight, setBorderWidthTop
 
Methods inherited from class org.jboss.seam.pdf.ui.ITextComponent
add, addToITextParent, encode, encodeBegin, encodeChildren, encodeEnd, extractText, findDocument, findITextParent, findITextParent, getFamily, getFont, getRendersChildren, handleFacet, noITextParentFound, processFacet, valueBinding, valueBinding
 
Methods inherited from class javax.faces.component.UIComponentBase
broadcast, decode, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, restoreState, saveAttachedState, saveState, 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
Constructor Detail

UIImage

public UIImage()
Method Detail

setValue

public void setValue(Object value)

setRotation

public void setRotation(float rotation)

setHeight

public void setHeight(float height)

setWidth

public void setWidth(float width)

setAlignment

public void setAlignment(String alignment)

setAlt

public void setAlt(String alt)

setWrap

public void setWrap(Boolean wrap)

setUnderlying

public void setUnderlying(Boolean underlying)

setDpi

public void setDpi(String dpi)

setIndentationLeft

public void setIndentationLeft(Float indentationLeft)

setIndentationRight

public void setIndentationRight(Float indentationRight)

setInitialRotation

public void setInitialRotation(Float initialRotation)

setSpacingAfter

public void setSpacingAfter(Float spacingAfter)

setSpacingBefore

public void setSpacingBefore(Float spacingBefore)

setWidthPercentage

public void setWidthPercentage(Float widthPercentage)

setScalePercent

public void setScalePercent(String scalePercent)

getITextObject

public Object getITextObject()
Specified by:
getITextObject in class org.jboss.seam.pdf.ui.ITextComponent

removeITextObject

public void removeITextObject()
Specified by:
removeITextObject in class org.jboss.seam.pdf.ui.ITextComponent

createITextObject

public void createITextObject(FacesContext context)
                       throws IOException,
                              com.lowagie.text.DocumentException
Specified by:
createITextObject in class org.jboss.seam.pdf.ui.ITextComponent
Throws:
IOException
com.lowagie.text.DocumentException

handleAdd

public void handleAdd(Object o)
Specified by:
handleAdd in class org.jboss.seam.pdf.ui.ITextComponent

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.