Examples of addField()


Examples of org.pentaho.jfreereport.castormodel.reportspec.ReportSpec.addField()

      spacer.setWidthLocked( true );
      totalWidth += spacerWidth;
      spacer.setExpression( "none" ); //$NON-NLS-1$
      spacer.setIsWidthPercent( false );
      spacer.setIsDetail( true );
      reportSpec.addField( spacer );
    }
    for ( int i = 0; i < colHeaders.length; i++ ) {
      // System.out.println("header [" + i + "] = " + colHeaders[i]);
      Class typeClass = null;
      for ( int j = 0; j < resultSet.getRowCount(); j++ ) {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.RelationalGroup.addField()

    final String numberFormat = "$#,##0.00";
    jfreeReport.getPageHeader().addElement(messageField("Sample Group Report",//
        true, 14, ElementAlignment.CENTER, new Rectangle(0, 0, width, 16)));
    RelationalGroup group = new RelationalGroup();
    group.setName("group");
    group.addField("type");
    // group.getHeader().setRepeat(true);
    group.getHeader().addElement(label("Column 0", true, ElementAlignment.CENTER, new Rectangle(0, 0, 120, 14)));
    group.getHeader().addElement(label("Column 1", true, ElementAlignment.CENTER, new Rectangle(130, 0, 120, 14)));
    group.getHeader().addElement(label("Column 2", true, ElementAlignment.CENTER, new Rectangle(260, 0, 120, 14)));
    group.getHeader().addElement(label("Column 3", true, ElementAlignment.CENTER, new Rectangle(390, 0, 70, 14)));
View Full Code Here

Examples of org.springframework.data.solr.core.query.HighlightOptions.addField()

  @Test
  public void testConstructSolrQueryWithHighlightOptionHavingFields() {
    SimpleHighlightQuery query = new SimpleHighlightQuery(new SimpleStringCriteria("field_1:value_1"));
    HighlightOptions options = new HighlightOptions();
    options.addField("field_2", "field_3");
    query.setHighlightOptions(options);

    SolrQuery solrQuery = queryParser.constructSolrQuery(query);
    Assert.assertArrayEquals(new String[] { "field_2", "field_3" }, solrQuery.getHighlightFields());
  }
View Full Code Here

Examples of org.springframework.data.solr.core.query.StatsOptions.addField()

    }

    StatsOptions options = new StatsOptions();

    for (String fieldName : queryMethod.getFieldStats()) {
      options.addField(fieldName);
    }

    for (String facetFieldName : queryMethod.getStatsFacets()) {
      options.addFacet(facetFieldName);
    }
View Full Code Here

Examples of org.springframework.roo.classpath.details.ClassOrInterfaceTypeDetailsBuilder.addField()

                        final CommentStructure commentStructure = new CommentStructure();
                        JavaParserCommentMetadataBuilder.updateCommentsToRoo(
                                commentStructure, member);
                        field.setCommentStructure(commentStructure);

                        cidBuilder.addField(field);
                    }
                }
                if (member instanceof MethodDeclaration) {
                    final MethodDeclaration castMember = (MethodDeclaration) member;
                    final MethodMetadata method = JavaParserMethodMetadataBuilder
View Full Code Here

Examples of org.xmpp.forms.DataForm.addField()

            Map<String, Object> registration = getRegistration(iq.getFrom());
            if(iq.getType() == IQ.Type.get) {
              DataForm form = new DataForm(DataForm.Type.form);
              form.setTitle("Enter Your LFS Username");
              form.addInstruction("Enter Your LFS Username");
              FormField username = form.addField();
              username.setVariable("username");
              username.setLabel("LFS Username");
              username.setType(FormField.Type.text_single);
              username.setRequired(true);
              username.setDescription("Your LFS Username");
View Full Code Here

Examples of org.xwiki.appwithinminutes.test.po.ApplicationClassEditPage.addField()

        // Move to the next step.
        ApplicationClassEditPage classEditPage = appCreatePage.clickNextStep();

        // Step 2
        // Add a 'Short Text' field.
        ClassFieldEditPane fieldEditPane = classEditPage.addField("Short Text");

        // Set the field pretty name and default value
        fieldEditPane.setPrettyName("City Name");
        fieldEditPane.setDefaultValue("Paris");
View Full Code Here

Examples of ptolemy.copernicus.kernel.EntitySootClass.addField()

                nameToType.put(name, port.getType());

                SootField field = new SootField(StringUtilities
                        .sanitizeName(name)
                        + "Token", type);
                entityInstanceClass.addField(field);
                nameToField.put(name, field);
            }
        }
        // Populate the fire method.
        {
View Full Code Here

Examples of redis.seek.Entry.addField()

    @Test
    public void searchWithTags() {
        Seek seek = new Seek();
        Entry e = seek.add("123", new Double(System.currentTimeMillis()));
        e.shardBy("seller_id");
        e.addField("seller_id", "2");
        e.addField("status", "active");
        e.addField("type", "normal");
        e.addText("title", "titulin");
        e.addTag("tagged");
        e.save();
View Full Code Here

Examples of rocket.json.rebind.writefields.WriteFieldsTemplatedFile.addField()

      final NewMethod fieldGetter = this.createFieldGetter(deserializer, field);
      final String javascriptPropertyName = this.getJavascriptPropertyName(field);
      final Type serializer = this.getSerializer(field);

      body.addField(javascriptPropertyName, fieldGetter, serializer);
    } // while

    context.unbranch();
  }
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.