FileUploadWidget
@Deprecated public class FileUploadWidgetSettings extends Object implements org.apache.wicket.util.io.IClusterable
true
for flash or false
for javascript uploadtrue
the plugin will automatically upload the filestrue
the dialog is cleared after all files are uploadedtrue
the browse button will be hidden during the uploadModifier and Type | Field and Description |
---|---|
static String |
FILE_EXTENSIONS_SETTING
Deprecated.
|
static String |
FILEUPLOAD_ALLOWED_EXTENSIONS_SETTING
Deprecated.
|
static String |
FILEUPLOAD_ALWAYS_SHOW_LABEL
Deprecated.
|
static String |
FILEUPLOAD_AUTOUPLOAD_SETTING
Deprecated.
|
static String |
FILEUPLOAD_BUTTON_HEIGHT
Deprecated.
|
static String |
FILEUPLOAD_BUTTON_WIDTH
Deprecated.
|
static String |
FILEUPLOAD_CLEAR_AFTER_UPLOAD
Deprecated.
|
static String |
FILEUPLOAD_CLEAR_TIMEOUT
Deprecated.
|
static String |
FILEUPLOAD_CONCURRENT_UPLOADS
Deprecated.
|
static String |
FILEUPLOAD_FLASH_ENABLED_SETTING
Deprecated.
|
static String |
FILEUPLOAD_HIDE_BROWSE_DURING_UPLOAD
Deprecated.
|
static String |
FILEUPLOAD_MAX_ITEMS_SETTING
Deprecated.
|
static String |
FILEUPLOAD_USE_MULTIPLE_ATTR
Deprecated.
|
Constructor and Description |
---|
FileUploadWidgetSettings()
Deprecated.
|
FileUploadWidgetSettings(IPluginConfig pluginConfig)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getButtonHeight()
Deprecated.
|
String |
getButtonWidth()
Deprecated.
|
int |
getClearTimeout()
Deprecated.
|
String[] |
getFileExtensions()
Deprecated.
|
int |
getMaxNumberOfFiles()
Deprecated.
|
int |
getSimultaneousUploadLimit()
Deprecated.
|
boolean |
isAlwaysShowLabel()
Deprecated.
|
boolean |
isAutoUpload()
Deprecated.
|
boolean |
isClearAfterUpload()
Deprecated.
|
boolean |
isFlashUploadEnabled()
Deprecated.
Indicates if the upload widget should use Flash.
|
boolean |
isHideBrowseDuringUpload()
Deprecated.
|
boolean |
isUseMultipleAttr()
Deprecated.
|
void |
setAlwaysShowLabel(boolean alwaysShowLabel)
Deprecated.
|
void |
setAutoUpload(boolean set)
Deprecated.
|
void |
setButtonHeight(String buttonHeight)
Deprecated.
|
void |
setButtonWidth(String buttonWidth)
Deprecated.
|
void |
setClearAfterUpload(boolean clear)
Deprecated.
|
void |
setClearTimeout(int clearTimeout)
Deprecated.
|
void |
setFileExtensions(String[] fileExtensions)
Deprecated.
|
void |
setFlashUploadEnabled(boolean flashUploadEnabled)
Deprecated.
If set to
true (default) the upload plugin will use flash for file uploads, otherwise it will use a
plain Javascript upload. |
void |
setHideBrowseDuringUpload(boolean hideBrowseDuringUpload)
Deprecated.
|
void |
setMaxNumberOfFiles(int nr)
Deprecated.
|
void |
setSimultaneousUploadLimit(int simultaneousUploadLimit)
Deprecated.
|
void |
setUseMultipleAttr(boolean useMultipleAttr)
Deprecated.
|
public static final String FILEUPLOAD_FLASH_ENABLED_SETTING
public static final String FILEUPLOAD_MAX_ITEMS_SETTING
public static final String FILEUPLOAD_AUTOUPLOAD_SETTING
public static final String FILEUPLOAD_ALLOWED_EXTENSIONS_SETTING
public static final String FILEUPLOAD_BUTTON_WIDTH
public static final String FILEUPLOAD_BUTTON_HEIGHT
public static final String FILEUPLOAD_CLEAR_AFTER_UPLOAD
public static final String FILEUPLOAD_CLEAR_TIMEOUT
public static final String FILEUPLOAD_HIDE_BROWSE_DURING_UPLOAD
public static final String FILEUPLOAD_CONCURRENT_UPLOADS
public static final String FILEUPLOAD_ALWAYS_SHOW_LABEL
public static final String FILEUPLOAD_USE_MULTIPLE_ATTR
public static final String FILE_EXTENSIONS_SETTING
public FileUploadWidgetSettings()
public FileUploadWidgetSettings(IPluginConfig pluginConfig)
public void setFileExtensions(String[] fileExtensions)
public String[] getFileExtensions()
public void setMaxNumberOfFiles(int nr)
public int getMaxNumberOfFiles()
public void setAutoUpload(boolean set)
public boolean isAutoUpload()
public void setClearAfterUpload(boolean clear)
public boolean isClearAfterUpload()
public int getClearTimeout()
public void setClearTimeout(int clearTimeout)
public void setHideBrowseDuringUpload(boolean hideBrowseDuringUpload)
public boolean isHideBrowseDuringUpload()
public String getButtonWidth()
public void setButtonWidth(String buttonWidth)
public String getButtonHeight()
public void setButtonHeight(String buttonHeight)
public boolean isFlashUploadEnabled()
true
if flash should be used, false
otherwisepublic void setFlashUploadEnabled(boolean flashUploadEnabled)
true
(default) the upload plugin will use flash for file uploads, otherwise it will use a
plain Javascript upload.flashUploadEnabled
- boolean indicating if flash should be used for file uploads.public int getSimultaneousUploadLimit()
public void setSimultaneousUploadLimit(int simultaneousUploadLimit)
public boolean isAlwaysShowLabel()
public void setAlwaysShowLabel(boolean alwaysShowLabel)
public boolean isUseMultipleAttr()
public void setUseMultipleAttr(boolean useMultipleAttr)
Copyright © 2007–2015 Hippo B.V. (http://www.onehippo.com). All rights reserved.