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

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


    final DivElement indicatorElem = DocumentExt.get().createDivElement();
    indicatorElem.setClassName(css.indicators());
    headerElem.appendChild(indicatorElem);

    indicatorContainer = new DefaultContainerImpl(indicatorElem);

    // Adds a hintlet indicator if the record has associated hintlets.
    addHintletIndicator(resource.getHintRecords());

    maybeAddServerTraceIndicator();
View Full Code Here


  private class RuleRow extends ReportRow {
    private final HintletReportRowDetails details;

    public RuleRow(List<HintRecord> hintletRecords) {
      super(tree);
      Container rowContainer = new DefaultContainerImpl(getItemLabelElement());
      populateRowSummary(rowContainer, hintletRecords);
      details = new HintletReportRowDetails(this, hintletRecords, reportModel);
    }
View Full Code Here

   * @param startXPx pixel coordinates of the X position on the graph.
   */
  public void paint(Element iconContainer, Canvas c, double startX,
      double startY, double graphHeightCoords, int startXPx) {
    if (interactiveComponent == null) {
      interactiveComponent = new MarkerIcon(new DefaultContainerImpl(
          iconContainer), this, markerIconType);
    }
    protectedPaint(c, startX, startY, interactiveComponent, graphHeightCoords,
        startXPx);
  }
View Full Code Here

  }

  protected TimeLineGraph(TimeLine parent, double leftBound,
      double rightBound, int precision) {

    super(new DefaultContainerImpl(parent.getGraphContainerElement()));
    timeLine = parent;

    Element elem = getElement();

    // Canvas for drawing the graph.
View Full Code Here

  private final TimeLine timeLine;

  public TransientGraphSelection(TimeLine timeLine,
      TransientGraphSelection.Resources resources) {
    super(new DefaultContainerImpl(timeLine.getGraphContainerElement()));
    this.timeLine = timeLine;
    Element elem = getElement();
    elem.setClassName(resources.transientGraphSelectionCss().transientSelection());

    // Sink mouse events
View Full Code Here

      TimeLineModel model) {
    super(container);
    Element elem = getElement();
    elem.setClassName(cssClassName);
    this.model = model;
    this.container = new DefaultContainerImpl(elem);
    graphContainerElement = Document.get().createElement("div");
    getElement().appendChild(graphContainerElement);
    graphContainerElement.getStyle().setProperty("position", "relative");

    recomputeGraphDimensions();
View Full Code Here

      super(parent);
      final HintletReport.Css css = getResources().hintletReportCss();
      this.hintletRecords = hintletRecords;
      this.reportModel = reportModel;
      this.setExpandIconVisible(false);
      subTable = new Table(new DefaultContainerImpl(this.getItemLabelElement()));
      subTable.setStyleName(css.reportRowDetailTable());
      headerRowElem = subTable.appendRow();
      String className = this.getContentElement().getClassName();
      this.getContentElement().setClassName(
          css.reportRowDetailContentElem() + " " + className);
View Full Code Here

      columns.add(columnType);

      final HintletReport.Resources resources = getResources();
      final HintletReport.Css css = resources.hintletReportCss();
      TableCellElement cell = headerRowElem.insertCell(index);
      Container cellContainer = new DefaultContainerImpl(cell);
      SortableTableHeader header;
      switch (columnType) {
        case COL_SEVERITY:
          cell.setClassName(css.reportRowDetailSeverityCell());
          header = new SortableTableHeader(cellContainer, "", resources);
View Full Code Here

   * @param container the Container we attach to.
   * @param data the data for the chart.
   */
  public SimpleChart(Container container, List<ColorCodedValue> data) {
    super(container);
    myContainer = new DefaultContainerImpl(getElement());
    setData(data);
  }
View Full Code Here

    render();
  }

  public PieChart(Widget parent, List<ColorCodedValue> data,
      PieChart.Resources resources) {
    this(new DefaultContainerImpl(parent.getElement()), data, resources);
  }
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.