Package org.sgx.yuigwt.galleryexplorer.client

Source Code of org.sgx.yuigwt.galleryexplorer.client.YuigalleryExplorer

package org.sgx.yuigwt.galleryexplorer.client;

import org.sgx.yuigwt.galleryexplorer.client.ui.Gallery;
import org.sgx.yuigwt.galleryexplorer.client.ui.GalleryUtil;
import org.sgx.yuigwt.yui.YUI;
import org.sgx.yuigwt.yui.YUICallback;
import org.sgx.yuigwt.yui.YuiContext;
import org.sgx.yuigwt.yui.node.Node;
import org.sgx.yuigwt.yuigallery.YuiGalleryContext;

import com.google.gwt.core.client.EntryPoint;

public class YuigalleryExplorer implements EntryPoint, YUICallback {
 
  private Gallery gallery;

  public void onModuleLoad() {
    YUI.YUI().use(GalleryUtil.INITIALMODULES, this);
  }

  @Override
  public void ready(YuiContext Y_) {
    YuiGalleryContext Y = (YuiGalleryContext)Y_;
    Node rootNode = Y.one("body");
    gallery = new Gallery(Y,rootNode);
//    gal.render();
  }
}
TOP

Related Classes of org.sgx.yuigwt.galleryexplorer.client.YuigalleryExplorer

TOP
Copyright © 2018 www.massapi.com. 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.