Example usage for com.google.gwt.dom.client NodeRemote getParentNodeRemote

List of usage examples for com.google.gwt.dom.client NodeRemote getParentNodeRemote

Introduction

In this page you can find the example usage for com.google.gwt.dom.client NodeRemote getParentNodeRemote.

Prototype

public final native NodeRemote getParentNodeRemote() ;

Source Link

Document

The parent of this node.

Usage

From source file:cc.alcina.framework.gwt.client.util.ClientUtils.java

License:Apache License

public static void dumpElementTree(Element elt) {
    NodeRemote jso = elt.implAccess().ensureRemote();
    while (jso != null) {
        System.out.println(Ax.format("dump - %s - %s", jso.hashCode(), jso));
        jso = jso.getParentNodeRemote();
    }//  ww  w.  ja  va  2s.c  o m
}