public class CmsFileInputImpl extends java.lang.Object implements I_CmsFileInputService
| 构造器和说明 |
|---|
CmsFileInputImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
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_CmsFileInputServicegetFiles 在接口中 I_CmsFileInputServiceinputElement - the input elementI_CmsFileInputService.getFiles(com.google.gwt.dom.client.InputElement)public boolean isAllowMultipleFiles(com.google.gwt.dom.client.InputElement inputElement)
I_CmsFileInputServiceisAllowMultipleFiles 在接口中 I_CmsFileInputServiceinputElement - 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_CmsFileInputServicesetAllowMultipleFiles 在接口中 I_CmsFileInputServiceinputElement - 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_CmsFileInputServicesupportsFileAPI 在接口中 I_CmsFileInputServicefalse by defaultI_CmsFileInputService.supportsFileAPI()