Package org.sgx.yuigwt.yui

Examples of org.sgx.yuigwt.yui.YUICallback


}

@Override
public void test(final Node parent) {
YUI.YUI().use
new String[]{"gallery-yui3treeview-ng", "css3-selectors"}, new YUICallback() {
  @Override
  public void ready(YuiContext Y_) {   
    Y = Y_.cast();    
   
    treeView1 = Y.newTreeViewNg(TreeViewConfig.create().children(
View Full Code Here


public void test(final Node parent) {
YUI.YUI(
//  YuiConfig.create().gallery("gallery-2012.07.18-13-22")
  YuiConfig.create().gallery(GalleryConstants.LATEST_BUILD)
).use
new String[]{"gallery-yui-treeview", "io", "json"}, new YUICallback() {
  @Override
  public void ready(YuiContext Y_) {   
    Y = Y_.cast();    
    TreeViewTest2.this.parent = parent;
    parent.append("YUI modules and submodules hierarchical information. ");
View Full Code Here

    .module("gallery-deferred", Module.create()
      .fullpath("http://juandopazo.github.com/yui3-gallery/build/gallery-deferred/gallery-deferred.js")
      .requires(new String[]{"event-custom"})
    )     
  ).use(new String[]{"node", "node-load", "transition", "plugin", "get","io",
      "gallery-deferred", "io", "console", "button", "json", "io-base"}, new YUICallback() {
   
  @Override
  public void ready(YuiContext Y_) {
   
    final YuiGalleryContext Y = Y_.cast();    
View Full Code Here

@Override
public void test(final Node parent) {
 
YUI.YUI(YuiConfig.create().gallery("gallery-2012.07.18-13-22").debug(true).filter("DEBUG")).use(
new String[]{"gallery-yui-treeview"/*, "resetcss"*/}, new YUICallback() {
  @Override
  public void ready(YuiContext Y_) {   
   
    //cast to YuiGalleryContext for using the yui gallery java api.
    final YuiGalleryContext Y = Y_.cast();
View Full Code Here


@Override
public void test(final Node parent) {
YUI.YUI(YuiConfig.create().gallery("gallery-2011.10.20-23-28"))
.use(new String[]{"yql", "gallery-geo", "handlebars"}, new YUICallback() {
  @Override
  public void ready(final YuiContext Y) {

    final Console console = Y.newConsole().collapsed(true).render().cast();   
   
View Full Code Here

      new String[]{TAG_WIDGET, TAG_SLIDER, TAG_EXT, TAG_YUI}, TestResources.instance.ConfigObjectsTest1());
}

@Override
public void test(final Node parent) {
  YUI.YUI().use(new String[]{"slider"}, new YUICallback() {
 
    @Override
    public void ready(YuiContext Y) {
      parent.append("<p><b>These are sliders with the same configuration values, but the configuration objects are created using different technics for showing that after configuration objects are only javascript objects. </b></p>");
     
View Full Code Here

    TestResources.instance.DataSchemaXMLTable1());
}

@Override
public void test(final Node parent) {
YUI.Use(new String[]{"datatype-xml", "dataschema-xml", "node", "dump", "datatable"}, new YUICallback() {
  @Override
  public void ready(final YuiContext Y) {
    parent.append(
      " <table id=\"simple\">\n"+
      "    <tr>\n"+
View Full Code Here

      TestResources.instance.ImageLoaderTest1());
}

@Override
public void test(final Node parent) {
YUI.Use(new String[]{"button", "imageloader"}, new YUICallback() {
  @Override
  public void ready(final YuiContext Y) {
    Node trigger = parent.appendChild("<p id=\"trigger1\">clickme will trigger or wait 5s</p>");
    Node img = parent.appendChild("<p id=\"delayedImg\">this is a<br/>delayed img</p>");
    ImgLoadGroup myFirstGroup = Y.newImgLoadGroup(ImgLoadGroupConfig.create().timeLimit(5));
View Full Code Here

    TestResources.instance.DataSchemaTest1());
}

@Override
public void test(final Node parent) {
YUI.Use(new String[]{"dataschema-array"}, new YUICallback() {
  @Override
  public void ready(final YuiContext Y) {
   
    //create some json data using JsArr and JSObject - this data is commonly returned by the server in json
    JsArr data_in = JsArr.create(
View Full Code Here

        new String[] { GalleryConstants.TAG_ROUTER }, TestResources.instance.RouterTest1());
  }

  @Override
  public void test(final Node parent) {
    YUI.YUI().use(new String[] { "router", "button" }, new YUICallback() {

      @Override
      public void ready(YuiContext Y) {
        Button b1 = Y.newButton(ButtonConfig.create().label("request /mysite/foo").render(parent)
            .on("click", new EventCallback<ButtonEvent>() {
View Full Code Here

TOP

Related Classes of org.sgx.yuigwt.yui.YUICallback

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.