Example usage for com.google.gwt.widgetideas.client.overrides DOMHelper clone

List of usage examples for com.google.gwt.widgetideas.client.overrides DOMHelper clone

Introduction

In this page you can find the example usage for com.google.gwt.widgetideas.client.overrides DOMHelper clone.

Prototype

public static native Element clone(Element elem, boolean deep) ;

Source Link

Document

Clones a DOM element.

Usage

From source file:com.tensegrity.wpalo.client.ui.mvc.fasttree.FastMSTreeItem.java

License:Apache License

Element createLeafElement() {
    Element elem = DOMHelper.clone(TREE_LEAF, true);
    contentElem = DOMHelper.rawFirstChild(elem);
    return elem;
}