public interface I_CmsFileInputService
限定符和类型 | 方法和说明 |
---|---|
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.
|
com.google.gwt.core.client.JsArray<CmsFileInfo> getFiles(com.google.gwt.dom.client.InputElement inputElement)
inputElement
- the input elementboolean isAllowMultipleFiles(com.google.gwt.dom.client.InputElement inputElement)
inputElement
- the input elementfalse
by defaultvoid setAllowMultipleFiles(com.google.gwt.dom.client.InputElement inputElement, boolean allow)
inputElement
- the input elementallow
- the flag that indicates if multiple file selection is supportedboolean supportsFileAPI()
false
by default