Examples of label()


Examples of ariba.ui.table.AWTDataTable.Column.label()

            List columns = _dataTable.displayedColumns();
            for (int i = _firstAttributeColumnIndex, count = columns.size(); i < count; i++) {
                Column column = (Column)columns.get(i);
                if (column instanceof PivotEdgeColumn) {
                    column = column.prepareAndReplace(_dataTable);
                    label = column.label(_dataTable);
                    _resetDetailRowIteration();
                    if (!StringUtil.nullOrEmptyOrBlankString(label)) {
                        if (colLVal != null) colLVal.val = column;
                        break;
                    }
View Full Code Here

Examples of br.gov.frameworkdemoiselle.vaadin.annotation.Field.label()

 
  @Override
  public String getColumnHeader(Object propertyId) {   
    try {
      Field field = beanClass.getDeclaredField((String) propertyId).getAnnotation(Field.class);
      if(field!=null && !"".equals(field.label())){
        return resolveProperties(field.label());
      }     
    } catch (Exception e) {
      e.printStackTrace();
    }    
View Full Code Here

Examples of com.cosmo.orm.annotations.CormObjectField.label()

         if (cfg != null && !cfg.isAutogenerated())
         {
            if (cfg.fieldClass() == FormFieldText.class)
            {
               group.addField(new FormFieldText(cfg.dbTableColumn(), cfg.label()));
            }
            else if (cfg.fieldClass() == FormFieldTextArea.class)
            {
               group.addField(new FormFieldTextArea(cfg.dbTableColumn(), cfg.label()));
            }
View Full Code Here

Examples of com.dyn.client.v3.traffic.domain.RecordSet.Value.Builder.label()

            List<String> labels = creepyGeoRegionGroup.label.get(type.toLowerCase() + "_label");
            for (int i = 0; i < entry.getValue().size(); i++) {
               Builder elementBuilder = Value.builder().rdata(entry.getValue().get(i));
               // chance of index out of bounds
               if (i < labels.size())
                  elementBuilder.label(labels.get(i));
               if (i < weights.size())
                  elementBuilder.weight(weights.get(i));
               rset.add(elementBuilder.build());
            }
            rsets.add(rset.build());
View Full Code Here

Examples of com.gitblit.models.TicketModel.Change.label()

      config.save();

      for (QueryResult qr : label.tickets) {
        Change change = new Change(createdBy);
        change.unlabel(oldName);
        change.label(newName);
        updateTicket(repository, qr.number, change);
      }

      return true;
    } catch (IOException e) {
View Full Code Here

Examples of com.google.gerrit.extensions.api.changes.ReviewInput.label()

        gerritUtil.getComments(changeDetails.id, selectedRevisions.get(changeDetails), project, false, true,
                new Consumer<Map<String, List<CommentInfo>>>() {
            @Override
            public void consume(Map<String, List<CommentInfo>> draftComments) {
                final ReviewInput reviewInput = new ReviewInput();
                reviewInput.label(label, rating);

                for (Map.Entry<String, List<CommentInfo>> entry : draftComments.entrySet()) {
                    for (CommentInfo commentInfo : entry.getValue()) {
                        addComment(reviewInput, entry.getKey(), commentInfo);
                    }
View Full Code Here

Examples of com.googlecode.gaal.suffix.api.EmbeddedSuffixTree.EmbeddedInterval.label()

    public static String toString(Interval interval, Corpus<String> corpus) {
        if (interval instanceof EmbeddedInterval) {
            EmbeddedInterval embeddedInterval = (EmbeddedInterval) interval;
            return String.format("%s$\\dots$%s", toString(embeddedInterval.getEmbeddingInterval(), corpus),
                    corpus.toString(embeddedInterval.label(), DELIMITER));
        }
        return corpus.toString(interval.label(), DELIMITER);
    }

    public static void mapInterval(Interval interval, IntSequence indices, Map<Integer, Integer> repeatsMap, int number) {
View Full Code Here

Examples of com.googlecode.gaal.suffix.api.IntervalTree.Interval.label()

    private Interval findInterval(IntervalTree<? extends Interval> tree, String label) {
        Iterator<? extends Interval> iterator = tree.preorderIterator();
        while (iterator.hasNext()) {
            Interval interval = iterator.next();
            if (corpus.toString(interval.label(), "").equals(label)) {
                return interval;
            }
        }
        return null;
    }
View Full Code Here

Examples of com.googlecode.gaal.suffix.api.LinearizedSuffixTree.BinaryInterval.label()

    }

    private void extendToRight(Interval interval, Set<Interval> fillSet) {
        BinaryInterval lptInterval = lpt.search(interval.label().reverse());
        assert (lptInterval != null);
        assert (interval.label().size() == lptInterval.label().size());
        if (!lptMaximalSet.contains(lptInterval)) {
            collectLeftMaximal(lptInterval, lptInterval, interval, lptInterval.lcp(), fillSet);
        }
    }
View Full Code Here

Examples of com.gwtplatform.mvp.client.annotations.TabInfo.label()

            + " and its presenter has no method annotated with it either.", null);
        throw new UnableToCompleteException();
      }
     
      // Extract the label if its in TabInfo
      if (tabInfoAnnotation.label().length() > 0) {
        tabLabel = tabInfoAnnotation.label();
      }
      if (tabLabel != null && tabInfoFunctionDescription != null) {
        logger.log(TreeLogger.ERROR, "The @" + TabInfo.class.getSimpleName()
            + " in " + presenterClassName + " defines the 'label' parameter and"
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.