Class PhotoCamBase
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIOutput
-
- javax.faces.component.UIInput
-
- org.primefaces.component.photocam.PhotoCamBase
-
- 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:
PhotoCam
public abstract class PhotoCamBase extends javax.faces.component.UIInput implements Widget
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PhotoCamBase.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 PhotoCamBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDevice()
String
getFamily()
String
getFormat()
int
getHeight()
int
getJpegQuality()
javax.el.MethodExpression
getListener()
String
getOnCameraError()
int
getPhotoHeight()
int
getPhotoWidth()
String
getProcess()
String
getStyle()
String
getStyleClass()
String
getUpdate()
String
getWidgetVar()
int
getWidth()
boolean
isAutoStart()
boolean
isForceFlash()
void
setAutoStart(boolean autoStart)
void
setDevice(String device)
void
setForceFlash(boolean forceFlash)
void
setFormat(String format)
void
setHeight(int height)
void
setJpegQuality(int jpegQuality)
void
setListener(javax.el.MethodExpression listener)
void
setOnCameraError(String onCameraError)
void
setPhotoHeight(int photoHeight)
void
setPhotoWidth(int photoWidth)
void
setProcess(String process)
void
setStyle(String style)
void
setStyleClass(String styleClass)
void
setUpdate(String update)
void
setWidgetVar(String widgetVar)
void
setWidth(int width)
-
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)
-
getStyle
public String getStyle()
-
setStyle
public void setStyle(String style)
-
getStyleClass
public String getStyleClass()
-
setStyleClass
public void setStyleClass(String styleClass)
-
getProcess
public String getProcess()
-
setProcess
public void setProcess(String process)
-
getUpdate
public String getUpdate()
-
setUpdate
public void setUpdate(String update)
-
getListener
public javax.el.MethodExpression getListener()
-
setListener
public void setListener(javax.el.MethodExpression listener)
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
getHeight
public int getHeight()
-
setHeight
public void setHeight(int height)
-
getPhotoWidth
public int getPhotoWidth()
-
setPhotoWidth
public void setPhotoWidth(int photoWidth)
-
getPhotoHeight
public int getPhotoHeight()
-
setPhotoHeight
public void setPhotoHeight(int photoHeight)
-
getFormat
public String getFormat()
-
setFormat
public void setFormat(String format)
-
getJpegQuality
public int getJpegQuality()
-
setJpegQuality
public void setJpegQuality(int jpegQuality)
-
isForceFlash
public boolean isForceFlash()
-
setForceFlash
public void setForceFlash(boolean forceFlash)
-
isAutoStart
public boolean isAutoStart()
-
setAutoStart
public void setAutoStart(boolean autoStart)
-
getDevice
public String getDevice()
-
setDevice
public void setDevice(String device)
-
getOnCameraError
public String getOnCameraError()
-
setOnCameraError
public void setOnCameraError(String onCameraError)
-
-