Example usage for com.google.gwt.dom.client Element implAccess

List of usage examples for com.google.gwt.dom.client Element implAccess

Introduction

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

Prototype

public ElementImplAccess implAccess() 

Source Link

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();
    }//from   www .j a  v a  2 s .  c om
}

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

License:Apache License

public static void setElementStyle(Element eltMulti, String css) {
    if (eltMulti.implAccess().linkedToRemote()) {
        setElementStyle0(eltMulti, css);
    } else {//from ww w  .  j a v  a  2s .  c om
        eltMulti.setAttribute("style", css);
    }
}

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

License:Apache License

private static void ensureRemote(Element element) {
    element.implAccess().ensureRemote();
}