org.primefaces.component.imagecropper
Class ImageCropperRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.primefaces.renderkit.CoreRenderer
          extended by org.primefaces.component.imagecropper.ImageCropperRenderer

public class ImageCropperRenderer
extends CoreRenderer


Constructor Summary
ImageCropperRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  void encodeMarkup(javax.faces.context.FacesContext context, ImageCropper cropper)
           
protected  void encodeScript(javax.faces.context.FacesContext context, ImageCropper cropper)
           
 Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)
           
protected  String getFormat(String path)
           
protected  boolean isExternalImage(ImageCropper cropper)
           
 
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endScript, escapeText, getActionURL, getEscapedClientId, getOnclickBehaviors, getResourceRequestPath, getResourceURL, isAjaxRequest, isPostBack, isPostback, isValueBlank, isValueEmpty, renderChild, renderChildren, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, shouldRenderAttribute, startScript
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageCropperRenderer

public ImageCropperRenderer()
Method Detail

decode

public void decode(javax.faces.context.FacesContext context,
                   javax.faces.component.UIComponent component)
Overrides:
decode in class javax.faces.render.Renderer

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context,
                      javax.faces.component.UIComponent component)
               throws IOException
Overrides:
encodeEnd in class javax.faces.render.Renderer
Throws:
IOException

encodeScript

protected void encodeScript(javax.faces.context.FacesContext context,
                            ImageCropper cropper)
                     throws IOException
Throws:
IOException

encodeMarkup

protected void encodeMarkup(javax.faces.context.FacesContext context,
                            ImageCropper cropper)
                     throws IOException
Throws:
IOException

getConvertedValue

public Object getConvertedValue(javax.faces.context.FacesContext context,
                                javax.faces.component.UIComponent component,
                                Object submittedValue)
                         throws javax.faces.convert.ConverterException
Overrides:
getConvertedValue in class javax.faces.render.Renderer
Throws:
javax.faces.convert.ConverterException

getFormat

protected String getFormat(String path)

isExternalImage

protected boolean isExternalImage(ImageCropper cropper)


Copyright © 2012. All Rights Reserved.