aboutsummaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java b/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java
index 217946391c..81b4bdf8c4 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java
@@ -33,7 +33,20 @@ public class UploadState extends AbstractComponentState {
primaryStyleName = "v-upload";
}
+ /** Upload component's list of accepted content-types. */
@DelegateToWidget
@NoLayout
public String acceptMimeTypes;
+
+ /** Caption of the button that fires uploading. */
+ public String buttonCaption = "Upload";
+
+ /** Style name of the button that fires uploading. */
+ public String buttonStyleName = "v-button";
+
+ /**
+ * Should the caption of the button that fires uploading be rendered as
+ * HTML.
+ */
+ public boolean buttonCaptionAsHtml;
}