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

Examples of com.google.gwt.user.client.ui.HorizontalSplitPanel$ImplIE6


        // Populate the root level of the explorer tree
        resourceTree.populate();
    }

    private Widget createExplorerPanel() {
    HorizontalSplitPanel explorerPanel = new HorizontalSplitPanel();
    explorerPanel.setSize("100%", "100%");
    explorerPanel.setSplitPosition("20%");


    DisclosurePanel propertiesPanel = new DisclosurePanel(constants.propertiesDescripton(),true);
    propertiesPanel.add(resourceGrid.getPropertyGrid());
    propertiesPanel.setStyleName("application-DisclosurePanel");

    DisclosurePanel nodeChildrenPanel = new DisclosurePanel(constants.subResourcesDescription(),true);
    nodeChildrenPanel.add(resourceGrid.getResourceChildrenGrid());
    nodeChildrenPanel.setStyleName("application-DisclosurePanel");

    propertiesPanel.setAnimationEnabled(true);
    nodeChildrenPanel.setAnimationEnabled(true);


      FlexTable layout = new FlexTable();
      layout.setCellSpacing(6);
      layout.setWidget(0, 0, propertiesPanel);
      layout.setWidget(1, 0, nodeChildrenPanel);


    explorerPanel.setRightWidget(layout);
    explorerPanel.setLeftWidget(resourceTree);

    return explorerPanel;
  }
View Full Code Here


  public BodyPart() {
    vContent = new VerticalSplitPanel();
    vContent.setWidth("100%");
    vContent.setHeight("100%");
    vContent.setSplitPosition("100%");
    hContent = new HorizontalSplitPanel();
    hContent.setWidth("100%");
    hContent.setHeight("100%");
    hContent.setSplitPosition("100%");
    vContent.setTopWidget(hContent);
    initWidget(vContent);
View Full Code Here

        init();
    }

    private void init()
    {
        body = new HorizontalSplitPanel();
        setWidget(body);
        body.setSize("100%", "100%");

        body.setSplitPosition("25%");
View Full Code Here

    mainPanel.add(statusBarPane, DockPanel.SOUTH);
    mainPanel.setCellHeight(statusBarPane, "25px");
    mainPanel.setCellHorizontalAlignment(statusBarPane, DockPanel.ALIGN_CENTER);
    mainPanel.setCellVerticalAlignment(statusBarPane, DockPanel.ALIGN_MIDDLE);
       
    HorizontalSplitPanel horizontalSplitPanel = new HorizontalSplitPanel();
    horizontalSplitPanel.setSplitPosition("150px");
    centerPane = new SimplePanel();
    centerPane.add(new Label("right panel"));
    horizontalSplitPanel.setRightWidget(centerPane);
    menuPanel = new MenuPanel(serviceRegistry, this);
   
    horizontalSplitPanel.setLeftWidget(menuPanel);
    mainPanel.add(horizontalSplitPanel, DockPanel.CENTER);
     
    screen1 = new Screen1(clientState, serviceRegistry);
    screen2 = new Screen2(clientState, serviceRegistry);
    initWidget(mainPanel);
View Full Code Here

          super.onBrowserEvent(event);
      }
    };
    spParent.setWidget(sp);
    sp.sinkEvents(Event.ONMOUSEDOWN);*/
    horizontalSplitPanel = new HorizontalSplitPanel();
    initWidget(horizontalSplitPanel);
   
    //sp.add(horizontalSplitPanel);
  }
View Full Code Here

   */
  @ShowcaseSource
  @Override
  public Widget onInitialize() {
    // Create a Horizontal Split Panel
    HorizontalSplitPanel hSplit = new HorizontalSplitPanel();
    hSplit.ensureDebugId("cwHorizontalSplitPanel");
    hSplit.setSize("500px", "350px");
    hSplit.setSplitPosition("30%");

    // Add some content
    String randomText = constants.cwHorizontalSplitPanelText();
    for (int i = 0; i < 2; i++) {
      randomText += randomText;
    }
    hSplit.setRightWidget(new HTML(randomText));
    hSplit.setLeftWidget(new HTML(randomText));

    // Wrap the split panel in a decorator panel
    DecoratorPanel decPanel = new DecoratorPanel();
    decPanel.setWidget(hSplit);

View Full Code Here

     * @Override public void onClick(ClickEvent event) {
     * greetingService.loadGreeting(messageAsyncCallback); } });
     */

    // -------------------main split panel-----------------------
    HorizontalSplitPanel hSplit = new HorizontalSplitPanel();
    hSplit.ensureDebugId("cwHorizontalSplitPanel");

    hSplit.setSize("1000px", "700px");
    hSplit.setSplitPosition("20%");
    hSplit.setRightWidget(vSplit);
    hSplit.setLeftWidget(stackPanel);

    // Wrap the split panel in a decorator panel
    DecoratorPanel decPanel = new DecoratorPanel();
    decPanel.setWidget(hSplit);

View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.ui.HorizontalSplitPanel$ImplIE6

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.