Package com.google.gwt.topspin.ui.client

Examples of com.google.gwt.topspin.ui.client.DefaultContainerImpl


     *          level 'severity'.
     */
    private SeverityItem(Tree tree, int severity, int count,
        JSOArray<HintRecord> hintletRecords) {
      super(tree);
      Container severityContainer = new DefaultContainerImpl(getElement());
      // Make the colored Icon with the count of the number of hintlets
      HintletIndicator indicator = new HintletIndicator(severityContainer,
          severity, count, "", getOwningTree().getResources());
      getItemLabelElement().appendChild(indicator.getElement());

View Full Code Here


    protected final Container panelContainer;

    public FilterPanel(Container parent) {
      super(parent);
      setStyleName(css.filterPanel());
      panelContainer = new DefaultContainerImpl(getElement());

      Div closeButton = new Div(panelContainer);
      closeButton.setStyleName(css.filterPanelClose());
      closeButton.addClickListener(new ClickListener() {
View Full Code Here

    this.dataDispatcher = controller.getDataDispatcher();

    // Add in the menu items
    List<String> menuItems = MockModelGenerator.getDataSetNames();
    for (int i = 0; i < menuItems.size(); ++i) {
      Div menuItem = new Div(new DefaultContainerImpl(base.getElement()));
      menuItem.setStyleName(css.menuItem());
      menuItem.setText(menuItems.get(i));
      final int dataSetIndex = i;
      menuItem.addClickListener(new ClickListener() {
        public void onClick(ClickEvent event) {
View Full Code Here

  private void mergeProfiles(JSOArray<JavaScriptProfile> profiles) {
    JavaScriptProfile profile = new JavaScriptProfile();
    for (int i = 0, length = profiles.size(); i < length; ++i) {
      profile.merge(profiles.get(i));
    }
    Container resultsContainer = new DefaultContainerImpl(resultsDiv);
    ScopeBar bar = new ScopeBar(resultsContainer, resources);

    listenerOwner.removeAllEventListeners();
    JavaScriptProfileRenderer renderer = new JavaScriptProfileRenderer(
        resultsContainer, resources, listenerOwner,
View Full Code Here

  }

  private class ErrorDiv extends AutoHideDiv {

    public ErrorDiv() {
      super(new DefaultContainerImpl(elem), 3000);
    }
View Full Code Here

  public DetailViews(Container container, DetailViews.Resources resources) {
    super(container);
    Element elem = getElement();
    elem.setClassName(resources.detailViewsCss().detailViews());

    this.container = new DefaultContainerImpl(elem);

    getElement();
    elem.getStyle().setPropertyPx("top", resources.detailViewsCss().offsetTop());
  }
View Full Code Here

    parent.appendChild(leftMask);
    parent.appendChild(rightMask);

    // Attach the grippies to our mutual parent.
    selectionBoundaries = new DomainRegionSelectionBoundaries(
        new DefaultContainerImpl(parent), resources);

    leftSelectionBoundCaptureListener = new CaptureSelectionBoundMouseListener(
        selectionBoundaries.getLeftSelectionBound());

    rightSelectionBoundCaptureListener = new CaptureSelectionBoundMouseListener(
View Full Code Here

    refreshEventTypeSelect(model);
  }

  private void buildFilterPanel(Container parent, SluggishnessModel model) {
    Div row1 = new Div(parent);
    Container row1Container = new DefaultContainerImpl(row1.getElement());
    Document doc = parent.getDocument();

    // Min Duration: ________
    Element minLabel = doc.createSpanElement();
    row1.getElement().appendChild(minLabel);
View Full Code Here

   * @param container the container in which the widget will be created
   */
  public Tree(Container container, Tree.Resources resources) {
    super(container.getDocument().createULElement(), container);
    this.currentSelections = new ArrayList<Item>();
    this.defaultContainer = new DefaultContainerImpl(getElement());
    getElement().setClassName(resources.treeCss().tree());
    this.resources = resources;
  }
View Full Code Here

    }

    private Container ensureContainer() {
      if (defaultContainer == null) {
        ensureChildList();
        defaultContainer = new DefaultContainerImpl(childListElement);
      }
      return defaultContainer;
    }
View Full Code Here

TOP

Related Classes of com.google.gwt.topspin.ui.client.DefaultContainerImpl

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.