Browse Source

javadocs

svn changeset:12425/svn branch:6.3
tags/6.7.0.beta1
Matti Tahvonen 14 years ago
parent
commit
99c8a9bd48
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      src/com/vaadin/terminal/gwt/client/UIDL.java

+ 7
- 0
src/com/vaadin/terminal/gwt/client/UIDL.java View File

@@ -533,6 +533,13 @@ public final class UIDL extends JavaScriptObject {
return connection.getPaintable(getStringVariable(name));
}

/**
* Returns the child UIDL by its name. If several child nodes exist with the
* given name, the first child UIDL will be returned.
*
* @param tagName
* @return the child UIDL or null if child wit given name was not found
*/
public UIDL getChildByTagName(String tagName) {
Iterator<Object> childIterator = getChildIterator();
while (childIterator.hasNext()) {

Loading…
Cancel
Save