]> source.dussan.org Git - vaadin-framework.git/commitdiff
renamed function (typo)
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 4 Feb 2008 11:46:36 +0000 (11:46 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 4 Feb 2008 11:46:36 +0000 (11:46 +0000)
svn changeset:3707/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/UIDL.java
src/com/itmill/toolkit/terminal/gwt/client/ui/ITree.java
src/com/itmill/toolkit/terminal/gwt/client/ui/IView.java
src/com/itmill/toolkit/terminal/gwt/client/ui/IWindow.java

index 1dffe8c3b2be2033056c966c9e4e09f95d9ece1f..0b8d319e7212af5aab8d4b45d00a54b55d7879c3 100644 (file)
@@ -458,7 +458,7 @@ public class UIDL {
         }
     }
 
-    public int getChidlCount() {
+    public int getChildCount() {
         return json.size() - 2;
     }
 
index 64693b5b938caee54bb500826d783816589f7471..d592462faa96115021080f2f92d9f2e851dbb7ed 100644 (file)
@@ -248,7 +248,7 @@ public class ITree extends FlowPanel implements Paintable {
             }
 
             if (uidl.getTag().equals("node")) {
-                if (uidl.getChidlCount() == 0) {
+                if (uidl.getChildCount() == 0) {
                     childNodeContainer.setVisible(false);
                 } else {
                     renderChildNodes(uidl.getChildIterator());
index 849968a747ff0a3f991d5785a7415e2491dbe5a1..5119004f5e7bd6a7049858ae0fe033a0f2206f7b 100644 (file)
@@ -64,7 +64,7 @@ public class IView extends SimplePanel implements Paintable,
         int childIndex = 0;
 
         // Open URL:s
-        while (childIndex < uidl.getChidlCount()
+        while (childIndex < uidl.getChildCount()
                 && "open".equals(uidl.getChildUIDL(childIndex).getTag())) {
             final UIDL open = uidl.getChildUIDL(childIndex);
             final String url = open.getStringAttribute("src");
index fa660f5df779a2df069e9ddf9d59f2d8e424d4d5..dc4da8d09577517b7b5fce38e096c2e3723454bc 100644 (file)
@@ -259,8 +259,8 @@ public class IWindow extends PopupPanel implements Paintable, ScrollListener {
         }
 
         // we may have actions and notifications
-        if (uidl.getChidlCount() > 1) {
-            final int cnt = uidl.getChidlCount();
+        if (uidl.getChildCount() > 1) {
+            final int cnt = uidl.getChildCount();
             for (int i = 1; i < cnt; i++) {
                 childUidl = uidl.getChildUIDL(i);
                 if (childUidl.getTag().equals("actions")) {