diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-08-23 12:09:48 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-08-23 12:09:48 +0300 |
commit | bc6786f0dc865b88dd2eeb0614534bfce80dee35 (patch) | |
tree | 0e1d0d0a27a0c0c50293798490888f92029bb937 /server/src/com/vaadin/ui/CssLayout.java | |
parent | af8afede9f0d196a28792dea9e587a1eac829902 (diff) | |
download | vaadin-framework-bc6786f0dc865b88dd2eeb0614534bfce80dee35.tar.gz vaadin-framework-bc6786f0dc865b88dd2eeb0614534bfce80dee35.zip |
Rename requestRepaint to markAsDirty (#9378)
Also remove some requestRepaint calls that are no longer needed (#9325)
Diffstat (limited to 'server/src/com/vaadin/ui/CssLayout.java')
-rw-r--r-- | server/src/com/vaadin/ui/CssLayout.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/com/vaadin/ui/CssLayout.java b/server/src/com/vaadin/ui/CssLayout.java index c80986b768..b16bcf31df 100644 --- a/server/src/com/vaadin/ui/CssLayout.java +++ b/server/src/com/vaadin/ui/CssLayout.java @@ -102,7 +102,7 @@ public class CssLayout extends AbstractLayout implements LayoutClickNotifier { components.add(c); try { super.addComponent(c); - requestRepaint(); + markAsDirty(); } catch (IllegalArgumentException e) { components.remove(c); throw e; @@ -125,7 +125,7 @@ public class CssLayout extends AbstractLayout implements LayoutClickNotifier { components.addFirst(c); try { super.addComponent(c); - requestRepaint(); + markAsDirty(); } catch (IllegalArgumentException e) { components.remove(c); throw e; @@ -154,7 +154,7 @@ public class CssLayout extends AbstractLayout implements LayoutClickNotifier { components.add(index, c); try { super.addComponent(c); - requestRepaint(); + markAsDirty(); } catch (IllegalArgumentException e) { components.remove(c); throw e; @@ -171,7 +171,7 @@ public class CssLayout extends AbstractLayout implements LayoutClickNotifier { public void removeComponent(Component c) { components.remove(c); super.removeComponent(c); - requestRepaint(); + markAsDirty(); } /** @@ -276,7 +276,7 @@ public class CssLayout extends AbstractLayout implements LayoutClickNotifier { components.add(newLocation, oldComponent); } - requestRepaint(); + markAsDirty(); } } |