public abstract class CameraBase extends javax.faces.component.UIComponentBase implements ICamera
| Modifier and Type | Class and Description |
|---|---|
protected static class |
CameraBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
CameraBase() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getButtonImage()
Return the value of the
buttonImage property. |
java.lang.String |
getButtonLabel()
Return the value of the
buttonLabel property. |
java.lang.Object |
getCaptureButtonImage()
Return the value of the
captureButtonImage property. |
java.lang.String |
getCaptureMessageLabel()
Return the value of the
captureMessageLabel property. |
java.lang.String |
getFamily() |
int |
getMaxheight()
Return the value of the
maxheight property. |
int |
getMaxwidth()
Return the value of the
maxwidth property. |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
int |
getTabindex()
Return the value of the
tabindex property. |
java.util.Map |
getValue()
Return the value of the
value property. |
javax.el.MethodExpression |
getValueChangeListener()
Return the value of the
valueChangeListener property. |
boolean |
isDisabled()
Return the value of the
disabled property. |
boolean |
isImmediate()
Return the value of the
immediate property. |
protected boolean |
isPropertySet(java.lang.String finder) |
void |
setButtonImage(java.lang.Object buttonImage)
Set the value of the
buttonImage property. |
void |
setButtonLabel(java.lang.String buttonLabel)
Set the value of the
buttonLabel property. |
void |
setCaptureButtonImage(java.lang.Object captureButtonImage)
Set the value of the
captureButtonImage property. |
void |
setCaptureMessageLabel(java.lang.String captureMessageLabel)
Set the value of the
captureMessageLabel property. |
void |
setDisabled(boolean disabled)
Set the value of the
disabled property. |
void |
setImmediate(boolean immediate)
Set the value of the
immediate property. |
void |
setMaxheight(int maxheight)
Set the value of the
maxheight property. |
void |
setMaxwidth(int maxwidth)
Set the value of the
maxwidth property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setTabindex(int tabindex)
Set the value of the
tabindex property. |
void |
setValue(java.util.Map value)
Set the value of the
value property. |
void |
setValueChangeListener(javax.el.MethodExpression valueChangeListener)
Set the value of the
valueChangeListener property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, 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, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentpublic void setButtonImage(java.lang.Object buttonImage)
Set the value of the buttonImage property.
Contents: The image to be displayed on the button, instead of a text label. The value may resolve to a byte array, an instance of IceOutputResource or a String containing the URL of the image.
setButtonImage in interface ICamerapublic java.lang.Object getButtonImage()
Return the value of the buttonImage property.
Contents: The image to be displayed on the button, instead of a text label. The value may resolve to a byte array, an instance of IceOutputResource or a String containing the URL of the image.
getButtonImage in interface ICamerapublic void setButtonLabel(java.lang.String buttonLabel)
Set the value of the buttonLabel property.
Contents: The label to be displayed on the button.
setButtonLabel in interface ICamerapublic java.lang.String getButtonLabel()
Return the value of the buttonLabel property.
Contents: The label to be displayed on the button. Default = 'Camera'.
getButtonLabel in interface ICamerapublic void setCaptureButtonImage(java.lang.Object captureButtonImage)
Set the value of the captureButtonImage property.
Contents: The image to be displayed on the button on a successful image capture, instead of a text label. The value may resolve to a byte array, an instance of IceOutputResource or a String containing the URL of the image. This attribute is only applied if 'buttonImage' is specified.
setCaptureButtonImage in interface ICamerapublic java.lang.Object getCaptureButtonImage()
Return the value of the captureButtonImage property.
Contents: The image to be displayed on the button on a successful image capture, instead of a text label. The value may resolve to a byte array, an instance of IceOutputResource or a String containing the URL of the image. This attribute is only applied if 'buttonImage' is specified.
getCaptureButtonImage in interface ICamerapublic void setCaptureMessageLabel(java.lang.String captureMessageLabel)
Set the value of the captureMessageLabel property.
Contents: The message to be displayed on the button on a successful image capture.
setCaptureMessageLabel in interface ICamerapublic java.lang.String getCaptureMessageLabel()
Return the value of the captureMessageLabel property.
Contents: The message to be displayed on the button on a successful image capture. Default = 'Photo Captured'.
getCaptureMessageLabel in interface ICamerapublic void setDisabled(boolean disabled)
Set the value of the disabled property.
Contents: Disables this component, so it does not receive focus or get submitted.
setDisabled in interface ICamerapublic boolean isDisabled()
Return the value of the disabled property.
Contents: Disables this component, so it does not receive focus or get submitted. Default = 'false'.
isDisabled in interface ICamerapublic void setImmediate(boolean immediate)
Set the value of the immediate property.
Contents: Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
setImmediate in interface ICamerapublic boolean isImmediate()
Return the value of the immediate property.
Contents: Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. Default = 'false'.
isImmediate in interface ICamerapublic void setMaxheight(int maxheight)
Set the value of the maxheight property.
Contents: The maximum allowed height of the image on those platforms where image cropping is supported. A value of 0 uses the whole height of the captured image.
setMaxheight in interface ICamerapublic int getMaxheight()
Return the value of the maxheight property.
Contents: The maximum allowed height of the image on those platforms where image cropping is supported. A value of 0 uses the whole height of the captured image. Default = 'Integer.MIN_VALUE'.
getMaxheight in interface ICamerapublic void setMaxwidth(int maxwidth)
Set the value of the maxwidth property.
Contents: The maxium allowed width of the image on those platforms where image cropping is supported. A value of 0 uses the whole width of the captured image.
setMaxwidth in interface ICamerapublic int getMaxwidth()
Return the value of the maxwidth property.
Contents: The maxium allowed width of the image on those platforms where image cropping is supported. A value of 0 uses the whole width of the captured image. Default = 'Integer.MIN_VALUE'.
getMaxwidth in interface ICamerapublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Sets the CSS style definition to be applied to this component.
public java.lang.String getStyle()
Return the value of the style property.
Contents: Sets the CSS style definition to be applied to this component.
public void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: Sets the CSS class to apply to this component.
setStyleClass in interface ICamerapublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Sets the CSS class to apply to this component.
getStyleClass in interface ICamerapublic void setTabindex(int tabindex)
Set the value of the tabindex property.
Contents: The tabindex of this component.
setTabindex in interface ICamerapublic int getTabindex()
Return the value of the tabindex property.
Contents: The tabindex of this component.
getTabindex in interface ICamerapublic void setValue(java.util.Map value)
Set the value of the value property.
Contents: The map object for the uploaded contents. Must resolve to a java.util.Map
public java.util.Map getValue()
Return the value of the value property.
Contents: The map object for the uploaded contents. Must resolve to a java.util.Map
public void setValueChangeListener(javax.el.MethodExpression valueChangeListener)
Set the value of the valueChangeListener property.
Contents: MethodExpression representing a value change listener method that will be notified when a new value has been set for this component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void.
setValueChangeListener in interface ICamerapublic javax.el.MethodExpression getValueChangeListener()
Return the value of the valueChangeListener property.
Contents: MethodExpression representing a value change listener method that will be notified when a new value has been set for this component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void.
getValueChangeListener in interface ICameraprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentCopyright 2018 ICEsoft Technologies Canada Corp., All Rights Reserved.