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

Examples of com.google.gwt.user.client.ui.VerticalPanel


  public VineEditorPanel(MappingOntologyData ontologyData, boolean readOnly) {
    super();
    this.ontologyData = ontologyData;
    this.readOnly = readOnly;
   
    layout = new VerticalPanel();
    DecoratorPanel decPanel = new DecoratorPanel();
      decPanel.setWidget(layout);
      add(decPanel);

      savedMappings = null;
View Full Code Here


      return;
    }

    StringBuffer sb = new StringBuffer();
   
    VerticalPanel vp = new VerticalPanel();
    vp.setSpacing(4);
    sb.append(error);
   
    String msg = sb.toString();
   
    popup.getTextArea().setText(msg);
View Full Code Here

   
    String error = uploadOntologyResult.getError();
   
    StringBuffer sb = new StringBuffer();
   
    VerticalPanel vp = new VerticalPanel();
    vp.setSpacing(6);
   
    if ( error == null ) {

      String uri = uploadOntologyResult.getUri();

      vp.add(new HTML("<font color=\"green\">Congratulations!</font> "
          + "The new version is now registered."
      ));
     
     
      vp.add(new HTML("<br/>The URI of the ontology is: "
//          + "<a href=\"" +uri+ "\">"
          + uri
//          + "</a>"
      ));
     
     
      vp.add(new HTML("<br/>For diagnostics, this is the response from the back-end server:"));

      sb.append(uploadOntologyResult.getInfo());
     
      // and, disable all editing fields/buttons:
      // (user will have to start from the "load" step)
View Full Code Here

    resourceViewer.setSize("400", "100");
   
    searchResultsForm = new SearchResultsForm(this);
    searchGroup = new SearchGroup(vocabularySelection, searchResultsForm);
   
    VerticalPanel layout = new VerticalPanel();
    DecoratorPanel decPanel = new DecoratorPanel();
      decPanel.setWidget(layout);
     
      add(decPanel);
   
      layout.setSpacing(5);
     
      layout.add(vocabularySelection);
      layout.add(searchGroup);
    layout.add(searchResultsForm);
   
    if ( usePopup4ResourceViewer ) {
      popupResourceViewer = new MyDialog(resourceViewer, false);
    }
    else {
      layout.add(resourceViewer);
    }
  }
View Full Code Here

    hp.add(selAllNonePanel);
    hp.add(status);
    hp.setCellHorizontalAlignment(status, ALIGN_LEFT);
   
   
    CellPanel p = new VerticalPanel();
   
    DecoratorPanel decPanel = new DecoratorPanel();
      decPanel.setWidget(p);
      add(decPanel);

      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

      contentsContainer.add(tableScroll);
    }
   
   
    if ( true ) {
      VerticalPanel vp = new VerticalPanel();
//      vp.setBorderWidth(1);
      vp.setWidth("100%");
      vp.add(flexPanel);
      vp.add(contentsContainer);

      return vp;
    }
    else {
View Full Code Here

    textArea.setReadOnly(false);
   
    textArea.setSize("800", "270");

   
    VerticalPanel vp = new VerticalPanel();
    vp.setSpacing(10);
    popup.getDockPanel().add(vp, DockPanel.NORTH);
    vp.add(new HTML(
        "Select the separator character, insert the new contents into the text area, " +
        "and click the \"Import\" button to update the table."
        )
    );
   
    final SeparatorPanel separatorPanel = new SeparatorPanel();
    vp.add(separatorPanel);
   
   
    final HTML status = new HTML("");
    textArea.addKeyboardListener(new KeyboardListenerAdapter(){
        public void onKeyUp(Widget sender, char keyCode, int modifiers) {
View Full Code Here

    textArea.setText(termTable.getCsv(null, ","));
   
    textArea.setSize("800", "270");

   
    VerticalPanel vp = new VerticalPanel();
    vp.setSpacing(10);
    popup.getDockPanel().add(vp, DockPanel.NORTH);
    vp.add(new HTML(
        "Select the separator character for your CSV formatted contents. "
        )
    );
   
    CellPanel separatorPanel = new SeparatorPanel() {
      public void onClick(Widget sender) {
        super.onClick(sender);
        textArea.setText(termTable.getCsv(null, getSelectedSeparator()));
      }
    };
    vp.add(separatorPanel);
   
    popup.center();
    popup.show();

  }
View Full Code Here

        table.setWidget(row, 2, new Label(detail.registeredValue));
      }
     
      row++;
    }
    VerticalPanel vp = new VerticalPanel();
    vp.setWidth("400");
    vp.setSpacing(10);
    vp.add(table);
    vp.add(new HTML(DIFF_MARK+ "= Metadata attribute with different, non-blank values."));
    final MyDialog popup = new MyDialog(vp);
    popup.setText("Metadata values from the two sources");
    popup.center();
    popup.show();
  }
View Full Code Here

    fmt = DateTimeFormat.getFormat("yyyy-MM-dd");
    fmtHHMM = DateTimeFormat.getFormat("HHmm");
   
    timeHelper = new DialogBox();
    timeHelper.setText("Time Format");
    VerticalPanel vp = new VerticalPanel();
    HTML timeHelperText = new HTML("Time format must be in 24 hour time (HHmm) with no colon. E.g. '1945' instead of '7:45pm'");
    Button vpOK = new Button("OK");
    vpOK.addClickHandler(new ClickHandler() {
      public void onClick(ClickEvent event) {
        timeHelper.hide();
      }
    });
    vp.add(timeHelperText);
    vp.add(vpOK);
    timeHelper.add(vp);
   
    bind();
   
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.ui.VerticalPanel

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.