summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-02-27 15:37:13 +0200
committerLeif Åstrand <leif@vaadin.com>2012-02-27 15:37:13 +0200
commit3518cae5b567dbdc4216d1cee593564aaf43d649 (patch)
tree771627617f12717b17ad3e91a32c6c79494a9798 /src
parent773044eacc3986d768bf6668da1c201d2bbb19bf (diff)
downloadvaadin-framework-3518cae5b567dbdc4216d1cee593564aaf43d649.tar.gz
vaadin-framework-3518cae5b567dbdc4216d1cee593564aaf43d649.zip
Change internal naming for notifiable -> managed
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/client/LayoutManager.java19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/LayoutManager.java b/src/com/vaadin/terminal/gwt/client/LayoutManager.java
index d125543c2d..f2117dc513 100644
--- a/src/com/vaadin/terminal/gwt/client/LayoutManager.java
+++ b/src/com/vaadin/terminal/gwt/client/LayoutManager.java
@@ -118,25 +118,25 @@ public class LayoutManager {
for (VPaintableWidget paintable : paintableWidgets) {
MeasuredSize measuredSize = getMeasuredSize(paintable);
- boolean notifiableType = isNotifiableType(paintable);
+ boolean managed = isManagedLayout(paintable);
VPaintableWidgetContainer parent = paintable.getParent();
- boolean parentNotifiable = parent != null
- && isNotifiableType(parent);
+ boolean managedParent = parent != null
+ && isManagedLayout(parent);
if (measuredSize.isHeightNeedsUpdate()) {
- if (notifiableType) {
+ if (managed) {
needsHeightUpdate.add(paintable.getId());
}
- if (!paintable.isRelativeHeight() && parentNotifiable) {
+ if (!paintable.isRelativeHeight() && managedParent) {
needsHeightUpdate.add(parent.getId());
}
}
if (measuredSize.isWidthNeedsUpdate()) {
- if (notifiableType) {
+ if (managed) {
needsWidthUpdate.add(paintable.getId());
}
- if (!paintable.isRelativeWidth() && parentNotifiable) {
+ if (!paintable.isRelativeWidth() && managedParent) {
needsWidthUpdate.add(parent.getId());
}
}
@@ -258,9 +258,8 @@ public class LayoutManager {
}
}
- private static boolean isNotifiableType(VPaintableWidget paintable) {
- return paintable instanceof SimpleManagedLayout
- || paintable instanceof DirectionalManagedLayout;
+ private static boolean isManagedLayout(VPaintableWidget paintable) {
+ return paintable instanceof ManagedLayout;
}
public void foceLayout() {