public class FileUploadWidget extends LabelParametrizedWidget implements Valuable, Labeled, Requirable
propertyParametersACTION_PARAMETER, ALIGNMENT_PARAMTER, ALLOW_HTML, AVAILABLE_VALUES_PARAMETER, BORDERED_ROW_PARAMETER, BUTTON_STYLE_PARAMETER, COLLECTION_PARAMETER, CONDENSED_ROW_PARAMETER, CONTENT_PARAMETER, CSS_CLASSES_PARAMETER, DATA_TO_SEND_PARAMETER, DATE_FORMAT_PARAMETER, DISABLED_PARAMETER, DISPLAY_PARAMETER, FORCE_UTC_PARAMETER, HEADERS_PARAMETER, HIDDEN_PARAMETER, INPUT_TYPE_PARAMETER, KEYS_PARAMETER, LABEL_HIDDEN_PARAMETER, LABEL_PARAMETER, LABEL_POSITION_PARAMETER, LABEL_WIDTH_PARAMETER, PLACEHOLDER_PARAMETER, READONLY_PARAMETER, REMOVE_ITEM_PARAMETER, REPEATED_COLLECTION_PARAMETER, REQUIRED_PARAMETER, SELECTED_ROW_PARAMETER, STRIPED_ROW_PARAMETER, TARGET_URL_ON_SUCCESS_PARAMETER, TEXT_PARAMETER, URL_PARAMETER, VALUE_PARAMETER, VALUE_TO_ADD_PARAMETER| Constructor and Description |
|---|
FileUploadWidget() |
| Modifier and Type | Method and Description |
|---|---|
protected PropertyValue |
createPropertyValue(Map.Entry<String,Object> entry) |
String |
getLabelPosition() |
int |
getLabelWidth() |
String |
getPlaceholder() |
protected Optional<String> |
getRequiredExpression()
For test purpose
|
String |
getUrl() |
String |
getValue() |
boolean |
isRequired() |
void |
setLabelPosition(LabelPosition labelPosition) |
void |
setLabelWidth(int labelWidth) |
void |
setPlaceholder(String placeholder) |
void |
setRequired(boolean required) |
void |
setRequiredExpression(String requiredExpression)
Dynamic read only state for the generated widget
|
void |
setUrl(String url) |
void |
setValue(String value) |
getLabel, isLabelHidden, setLabel, setLabelHiddencreatePropertyValue, getCssClasses, getDimension, getEntryKey, getHidden, getWidgetId, setCssClasses, setDimension, setHidden, setPropertyValue, toComponent, toPropertyValuespublic String getLabelPosition()
public void setLabelPosition(LabelPosition labelPosition)
public int getLabelWidth()
public void setLabelWidth(int labelWidth)
setLabelWidth in interface Labeledpublic String getPlaceholder()
public void setPlaceholder(String placeholder)
public String getValue()
public String getUrl()
public void setUrl(String url)
public boolean isRequired()
public void setRequired(boolean required)
setRequired in interface Requirablepublic void setRequiredExpression(String requiredExpression)
protected PropertyValue createPropertyValue(Map.Entry<String,Object> entry)
createPropertyValue in class AbstractParametrizedWidgetCopyright © 2021. All rights reserved.