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

Examples of com.google.gwt.user.client.ui.ScrollPanel$Impl


        if (isVerticalScrollEnabled && !(isVerticalScrollable())) {
            verticalScrollEnabled = true;
            horizontalScrollEnabled = false;
            wrapper.remove(content);

            final ScrollPanel scrollPanel = new ScrollPanel();
            scrollPanel.setStylePrimaryName("v-calendar-week-wrapper");
            scrollPanel.setWidget(content);

            scrollPanel.addScrollHandler(new ScrollHandler() {
                @Override
                public void onScroll(ScrollEvent event) {
                    if (calendar.getScrollListener() != null) {
                        calendar.getScrollListener().scroll(
                                scrollPanel.getVerticalScrollPosition());
                    }
                }
            });

            setWidget(scrollPanel);
View Full Code Here


        super(client);
    }

    public Object createComponentInstance(Object parent, DomNode element)
    {
        ScrollPanel pane = new ScrollPanel();
        return pane;
    }
View Full Code Here

      CellPanel p = new VerticalPanel();
      DecoratorPanel decPanel = new DecoratorPanel();
      decPanel.setWidget(p);
      add(decPanel);
      if ( useScroller ) {
        scroller = new ScrollPanel(bodyHtml);
//        scroller.setSize("450px", "120px");
//        scroller.setWidth("450px");
        p.add(scroller);
      }
      else {
        p.add(decPanel);
      }
    }
    else if ( useScroller ) {
      scroller = new ScrollPanel(bodyHtml);
      add(scroller);
    }
    else {
      add(bodyHtml);
    }
View Full Code Here

      cbs = new ArrayList<CheckBox>();
     
      rowPanel = new VerticalPanel();
      rowPanel.setSpacing(1);
      rowPanel.setStylePrimaryName("SearchResultsTable");
      scroller = new ScrollPanel(rowPanel);
      scroller.setSize("500px", "300px");
    p.add(scroller);
   
  }
View Full Code Here

      addClickHandler(new ClickHandler() {
        public void onClick(ClickEvent event) {
          hide();
        }
      });
      documentsPanel = new ScrollPanel(new VerticalPanel());
      leftPanel = new VerticalPanel();
      leftPanel.setWidth("100px");
      leftPanel.setVerticalAlignment(VerticalPanel.ALIGN_TOP);
      rightPanel = new VerticalPanel();
      rightPanel.setVerticalAlignment(VerticalPanel.ALIGN_TOP);
View Full Code Here

      panel.add(refreshLink);
      panel.add(newDocumentLink);
      panel.add(new HTML("<br /><b>Links</b>"));
      panel.add(acLink);
      panel.add(docsLink);
      linksPanel = new ScrollPanel(panel);
      leftPanel.add(linksPanel);
    }
View Full Code Here

      public void onUnstar(String id) {
        CommandEvent.fire(new SystemUnstarDocumentCommand(id));
      }
      });
      tree.setEntries(entries);
      documentsPanel = new ScrollPanel(tree);
      rightPanel.add(documentsPanel);
      resize();
    }
View Full Code Here

        totalEntries++;
      }
      if (totalEntries == 0) {
        panel.add(new Label("You have no starred documents."));
      }
      documentsPanel = new ScrollPanel(panel);
      rightPanel.add(documentsPanel);
      resize();
    }
View Full Code Here

    this.errorCommand = errorCommand;
    this.cancelCommand = cancelCommand;
    this.messagePanel.clear();
    this.messagePanel.add(new Label("An error occurred while performing the following command:"));
    this.messagePanel.add(new Label(errorCommand.getDescription()));
    ScrollPanel detailPanel = new ScrollPanel();
    detailPanel.setWidth("480px");
    detailPanel.setHeight("60px");
    detailPanel.add(new Label("Error details:\n\n" + error.getMessage()));
    Anchor issueTrackerLink = new Anchor("Submit to the issue tracker", "http://code.google.com/p/latex-lab/issues/entry", "_blank");
    this.messagePanel.add(issueTrackerLink);
    this.messagePanel.add(detailPanel);
  }
View Full Code Here

   
  /**
   * Builds the form.
   */
  private void buildForm() {
      scroll = new ScrollPanel();
    tree = new ExplorerTree(true, false, true, null);
    tree.setSize("100%", "100%");
    tree.setExcludedOpen(true);
    tree.addSelectionHandler(new SelectionHandler<TreeItem>() {
        @Override
View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.ui.ScrollPanel$Impl

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.