org.primefaces.component.imagecropper
Class ImageCropperRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.component.imagecropper.ImageCropperRenderer
public class ImageCropperRenderer
- extends CoreRenderer
Fields inherited from class javax.faces.render.Renderer |
PASSTHROUGH_RENDERER_LOCALNAME_KEY |
Methods inherited from class org.primefaces.renderkit.CoreRenderer |
buildAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endScript, escapeJavaScriptForChain, escapeText, getActionURL, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getWidgetBuilder, isAjaxRequest, isPostback, isValueBlank, renderChild, renderChildren, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId, 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 |
ImageCropperRenderer
public ImageCropperRenderer()
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 © 2013. All rights reserved.