org.primefaces.component.fileupload
Class FileUpload
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.primefaces.component.fileupload.FileUpload
- 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
public class FileUpload
- extends javax.faces.component.UIInput
- implements Widget
Fields inherited from class javax.faces.component.UIInput |
CONVERSION_MESSAGE_ID, 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 |
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, 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 |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
CONTAINER_CLASS
public static final String CONTAINER_CLASS
- See Also:
- Constant Field Values
BUTTON_BAR_CLASS
public static final String BUTTON_BAR_CLASS
- See Also:
- Constant Field Values
CONTENT_CLASS
public static final String CONTENT_CLASS
- See Also:
- Constant Field Values
FILES_CLASS
public static final String FILES_CLASS
- See Also:
- Constant Field Values
CHOOSE_BUTTON_CLASS
public static final String CHOOSE_BUTTON_CLASS
- See Also:
- Constant Field Values
UPLOAD_BUTTON_CLASS
public static final String UPLOAD_BUTTON_CLASS
- See Also:
- Constant Field Values
CANCEL_BUTTON_CLASS
public static final String CANCEL_BUTTON_CLASS
- See Also:
- Constant Field Values
FileUpload
public FileUpload()
getFamily
public String getFamily()
- Overrides:
getFamily
in class javax.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)
getUpdate
public String getUpdate()
setUpdate
public void setUpdate(String _update)
getProcess
public String getProcess()
setProcess
public void setProcess(String _process)
getFileUploadListener
public javax.el.MethodExpression getFileUploadListener()
setFileUploadListener
public void setFileUploadListener(javax.el.MethodExpression _fileUploadListener)
isMultiple
public boolean isMultiple()
setMultiple
public void setMultiple(boolean _multiple)
isAuto
public boolean isAuto()
setAuto
public void setAuto(boolean _auto)
getLabel
public String getLabel()
setLabel
public void setLabel(String _label)
getAllowTypes
public String getAllowTypes()
setAllowTypes
public void setAllowTypes(String _allowTypes)
getFileLimit
public int getFileLimit()
setFileLimit
public void setFileLimit(int _fileLimit)
getSizeLimit
public Long getSizeLimit()
setSizeLimit
public void setSizeLimit(Long _sizeLimit)
getMode
public String getMode()
setMode
public void setMode(String _mode)
getUploadLabel
public String getUploadLabel()
setUploadLabel
public void setUploadLabel(String _uploadLabel)
getCancelLabel
public String getCancelLabel()
setCancelLabel
public void setCancelLabel(String _cancelLabel)
getInvalidSizeMessage
public String getInvalidSizeMessage()
setInvalidSizeMessage
public void setInvalidSizeMessage(String _invalidSizeMessage)
getInvalidFileMessage
public String getInvalidFileMessage()
setInvalidFileMessage
public void setInvalidFileMessage(String _invalidFileMessage)
getFileLimitMessage
public String getFileLimitMessage()
setFileLimitMessage
public void setFileLimitMessage(String _fileLimitMessage)
isDragDropSupport
public boolean isDragDropSupport()
setDragDropSupport
public void setDragDropSupport(boolean _dragDropSupport)
getOnstart
public String getOnstart()
setOnstart
public void setOnstart(String _onstart)
getOncomplete
public String getOncomplete()
setOncomplete
public void setOncomplete(String _oncomplete)
getOnerror
public String getOnerror()
setOnerror
public void setOnerror(String _onerror)
isDisabled
public boolean isDisabled()
setDisabled
public void setDisabled(boolean _disabled)
getMessageTemplate
public String getMessageTemplate()
setMessageTemplate
public void setMessageTemplate(String _messageTemplate)
getPreviewWidth
public int getPreviewWidth()
setPreviewWidth
public void setPreviewWidth(int _previewWidth)
broadcast
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
- Overrides:
broadcast
in class javax.faces.component.UIComponentBase
- Throws:
javax.faces.event.AbortProcessingException
resolveWidgetVar
public String resolveWidgetVar()
- Specified by:
resolveWidgetVar
in interface Widget
Copyright © 2013. All rights reserved.