diff options
author | Denis <denis@vaadin.com> | 2016-12-08 10:57:38 +0200 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2016-12-08 10:57:38 +0200 |
commit | 9fb43988c7335167d40b01479265e41cad55d301 (patch) | |
tree | 941d5c15b403776a83b9474df39ffb52eb320768 /server/src/main/java/com/vaadin/ui/renderers/ProgressBarRenderer.java | |
parent | 414de3c4b2ea5267808980bd23a9e56aa865e96b (diff) | |
download | vaadin-framework-9fb43988c7335167d40b01479265e41cad55d301.tar.gz vaadin-framework-9fb43988c7335167d40b01479265e41cad55d301.zip |
Introduce dedicated shared states for every core vaadin component/ext. (#98)
* Introduce dedicated shared states for every core vaadin component/ext.
Updated components are:
- PasswordField
- CustomField
- AbstractListing
- AbstractMultiSelect
- ColorPicker
- ColorPickerArea
- DataCommunicator
- Responsive
- AbstractListingExtension
- DetailsManager
- AbstractRenderer
- ClickableRenderer
- ButtonRenderer
- CheckBoxRenderer
- DateRenderer
- HtmlRenderer
- ImageRenderer
- NumberRenderer
- ProgressBarRenderer
- TextRenderer
Fixes vaadin/framework8-issues#480.
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/renderers/ProgressBarRenderer.java')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/renderers/ProgressBarRenderer.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/renderers/ProgressBarRenderer.java b/server/src/main/java/com/vaadin/ui/renderers/ProgressBarRenderer.java index e06f98865d..bf851e5567 100644 --- a/server/src/main/java/com/vaadin/ui/renderers/ProgressBarRenderer.java +++ b/server/src/main/java/com/vaadin/ui/renderers/ProgressBarRenderer.java @@ -15,6 +15,8 @@ */ package com.vaadin.ui.renderers; +import com.vaadin.shared.ui.grid.renderers.ProgressBarRendererState; + import elemental.json.JsonValue; /** @@ -42,4 +44,14 @@ public class ProgressBarRenderer extends AbstractRenderer<Object, Double> { } return super.encode(value); } + + @Override + protected ProgressBarRendererState getState() { + return (ProgressBarRendererState) super.getState(); + } + + @Override + protected ProgressBarRendererState getState(boolean markAsDirty) { + return (ProgressBarRendererState) super.getState(markAsDirty); + } } |