public class ClientDirectUploadDef extends DirectUploadDef
| Modifier and Type | Field and Description |
|---|---|
private NativeRectangle |
widgetRect
Upload widgets and their bounds
|
| Constructor and Description |
|---|
ClientDirectUploadDef(int widgetId,
int[] eventCodes,
java.lang.String title,
boolean multiple,
boolean upload,
java.lang.String uploadDir,
java.lang.String[] filters,
NativeRectangle widgetRect)
Constructor for the ClientDirectUploadDef class.
|
| Modifier and Type | Method and Description |
|---|---|
NativeRectangle |
getWidgetRect()
Returns the rectangle bounds of the upload registered widget.
|
find, getEventCodes, getFilters, getTitle, getUploadDir, getWidgetId, isMultiple, isUpload, readExternal, writeExternalprivate NativeRectangle widgetRect
public ClientDirectUploadDef(int widgetId,
int[] eventCodes,
java.lang.String title,
boolean multiple,
boolean upload,
java.lang.String uploadDir,
java.lang.String[] filters,
NativeRectangle widgetRect)
widgetId - the ID of the widgeteventCodes - an array of legacy event codestitle - the title of the upload dialogmultiple - boolean indicating if multiple files can be uploadedupload - boolean indicating if the file should be uploaded or only names selecteduploadDir - the directory to upload the file tofilters - an array of file filterswidgetRect - the rectangle bounds of the upload widgetpublic NativeRectangle getWidgetRect()