Package com.google.gwt.user.client.ui

Examples of com.google.gwt.user.client.ui.PotentialElement


   private static final String POTENTIALELEMENT_UIOBJECT = "POTENTIALELEMENT_UIOBJECT";
   private static final String POTENTIALELEMENT_WRAPPED_ELEMENT = "POTENTIALELEMENT_WRAPPED_ELEMENT";

   @PatchMethod
   static PotentialElement build(UIObject o, String tagName) {
      PotentialElement e = JsoUtils.newNode(Node.ELEMENT_NODE).cast();
      Element wrappedElement = JsoUtils.newElement(tagName, o.getElement().getOwnerDocument());
      JavaScriptObjects.setProperty(e, POTENTIALELEMENT_TAG, true);
      JavaScriptObjects.setProperty(e, POTENTIALELEMENT_WRAPPED_ELEMENT, wrappedElement);
      JavaScriptObjects.setProperty(e, POTENTIALELEMENT_UIOBJECT, o);
View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.ui.PotentialElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.