|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.richfaces.component.AbstractFileUpload
public abstract class AbstractFileUpload
| Field Summary | |
|---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class javax.faces.component.UIComponent |
|---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
| Constructor Summary | |
|---|---|
AbstractFileUpload()
|
|
| Method Summary | |
|---|---|
void |
addFileUploadListener(org.richfaces.event.FileUploadListener listener)
Add a new FileUploadListener to the set of listeners
interested in being notified when org.richfaces.FileUploadEvents occur. |
abstract String |
getAcceptedTypes()
|
abstract String |
getAddLabel()
|
abstract String |
getClearAllLabel()
|
abstract String |
getClearLabel()
|
abstract String |
getDeleteLabel()
|
abstract String |
getDoneLabel()
|
org.richfaces.event.FileUploadListener[] |
getFileUploadListeners()
Return the set of registered FileUploadListeners for this
AbstractFileUpload instance. |
abstract String |
getOnfilesubmit()
|
abstract String |
getOnuploadcomplete()
|
abstract String |
getServerErrorLabel()
|
abstract String |
getSizeExceededLabel()
|
abstract String |
getUploadLabel()
|
abstract boolean |
isDisabled()
|
abstract boolean |
isNoDuplicate()
|
void |
processEvent(javax.faces.event.ComponentSystemEvent event)
|
void |
removeFileUploadListener(org.richfaces.event.FileUploadListener listener)
Remove an existing FileUploadListener (if any) from the
set of listeners interested in being notified when
FileUploadListeners occur. |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, 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 |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getFamily, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
| Constructor Detail |
|---|
public AbstractFileUpload()
| Method Detail |
|---|
public abstract String getAcceptedTypes()
public abstract boolean isDisabled()
public abstract boolean isNoDuplicate()
public abstract String getOnfilesubmit()
public abstract String getOnuploadcomplete()
public abstract String getAddLabel()
public abstract String getUploadLabel()
public abstract String getClearAllLabel()
public abstract String getDoneLabel()
public abstract String getSizeExceededLabel()
public abstract String getServerErrorLabel()
public abstract String getClearLabel()
public abstract String getDeleteLabel()
public void processEvent(javax.faces.event.ComponentSystemEvent event)
throws javax.faces.event.AbortProcessingException
processEvent in interface javax.faces.event.ComponentSystemEventListenerprocessEvent in class javax.faces.component.UIComponentjavax.faces.event.AbortProcessingExceptionpublic void addFileUploadListener(org.richfaces.event.FileUploadListener listener)
Add a new FileUploadListener to the set of listeners
interested in being notified when org.richfaces.FileUploadEvents occur.
listener - The FileUploadListener to be added
NullPointerException - if listener
is nullpublic org.richfaces.event.FileUploadListener[] getFileUploadListeners()
Return the set of registered FileUploadListeners for this
AbstractFileUpload instance. If there are no registered listeners,
a zero-length array is returned.
public void removeFileUploadListener(org.richfaces.event.FileUploadListener listener)
Remove an existing FileUploadListener (if any) from the
set of listeners interested in being notified when
FileUploadListeners occur.
listener - The FileUploadListener to be removed
NullPointerException - if listener
is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||