Class ImageCropperBase
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIOutput
-
- javax.faces.component.UIInput
-
- org.primefaces.component.imagecropper.ImageCropperBase
-
- All Implemented Interfaces:
EventListener
,javax.faces.component.EditableValueHolder
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.component.ValueHolder
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,Widget
- Direct Known Subclasses:
ImageCropper
public abstract class ImageCropperBase extends javax.faces.component.UIInput implements Widget
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImageCropperBase.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_FAMILY
static String
DEFAULT_RENDERER
-
Fields inherited from class javax.faces.component.UIInput
ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, EMPTY_STRING_AS_NULL_PARAM_NAME, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
-
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
-
Fields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
-
-
Constructor Summary
Constructors Constructor Description ImageCropperBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlt()
double
getAspectRatio()
int
getBoxHeight()
int
getBoxWidth()
String
getFamily()
Object
getImage()
String
getInitialCoords()
String
getMaxSize()
String
getMinSize()
Long
getSizeLimit()
int
getViewMode()
String
getWidgetVar()
boolean
isCache()
boolean
isGuides()
boolean
isResponsive()
boolean
isZoomOnTouch()
boolean
isZoomOnWheel()
void
setAlt(String alt)
void
setAspectRatio(double aspectRatio)
void
setBoxHeight(int boxHeight)
void
setBoxWidth(int boxWidth)
void
setCache(boolean cache)
void
setGuides(boolean guides)
void
setImage(Object image)
void
setInitialCoords(String initialCoords)
void
setMaxSize(String maxSize)
void
setMinSize(String minSize)
void
setResponsive(boolean responsive)
void
setSizeLimit(Long sizeLimit)
void
setViewMode(int viewMode)
void
setWidgetVar(String widgetVar)
void
setZoomOnTouch(boolean zoomOnTouch)
void
setZoomOnWheel(boolean zoomOnWheel)
-
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
-
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverter
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverter
-
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
-
-
-
Field Detail
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
DEFAULT_RENDERER
public static final String DEFAULT_RENDERER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Overrides:
getFamily
in classjavax.faces.component.UIInput
-
getWidgetVar
public String getWidgetVar()
-
setWidgetVar
public void setWidgetVar(String widgetVar)
-
getImage
public Object getImage()
-
setImage
public void setImage(Object image)
-
getAlt
public String getAlt()
-
setAlt
public void setAlt(String alt)
-
getAspectRatio
public double getAspectRatio()
-
setAspectRatio
public void setAspectRatio(double aspectRatio)
-
getMinSize
public String getMinSize()
-
setMinSize
public void setMinSize(String minSize)
-
getMaxSize
public String getMaxSize()
-
setMaxSize
public void setMaxSize(String maxSize)
-
getInitialCoords
public String getInitialCoords()
-
setInitialCoords
public void setInitialCoords(String initialCoords)
-
getBoxWidth
public int getBoxWidth()
-
setBoxWidth
public void setBoxWidth(int boxWidth)
-
getBoxHeight
public int getBoxHeight()
-
setBoxHeight
public void setBoxHeight(int boxHeight)
-
getSizeLimit
public Long getSizeLimit()
-
setSizeLimit
public void setSizeLimit(Long sizeLimit)
-
isResponsive
public boolean isResponsive()
-
setResponsive
public void setResponsive(boolean responsive)
-
isGuides
public boolean isGuides()
-
setGuides
public void setGuides(boolean guides)
-
setViewMode
public void setViewMode(int viewMode)
-
getViewMode
public int getViewMode()
-
isCache
public boolean isCache()
-
setCache
public void setCache(boolean cache)
-
isZoomOnTouch
public boolean isZoomOnTouch()
-
setZoomOnTouch
public void setZoomOnTouch(boolean zoomOnTouch)
-
isZoomOnWheel
public boolean isZoomOnWheel()
-
setZoomOnWheel
public void setZoomOnWheel(boolean zoomOnWheel)
-
-