public class FileUploadParameter extends ParameterImpl
Constructor and Description |
---|
FileUploadParameter(java.lang.String property,
java.lang.String fileType,
java.lang.String typeCode,
com.hof.data.SessionBean sb,
java.lang.String uploadEvent) |
FileUploadParameter(java.lang.String property,
java.lang.String fileType,
java.lang.String typeCode,
java.lang.String uploadEvent) |
Modifier and Type | Method and Description |
---|---|
void |
setUploadImageBase64(java.lang.String base64,
java.lang.String imageType)
Base64 Image that will be displayed on the upload widget
|
void |
setUploadImageHover(java.lang.String imgSrc)
Image that will be displayed on the upload widget when the user is hovering over it, this is a path to the image, if you wish to pass a base64 image use setUploadImageBase64
|
void |
setUploadImageHoverBase64(java.lang.String base64,
java.lang.String imageType)
Base64 Image that will be displayed on the upload widget when a user is hovering over the widget
|
void |
setUploadImageSrc(java.lang.String imgSrc)
Image that will be displayed on the upload widget, this is a path to the image, if you wish to pass a base64 image use setUploadImageBase64
|
void |
setUploadWidgetText(java.lang.String text)
Text that will be displayed on the file upload widget
|
addDisplayRule, addEventData, addEventParameter, addEventParameter, addEventParameter, addParameterValueDisplay, addPossibleValue, addPossibleValue, addPossibleValue, addPossibleValue, addValueDependency, addValueDependency, addValueDependency, addViewOption, getAllowEnableDisableCallback, getCssRules, getDataType, getDefaultValue, getDescription, getDisplayRules, getDynamicKey, getEvent, getEventData, getEventParameters, getHelpText, getInputType, getListOptions, getMaxAllowed, getMinAllowed, getName, getObjectValidationRules, getParameterClassName, getParameterValueDisplays, getPossibleValues, getProperty, getSpecialInputType, getValidationRules, getValueDependencies, getViewOptions, isList, isReadOnly, setAllowEnableDisableCallback, setCssRules, setDataType, setDefaultValue, setDescription, setDisplayRules, setDynamicKey, setEvent, setEventData, setEventParameters, setHelpText, setInputType, setList, setListOptions, setMaxAllowed, setMinAllowed, setName, setObjectValidationRules, setParameterClassName, setPossibleValues, setProperty, setReadOnly, setSpecialInputType, setValidationRules, setValueDependencies, setViewOptions
public FileUploadParameter(java.lang.String property, java.lang.String fileType, java.lang.String typeCode, java.lang.String uploadEvent)
property
- - Property of the file in data objects, a numeric value will be saved against this propertyfileType
- - What type of file is required here (csv, xml etc) if any file can be uploaded use *typeCode
- - Type code to save the file in the databaseuploadEvent
- - The event that will be triggered by the panel collection when the upload finishes, can be nullpublic FileUploadParameter(java.lang.String property, java.lang.String fileType, java.lang.String typeCode, com.hof.data.SessionBean sb, java.lang.String uploadEvent)
property
- - Property of the file in data objects, a numeric value will be saved against this propertyfileType
- - What type of file is required here (csv, xml etc) if any file can be uploaded use *typeCode
- - Type code to save the file in the databaseuploadEvent
- - The event that will be triggered by the panel collection when the upload finishes, can be nullpublic void setUploadWidgetText(java.lang.String text)
text
- public void setUploadImageSrc(java.lang.String imgSrc)
imgSrc
- public void setUploadImageHover(java.lang.String imgSrc)
imgSrc
- public void setUploadImageBase64(java.lang.String base64, java.lang.String imageType)
base64
- - The imageimageType
- - What type of image is thispublic void setUploadImageHoverBase64(java.lang.String base64, java.lang.String imageType)
base64
- - The imageimageType
- - What type of image is this