Change-Id: Icb43511234b9c2e56102976929e7382e0bbf0b5ftags/8.0.0.alpha8
@@ -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. |
@@ -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 |
@@ -58,4 +58,9 @@ public class Accordion extends TabSheet { | |||
return (AccordionState) super.getState(); | |||
} | |||
@Override | |||
protected AccordionState getState(boolean markAsDirty) { | |||
return (AccordionState) super.getState(markAsDirty); | |||
} | |||
} |
@@ -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); | |||
} | |||
} |
@@ -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); | |||
} | |||
} |
@@ -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. |
@@ -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); | |||
} | |||
} |
@@ -55,4 +55,9 @@ public class HorizontalLayout extends AbstractOrderedLayout { | |||
return (HorizontalLayoutState) super.getState(); | |||
} | |||
@Override | |||
protected HorizontalLayoutState getState(boolean markAsDirty) { | |||
return (HorizontalLayoutState) super.getState(markAsDirty); | |||
} | |||
} |
@@ -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); | |||
} | |||
} |
@@ -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 |
@@ -69,6 +69,11 @@ public class TextField extends AbstractTextField { | |||
return (TextFieldState) super.getState(); | |||
} | |||
@Override | |||
protected TextFieldState getState(boolean markAsDirty) { | |||
return (TextFieldState) super.getState(markAsDirty); | |||
} | |||
@Override | |||
public void readDesign(Element design, DesignContext designContext) { | |||
super.readDesign(design, designContext); | |||
@@ -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); |
@@ -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); | |||
} | |||
} |
@@ -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); | |||
} | |||
} |
@@ -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); | |||
} | |||
} |
@@ -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); | |||
} | |||
} |