Package org.sgx.yuigwt.yuigallery.deferred

Examples of org.sgx.yuigwt.yuigallery.deferred.NodeDeferred


}


protected void doDeferred1(Node parent, YuiGalleryContext Y) {
  //we work with NodeDeferred (extends Node) that adds the augmented "deferred" property
  NodeDeferred n1 = Y.one(parent.getDOMNode()).appendChild("<div>deferred1!</div>")
      .plug(Y.NodeDeferred()).cast();
 
  n1.setStyles(Style.create().
    backgroundColor("red").position("absolute").
    width("50px").height("40px").top("100px").left("10px"));
 
  n1 = n1.plug(Y.NodeDeferred()).cast();
 
  console.log(n1.deferred()+"");    
 
  n1.deferred().transition(Transition.create().width("200px"))
    .transition(Transition.create().top("200px"))
    .transition(Transition.create().height("200px"))
    .transition(Transition.create().left("300px").fontSize("30px").duration(2))
    .load(GWT.getModuleBaseURL()+"testfiles/page1.html");
}
View Full Code Here

TOP

Related Classes of org.sgx.yuigwt.yuigallery.deferred.NodeDeferred

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.