aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/main/java/com/vaadin/ui/AbsoluteLayout.java5
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractLayout.java5
-rw-r--r--server/src/main/java/com/vaadin/ui/Accordion.java5
-rw-r--r--server/src/main/java/com/vaadin/ui/Audio.java5
-rw-r--r--server/src/main/java/com/vaadin/ui/BrowserFrame.java5
-rw-r--r--server/src/main/java/com/vaadin/ui/CssLayout.java5
-rw-r--r--server/src/main/java/com/vaadin/ui/FormLayout.java5
-rw-r--r--server/src/main/java/com/vaadin/ui/HorizontalLayout.java5
-rw-r--r--server/src/main/java/com/vaadin/ui/HorizontalSplitPanel.java7
-rw-r--r--server/src/main/java/com/vaadin/ui/Image.java5
-rw-r--r--server/src/main/java/com/vaadin/ui/TextField.java8
-rw-r--r--server/src/main/java/com/vaadin/ui/VerticalLayout.java5
-rw-r--r--server/src/main/java/com/vaadin/ui/VerticalSplitPanel.java5
-rw-r--r--server/src/main/java/com/vaadin/ui/Video.java16
-rw-r--r--server/src/main/java/com/vaadin/ui/components/colorpicker/ColorPickerGradient.java5
15 files changed, 83 insertions, 8 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbsoluteLayout.java b/server/src/main/java/com/vaadin/ui/AbsoluteLayout.java
index b15db199a0..f296e23245 100644
--- a/server/src/main/java/com/vaadin/ui/AbsoluteLayout.java
+++ b/server/src/main/java/com/vaadin/ui/AbsoluteLayout.java
@@ -74,6 +74,11 @@ public class AbsoluteLayout extends AbstractLayout
return (AbsoluteLayoutState) super.getState();
}
+ @Override
+ protected AbsoluteLayoutState getState(boolean markAsDirty) {
+ return (AbsoluteLayoutState) super.getState(markAsDirty);
+ }
+
/**
* Gets an iterator for going through all components enclosed in the
* absolute layout.
diff --git a/server/src/main/java/com/vaadin/ui/AbstractLayout.java b/server/src/main/java/com/vaadin/ui/AbstractLayout.java
index a4b4f06bf7..d4f8042355 100644
--- a/server/src/main/java/com/vaadin/ui/AbstractLayout.java
+++ b/server/src/main/java/com/vaadin/ui/AbstractLayout.java
@@ -38,6 +38,11 @@ public abstract class AbstractLayout extends AbstractComponentContainer
return (AbstractLayoutState) super.getState();
}
+ @Override
+ protected AbstractLayoutState getState(boolean markAsDirty) {
+ return (AbstractLayoutState) super.getState(markAsDirty);
+ }
+
/**
* Reads margin attributes from a design into a MarginInfo object. This
* helper method should be called from the
diff --git a/server/src/main/java/com/vaadin/ui/Accordion.java b/server/src/main/java/com/vaadin/ui/Accordion.java
index 698214cd5c..9f63673358 100644
--- a/server/src/main/java/com/vaadin/ui/Accordion.java
+++ b/server/src/main/java/com/vaadin/ui/Accordion.java
@@ -58,4 +58,9 @@ public class Accordion extends TabSheet {
return (AccordionState) super.getState();
}
+ @Override
+ protected AccordionState getState(boolean markAsDirty) {
+ return (AccordionState) super.getState(markAsDirty);
+ }
+
}
diff --git a/server/src/main/java/com/vaadin/ui/Audio.java b/server/src/main/java/com/vaadin/ui/Audio.java
index a3bf358ce6..e6b6caf531 100644
--- a/server/src/main/java/com/vaadin/ui/Audio.java
+++ b/server/src/main/java/com/vaadin/ui/Audio.java
@@ -70,4 +70,9 @@ public class Audio extends AbstractMedia {
protected AudioState getState() {
return (AudioState) super.getState();
}
+
+ @Override
+ protected AudioState getState(boolean markAsDirty) {
+ return (AudioState) super.getState(markAsDirty);
+ }
}
diff --git a/server/src/main/java/com/vaadin/ui/BrowserFrame.java b/server/src/main/java/com/vaadin/ui/BrowserFrame.java
index 44d0c8205e..9fa5545097 100644
--- a/server/src/main/java/com/vaadin/ui/BrowserFrame.java
+++ b/server/src/main/java/com/vaadin/ui/BrowserFrame.java
@@ -62,4 +62,9 @@ public class BrowserFrame extends AbstractEmbedded {
protected BrowserFrameState getState() {
return (BrowserFrameState) super.getState();
}
+
+ @Override
+ protected BrowserFrameState getState(boolean markAsDirty) {
+ return (BrowserFrameState) super.getState(markAsDirty);
+ }
}
diff --git a/server/src/main/java/com/vaadin/ui/CssLayout.java b/server/src/main/java/com/vaadin/ui/CssLayout.java
index 5295f34aa0..d293dbe47c 100644
--- a/server/src/main/java/com/vaadin/ui/CssLayout.java
+++ b/server/src/main/java/com/vaadin/ui/CssLayout.java
@@ -232,6 +232,11 @@ public class CssLayout extends AbstractLayout implements LayoutClickNotifier {
return (CssLayoutState) super.getState();
}
+ @Override
+ protected CssLayoutState getState(boolean markAsDirty) {
+ return (CssLayoutState) super.getState(markAsDirty);
+ }
+
/**
* Returns styles to be applied to given component. Override this method to
* inject custom style rules to components.
diff --git a/server/src/main/java/com/vaadin/ui/FormLayout.java b/server/src/main/java/com/vaadin/ui/FormLayout.java
index e0cbfe41ff..c97ab16c32 100644
--- a/server/src/main/java/com/vaadin/ui/FormLayout.java
+++ b/server/src/main/java/com/vaadin/ui/FormLayout.java
@@ -76,4 +76,9 @@ public class FormLayout extends AbstractOrderedLayout {
protected FormLayoutState getState() {
return (FormLayoutState) super.getState();
}
+
+ @Override
+ protected FormLayoutState getState(boolean markAsDirty) {
+ return (FormLayoutState) super.getState(markAsDirty);
+ }
}
diff --git a/server/src/main/java/com/vaadin/ui/HorizontalLayout.java b/server/src/main/java/com/vaadin/ui/HorizontalLayout.java
index 3d6cc2e060..4682937ff5 100644
--- a/server/src/main/java/com/vaadin/ui/HorizontalLayout.java
+++ b/server/src/main/java/com/vaadin/ui/HorizontalLayout.java
@@ -55,4 +55,9 @@ public class HorizontalLayout extends AbstractOrderedLayout {
return (HorizontalLayoutState) super.getState();
}
+ @Override
+ protected HorizontalLayoutState getState(boolean markAsDirty) {
+ return (HorizontalLayoutState) super.getState(markAsDirty);
+ }
+
}
diff --git a/server/src/main/java/com/vaadin/ui/HorizontalSplitPanel.java b/server/src/main/java/com/vaadin/ui/HorizontalSplitPanel.java
index 464f184d81..92190e460d 100644
--- a/server/src/main/java/com/vaadin/ui/HorizontalSplitPanel.java
+++ b/server/src/main/java/com/vaadin/ui/HorizontalSplitPanel.java
@@ -28,7 +28,7 @@ import com.vaadin.shared.ui.splitpanel.HorizontalSplitPanelState;
* | The first component || The second component |
* | || |
* +---------------------++----------------------+
- *
+ *
* ^
* |
* the splitter
@@ -66,4 +66,9 @@ public class HorizontalSplitPanel extends AbstractSplitPanel {
protected HorizontalSplitPanelState getState() {
return (HorizontalSplitPanelState) super.getState();
}
+
+ @Override
+ protected HorizontalSplitPanelState getState(boolean markAsDirty) {
+ return (HorizontalSplitPanelState) super.getState(markAsDirty);
+ }
}
diff --git a/server/src/main/java/com/vaadin/ui/Image.java b/server/src/main/java/com/vaadin/ui/Image.java
index 504ab85426..ce19f5c410 100644
--- a/server/src/main/java/com/vaadin/ui/Image.java
+++ b/server/src/main/java/com/vaadin/ui/Image.java
@@ -73,6 +73,11 @@ public class Image extends AbstractEmbedded {
return (ImageState) super.getState();
}
+ @Override
+ protected ImageState getState(boolean markAsDirty) {
+ return (ImageState) super.getState(markAsDirty);
+ }
+
/**
* Add a click listener to the component. The listener is called whenever
* the user clicks inside the component. Depending on the content the event
diff --git a/server/src/main/java/com/vaadin/ui/TextField.java b/server/src/main/java/com/vaadin/ui/TextField.java
index a851eb5e28..3969fec202 100644
--- a/server/src/main/java/com/vaadin/ui/TextField.java
+++ b/server/src/main/java/com/vaadin/ui/TextField.java
@@ -70,6 +70,11 @@ public class TextField extends AbstractTextField {
}
@Override
+ protected TextFieldState getState(boolean markAsDirty) {
+ return (TextFieldState) super.getState(markAsDirty);
+ }
+
+ @Override
public void readDesign(Element design, DesignContext designContext) {
super.readDesign(design, designContext);
Attributes attr = design.attributes();
@@ -83,8 +88,7 @@ public class TextField extends AbstractTextField {
@Override
public void writeDesign(Element design, DesignContext designContext) {
super.writeDesign(design, designContext);
- AbstractTextField def = designContext
- .getDefaultInstance(this);
+ AbstractTextField def = designContext.getDefaultInstance(this);
Attributes attr = design.attributes();
DesignAttributeHandler.writeAttribute("value", attr, getValue(),
def.getValue(), String.class, designContext);
diff --git a/server/src/main/java/com/vaadin/ui/VerticalLayout.java b/server/src/main/java/com/vaadin/ui/VerticalLayout.java
index 8e7d45aee9..7fcf6d438a 100644
--- a/server/src/main/java/com/vaadin/ui/VerticalLayout.java
+++ b/server/src/main/java/com/vaadin/ui/VerticalLayout.java
@@ -55,4 +55,9 @@ public class VerticalLayout extends AbstractOrderedLayout {
protected VerticalLayoutState getState() {
return (VerticalLayoutState) super.getState();
}
+
+ @Override
+ protected VerticalLayoutState getState(boolean markAsDirty) {
+ return (VerticalLayoutState) super.getState(markAsDirty);
+ }
}
diff --git a/server/src/main/java/com/vaadin/ui/VerticalSplitPanel.java b/server/src/main/java/com/vaadin/ui/VerticalSplitPanel.java
index 716d28a5d5..4bb8c6ebfd 100644
--- a/server/src/main/java/com/vaadin/ui/VerticalSplitPanel.java
+++ b/server/src/main/java/com/vaadin/ui/VerticalSplitPanel.java
@@ -60,4 +60,9 @@ public class VerticalSplitPanel extends AbstractSplitPanel {
protected VerticalSplitPanelState getState() {
return (VerticalSplitPanelState) super.getState();
}
+
+ @Override
+ protected VerticalSplitPanelState getState(boolean markAsDirty) {
+ return (VerticalSplitPanelState) super.getState(markAsDirty);
+ }
}
diff --git a/server/src/main/java/com/vaadin/ui/Video.java b/server/src/main/java/com/vaadin/ui/Video.java
index af0ef618a4..658c9037c7 100644
--- a/server/src/main/java/com/vaadin/ui/Video.java
+++ b/server/src/main/java/com/vaadin/ui/Video.java
@@ -51,11 +51,6 @@ import com.vaadin.ui.declarative.DesignContext;
*/
public class Video extends AbstractMedia {
- @Override
- protected VideoState getState() {
- return (VideoState) super.getState();
- }
-
public Video() {
this("", null);
}
@@ -128,4 +123,15 @@ public class Video extends AbstractMedia {
result.add("poster");
return result;
}
+
+ @Override
+ protected VideoState getState() {
+ return (VideoState) super.getState();
+ }
+
+ @Override
+ protected VideoState getState(boolean markAsDirty) {
+ return (VideoState) super.getState(markAsDirty);
+ }
+
}
diff --git a/server/src/main/java/com/vaadin/ui/components/colorpicker/ColorPickerGradient.java b/server/src/main/java/com/vaadin/ui/components/colorpicker/ColorPickerGradient.java
index 2e0b855ef9..bc92a755a4 100644
--- a/server/src/main/java/com/vaadin/ui/components/colorpicker/ColorPickerGradient.java
+++ b/server/src/main/java/com/vaadin/ui/components/colorpicker/ColorPickerGradient.java
@@ -109,4 +109,9 @@ public class ColorPickerGradient extends AbstractField<Color> {
protected ColorPickerGradientState getState() {
return (ColorPickerGradientState) super.getState();
}
+
+ @Override
+ protected ColorPickerGradientState getState(boolean markAsDirty) {
+ return (ColorPickerGradientState) super.getState(markAsDirty);
+ }
}