Exemplo n.º 1
0
  public static HTML makeProcessInfoDiv() {
    Element processDiv = DOM.createDiv();
    processDiv.setId("process_info");
    processDiv.appendChild(DOM.createElement("svg"));

    HTML processHtml = new HTML(processDiv.getString());
    processHtml.getElement().setId(_DRUPAL_GWTVIZ_PROCESS_ID);
    return processHtml;
  }
Exemplo n.º 2
0
  public static HTML makeChartDiv() {

    Element chartDiv = DOM.createDiv();
    chartDiv.setId("chart");
    chartDiv.appendChild(DOM.createElement("svg"));

    HTML chartHtml = new HTML(chartDiv.getString());
    chartHtml.getElement().setId(_DRUPAL_GWTVIZ_CHART_ID);
    return chartHtml;
  }