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

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


 
  private void _setup() {
    int row = 0;
    for ( String propUri : propGui.keySet() ) {
      GuiInfo gui = propGui.get(propUri);
      Label label = new Label(gui.label);

      String value = "";
      Map<String, String> md = mapping.getMetadata();
      if ( md != null ) {
        String val = md.get(propUri);
View Full Code Here


        @Override
        public void onClick(ClickEvent event) {
          uncheckMasterCheckBox();
        }
      });
      Label name = new Label(roadDetails.getName());
      name.setStyleName(style.roadList());
      name.addStyleName(style.clickable());
      name.addClickHandler(new ClickHandler() {
        @Override
        public void onClick(ClickEvent event) {
          /*
           * There is no guarantee that the current polyline
           * is the same as the one associated with these
View Full Code Here

    tagsTable.clear();
       
    for (int i = 0; i < tags.size(); i++) {
      final TagDetails tagDetails = tags.get(i);
     
      Label name = new Label(tagDetails.getName());
      name.addStyleName(style.clickable());
      name.addClickHandler(new ClickHandler() {
        @Override
        public void onClick(ClickEvent event) {
          resetRightPane();
          currentTagDetails = tagDetails;
          getSpeedDistributionTrafficFlowReport(tagDetails);
View Full Code Here

    table.setStylePrimaryName("inline");
   
    table.getFlexCellFormatter().setColSpan(0, 0, 2);
    table.getFlexCellFormatter().setAlignment(0, 0,
        HasHorizontalAlignment.ALIGN_CENTER, HasVerticalAlignment.ALIGN_MIDDLE);
    table.setWidget(0, 0, new Label("MMI attribute"));
   
    table.getFlexCellFormatter().setAlignment(0, 1,
        HasHorizontalAlignment.ALIGN_CENTER, HasVerticalAlignment.ALIGN_MIDDLE);
    table.setWidget(0, 1, new Label("Note"));
   
   
    for ( int lin = 0; lin < lines.length; lin++ ) {
      String[] vals = lines[lin].split("\\|");
      for ( int col = 0; col < vals.length; col++ ) {
        table.setWidget(lin+1, col, new Label(vals[col]));
      }
 
    }
    VerticalPanel vp = new VerticalPanel();
    vp.setWidth("400");
View Full Code Here

    mapping.setMetadata(metadata);
   
    MappingAssoc ma = new MappingAssoc(mapping, readOnly);
    mappingAssocs.add(ma);
   
    Widget left = new Label(leftKey);
    Widget right = new Label(rightKey);

    _addRow(ma.cb, left, center, right, "MappingsTable-row", ma);
  }
View Full Code Here

   
    classNamePanel.clear();
    classNamePanel.add(new TLabel(label, !isReadOnly(), tooltip));
   
    if ( isReadOnly() ) {
      Label lbl = new Label(className);
      lbl.setTitle(classData.getClassUri());
      classNamePanel.add(lbl);
    }
    else {
      classNameTextBox = OrrUtil.createTextBoxBase(1, "300", null);
      classNameTextBox.setText(className);
View Full Code Here

   
    DecoratorPanel decPanel = new DecoratorPanel();
      decPanel.setWidget(hp);
      add(decPanel);

    hp.add(new Label("Search terms containing:"));
    hp.add(suggestBox);
   
    searchButton = new PushButton(Orr.images.search().createImage(), new ClickListener() {
      public void onClick(Widget sender) {
        _dispatchSearch();
      }
    });
   
    hp.add(searchButton);
    hp.add(new Label("Use OR to separate alternative keywords"));
   
    add(resultsPanel.getWidget());
   
    new Timer() {
      @Override
View Full Code Here

    }

    void error(String error) {
      panel.setBorderWidth(0);
      panel.clear();
      panel.add(new Label("ERROR: " +error));
    }
View Full Code Here

    table.setStylePrimaryName("inline");
   
    table.getFlexCellFormatter().setColSpan(0, 0, 2);
    table.getFlexCellFormatter().setAlignment(0, 0,
        HasHorizontalAlignment.ALIGN_CENTER, HasVerticalAlignment.ALIGN_MIDDLE);
    table.setWidget(0, 0, new Label("MMI attribute"));
   
    table.getFlexCellFormatter().setAlignment(0, 1,
        HasHorizontalAlignment.ALIGN_CENTER, HasVerticalAlignment.ALIGN_MIDDLE);
    table.setWidget(0, 1, new Label("Note"));
   
   
    for ( int lin = 0; lin < lines.length; lin++ ) {
      String[] vals = lines[lin].split("\\|");
      for ( int col = 0; col < vals.length; col++ ) {
        table.setWidget(lin+1, col, new Label(vals[col]));
      }
 
    }
    VerticalPanel vp = new VerticalPanel();
    vp.setWidth("400");
View Full Code Here

   
    VerticalPanel vp = new VerticalPanel();
    vp.setSpacing(4);

    if ( error == null ) {
      vp.add(new Label("Ontology URI: " +createOntologyResult.getUri()));
     
      vp.add(new Label("You can now register your ontology or close this " +
          "dialog to continue editing the contents."));
     
      // prepare uploadButton
      PushButton registerButton = new PushButton("Register", new ClickListener() {
        public void onClick(Widget sender) {
View Full Code Here

TOP

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

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.