summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/OptionGroup.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-08-23 12:09:48 +0300
committerLeif Åstrand <leif@vaadin.com>2012-08-23 12:09:48 +0300
commitbc6786f0dc865b88dd2eeb0614534bfce80dee35 (patch)
tree0e1d0d0a27a0c0c50293798490888f92029bb937 /server/src/com/vaadin/ui/OptionGroup.java
parentaf8afede9f0d196a28792dea9e587a1eac829902 (diff)
downloadvaadin-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/OptionGroup.java')
-rw-r--r--server/src/com/vaadin/ui/OptionGroup.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/com/vaadin/ui/OptionGroup.java b/server/src/com/vaadin/ui/OptionGroup.java
index dfb5019331..12507442c9 100644
--- a/server/src/com/vaadin/ui/OptionGroup.java
+++ b/server/src/com/vaadin/ui/OptionGroup.java
@@ -125,14 +125,14 @@ public class OptionGroup extends AbstractSelect implements
Set<?> newValueSet = (Set<?>) newValue;
for (Object itemId : currentValueSet) {
if (!isItemEnabled(itemId) && !newValueSet.contains(itemId)) {
- requestRepaint();
+ markAsDirty();
return;
}
}
for (Object itemId : newValueSet) {
if (!isItemEnabled(itemId)
&& !currentValueSet.contains(itemId)) {
- requestRepaint();
+ markAsDirty();
return;
}
}
@@ -141,7 +141,7 @@ public class OptionGroup extends AbstractSelect implements
newValue = getNullSelectionItemId();
}
if (!isItemEnabled(newValue)) {
- requestRepaint();
+ markAsDirty();
return;
}
}
@@ -169,7 +169,7 @@ public class OptionGroup extends AbstractSelect implements
} else {
disabledItemIds.add(itemId);
}
- requestRepaint();
+ markAsDirty();
}
}
@@ -200,7 +200,7 @@ public class OptionGroup extends AbstractSelect implements
*/
public void setHtmlContentAllowed(boolean htmlContentAllowed) {
this.htmlContentAllowed = htmlContentAllowed;
- requestRepaint();
+ markAsDirty();
}
/**