Package org.sgx.yuigwt.yuitest1.gallery.test.uibinder

Examples of org.sgx.yuigwt.yuitest1.gallery.test.uibinder.UIBinderTest2Composite


    tests.add(new EventSimulateTest1());
    tests.add(new PJaxTest1());
    tests.add(new AnimTest1());
    tests.add(new ConsoleTest1());
    tests.add(new StyleSheetTest1());
    tests.add(new SubstituteTest1());
    tests.add(new CacheTest1());
    tests.add(new CookieTest1());
    tests.add(new ImageLoaderTest1());
    tests.add(new CalendarTest1());
    tests.add(new AutoCompleteTest1());
View Full Code Here


    tests.add(new SliderTest1());
    tests.add(new PanelTest1());
    tests.add(new OverlayTest1());
    tests.add(new GetTest1());
    tests.add(new DataTableTest1());
    tests.add(new TabViewTest1());
    tests.add(new ConfigObjectsTest1());
    tests.add(new EventSimulateTest1());
    tests.add(new PJaxTest1());
    tests.add(new AnimTest1());
    tests.add(new ConsoleTest1());
View Full Code Here

    AutoComplete ac = Y.newAutoComplete(AutoCompleteConfig.create().resultHighlighter("phraseMatch").resultFilters("phraseMatch").inputNode(inputEl).source(allTestNames)
        .render(true));
    ac.after(AutoComplete.EVENT_SELECT, new EventCallback<AutoCompleteEvent>() {
      @Override
      public void call(AutoCompleteEvent e) {
        Test test = util.getTestByName(inputEl.get("value"));
        setCurrentTest(test);
      }
    });

    TabView tb = Y.newTabView(TabViewConfig.create(new TabConfig[] {
View Full Code Here

    final String testName = getTestName();
    if(testName==null)
      return;
   
    final GalleryUtil galleryUtil = GalleryUtil.getDefaultInstance();
    final Test test = galleryUtil.getTestByName(testName);
   
     //new GalleryUtil(null);
   
    final Button button1 = getYUIBinder().getWidget(buttonEl).cast();
    final Button acceptButton = getYUIBinder().getWidget(acceptButtonEl).cast();
    final Panel panel1 = getYUIBinder().getWidget(panel1El).cast();
   
    button1.on("click", new EventCallback<EventFacade>() {
      @Override
      public void call(EventFacade e) {
        //cannot work directly in panel1.getStdModNode("body") because we cannot call asHTMLPanel() if the node is already inside a GWT Widget.
//        test.test(panel1.getStdModNode("body"));  
        Node p = y.one("body").appendChild("<div></div>");
//        p.generateID();
        test.test(p);  
       
        panel1.setStdModContent("body", p);
//        panel1.render();
        panel1.show();
      }
    });
    acceptButton.on("click", new EventCallback<EventFacade>() {
      @Override
      public void call(EventFacade e) {
        panel1.hide();
      }
    });
    
   
   
    Node parent = y.one(tabviewEl);//getElement()).appendChild("");
   
    final List<String> headers = new LinkedList<String>();
    final List<String> bodies = new LinkedList<String>();
   
    for(final String resName : test.getTestResources().keySet()) {
      ResourcePrototype res = test.getTestResources().get(resName);
      galleryUtil.getText(res, new ResourceCallback<TextResource>() {
       
        @Override
        public void onSuccess(TextResource resource) {
          String scapedContent = y.Escape().html(resource.getText().replace("\t", "  "));
View Full Code Here

    tests.add(new DataSourceTest1());
    tests.add(new IntlTest1());
    tests.add(new SortableTest1());
    tests.add(new DragAndDropTest1());
    // tests.add(new BaseExtendTest1());
    tests.add(new TestTest1());
    tests.add(new GWTWidgetTest1());
    tests.add(new CssGridsTest1());
    tests.add(new DataTableTest3());
    // tests.add(new DataSourceTest2());
    tests.add(new DialTest1());
View Full Code Here

    tests.add(new DataSchemaArrayTest1());
    tests.add(new DataTypeTest1());
    tests.add(new AyncQueueTest1());
    tests.add(new IOTest1());
    tests.add(new CollectionTest1());
    tests.add(new TransitionTest1());
    tests.add(new EditorBaseTest1());
    tests.add(new HistoryTest1());
    tests.add(new ChartsTest1());
    tests.add(new ChartsTest2());
    tests.add(new NodeFocusManagerTest1());
View Full Code Here

    tests.add(new DialTest1());
    // tests.add(new GWTWidgetTest2());
    tests.add(new NodeTest1());
    tests.add(new DataSchemaXMLTable1());
    tests.add(new RouterTest1());
    tests.add(new UploaderTest1());
   
   
    // graphic example
    tests.add(new GraphicTest1());
View Full Code Here

    tests = new HashSet<Test>();

    // YUI modules

    tests.add(new ButtonTest1());
    tests.add(new YUIUtilTest1());
    tests.add(new MenuNavTest1());
    tests.add(new EventDelegateTest1());
    tests.add(new SliderTest1());
    tests.add(new PanelTest1());
    tests.add(new OverlayTest1());
View Full Code Here

   
   
   
   
    // YUI gallery modules
    tests.add(new AccordionTest1());
    tests.add(new TreeViewTest1());
    tests.add(new FormTest1());
    tests.add(new TokenInputPluginTest1());
    tests.add(new NodeTransform2dTest1());
    tests.add(new ImageCropperTest1());
View Full Code Here

    tests.add(new TreeViewTest1());
    tests.add(new FormTest1());
    tests.add(new TokenInputPluginTest1());
    tests.add(new NodeTransform2dTest1());
    tests.add(new ImageCropperTest1());
    tests.add(new ColorPickerTest1());
    tests.add(new DeferredTest1());
    tests.add(new TreeViewTest2());
    tests.add(new ITSASelectlistTest1());
    // tests.add(new DataTableColumnResizeTest1());
    // tests.add(new BootstrapDropdown1());
View Full Code Here

TOP

Related Classes of org.sgx.yuigwt.yuitest1.gallery.test.uibinder.UIBinderTest2Composite

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.