diff options
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/renderers/ButtonRenderer.java')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/renderers/ButtonRenderer.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/renderers/ButtonRenderer.java b/server/src/main/java/com/vaadin/ui/renderers/ButtonRenderer.java index 30e098492f..b9eec4714b 100644 --- a/server/src/main/java/com/vaadin/ui/renderers/ButtonRenderer.java +++ b/server/src/main/java/com/vaadin/ui/renderers/ButtonRenderer.java @@ -15,6 +15,8 @@ */ package com.vaadin.ui.renderers; +import com.vaadin.shared.ui.grid.renderers.ButtonRendererState; + /** * A Renderer that displays a button with a textual caption. The value of the * corresponding property is used as the caption. Click listeners can be added @@ -71,4 +73,14 @@ public class ButtonRenderer<T> extends ClickableRenderer<T, String> { return super.getNullRepresentation(); } + @Override + protected ButtonRendererState getState() { + return (ButtonRendererState) super.getState(); + } + + @Override + protected ButtonRendererState getState(boolean markAsDirty) { + return (ButtonRendererState) super.getState(markAsDirty); + } + } |