public class CmsFileInputFileApiImpl extends java.lang.Object implements I_CmsFileInputService
构造器和说明 |
---|
CmsFileInputFileApiImpl() |
限定符和类型 | 方法和说明 |
---|---|
com.google.gwt.core.client.JsArray<CmsFileInfo> |
getFiles(com.google.gwt.dom.client.InputElement inputElement)
Returns a JsArray of CmsFile objects.
|
boolean |
isAllowMultipleFiles(com.google.gwt.dom.client.InputElement inputElement)
The default implementation of the file input field does not support multiple file selection.
|
void |
setAllowMultipleFiles(com.google.gwt.dom.client.InputElement inputElement,
boolean allow)
A dummy method, only used for sub classes.
|
boolean |
supportsFileAPI()
The default implementation of the file input field does not support multiple file selection.
|
public com.google.gwt.core.client.JsArray<CmsFileInfo> getFiles(com.google.gwt.dom.client.InputElement inputElement)
I_CmsFileInputService
getFiles
在接口中 I_CmsFileInputService
inputElement
- the input elementI_CmsFileInputService.getFiles(com.google.gwt.dom.client.InputElement)
public boolean isAllowMultipleFiles(com.google.gwt.dom.client.InputElement inputElement)
I_CmsFileInputService
isAllowMultipleFiles
在接口中 I_CmsFileInputService
inputElement
- the input elementfalse
by defaultI_CmsFileInputService.isAllowMultipleFiles(com.google.gwt.dom.client.InputElement)
public void setAllowMultipleFiles(com.google.gwt.dom.client.InputElement inputElement, boolean allow)
I_CmsFileInputService
setAllowMultipleFiles
在接口中 I_CmsFileInputService
inputElement
- the input elementallow
- the flag that indicates if multiple file selection is supportedI_CmsFileInputService.setAllowMultipleFiles(com.google.gwt.dom.client.InputElement, boolean)
public boolean supportsFileAPI()
I_CmsFileInputService
supportsFileAPI
在接口中 I_CmsFileInputService
false
by defaultI_CmsFileInputService.supportsFileAPI()