Examples of addField()


Examples of alt.jiapi.reflect.JiapiClass.addField()

                return;
            }
        }

        try {
            clazz.addField(modifiers, type, name);
        }
        catch (FieldExistsException fee) {
            log.info("field " + fee.getField() + " already exists in a class "+
                     clazz.getName());
        }
View Full Code Here

Examples of ar.com.fdvs.dj.domain.DynamicJasperDesign.addField()

      //adding original fields definitions manually
      if (dr.isTemplateImportFields()){
        for (Iterator iter = jd.getFieldsList().iterator(); iter.hasNext();) {
          JRField element = (JRField) iter.next();
          try {
            djd.addField(element);
          } catch (JRException e) {
            if (log.isDebugEnabled()){
              log.warn(e.getMessage());
            }
          }
View Full Code Here

Examples of ar.com.fdvs.dj.domain.builders.DynamicReportBuilder.addField()

    // AutoText.POSITION_FOOTER, HorizontalBandAlignment.CENTER);
    // footerText.setStyle(djrst.getFooterStyle());
    // drb.addAutoText(footerText);

    // ADD ALL USED FIELDS to the report.
    drbContent.addField("rigType", Integer.class.getName());

    drbContent.setUseFullPageWidth(true); // use full width of the page

    DynamicReport drContent;
    drContent = drbContent.build(); // build the report
View Full Code Here

Examples of at.riemers.zero.widgets.form.FormWidget.addField()

        FormWidget filter = (FormWidget) getWidgetManager(session).getWidget("USERLIST_FILTER");
        if (filter == null) {
            filter = new FormWidget("USERLIST_FILTER", getLocale(request));
            filter.setColumnCount(3);
            filter.setShowLabelAtTop(true);
            filter.addField(new StringField("username", "base.user.table.username", ""));
            ComboBoxField groupField = new ComboBoxField("userGroup", "base.user.label.usergroupkey", "");

            groupField.addOption("", "*");
            for (UserGroup userGroup : getUserGroups()) {
                groupField.addOption(userGroup.getId(), userGroup.getGroupKey());
View Full Code Here

Examples of biz.paluch.logging.gelf.intern.GelfMessage.addField()

        }

        for (String mdcField : mdcFields) {
            Object value = MDC.get(mdcField);
            if (value != null && !value.toString().equals("")) {
                gelfMessage.addField(mdcField, value.toString());
            }
        }

        return gelfMessage;
    }
View Full Code Here

Examples of ch.ralscha.extdirectspring.bean.MetaData.addField()

      field.addCustomProperty("header", "ID");
      field.addCustomProperty("width", 20);
      field.addCustomProperty("sortable", Boolean.TRUE);
      field.addCustomProperty("resizable", Boolean.TRUE);
      field.addCustomProperty("hideable", Boolean.FALSE);
      metaData.addField(field);

      field = new Field("name");
      field.setType(DataType.STRING);
      field.addCustomProperty("header", "Name");
      field.addCustomProperty("width", 70);
View Full Code Here

Examples of cli_fmw.report.SegmentedTableReporter.addField()

        fieldValue = client.toString();
        if (isAnalysys) {
            fieldValue += " (" + Converter.dateToString(client.getBorn()) + ")";
        }
        extraField = new ExtraField(fieldValue, fieldName, AlignmentType.left);
        analyseReporter.addField(extraField, false);
               
        if (isAnalysys) {
            fieldName = "Направил: ";
            fieldValue = serRen.getSerRenDirector().toString();
            fieldValue += " (" + Converter.dateToString(serRen.getSerDate()) + ")";
View Full Code Here

Examples of com.alibaba.dubbo.common.bytecode.ClassGenerator.addField()

    ClassGenerator cg = ClassGenerator.newInstance(cl);
    cg.setClassName(bcn);
    cg.setSuperClass(Builder.class);
    cg.addDefaultConstructor();
    if( builder != null )
      cg.addField("public static " + BUILDER_CLASS_NAME + " builder;");
    cg.addMethod("public Class getType(){ return " + cn + ".class; }");
    cg.addMethod(cwt.toString());
    cg.addMethod(cpf.toString());
    try
    {
View Full Code Here

Examples of com.calclab.emite.xep.dataforms.Form.addField()

        form.addInstruction(fieldResults.getInstructions());
        for (final String fieldName : fieldResults.getFieldNames()) {
          final Field field = new Field();
          field.setType(Field.Type.TEXT_SINGLE);
          field.setVar(fieldName);
          form.addField(field);
        }
        listener.onSuccess(form);
      }

      @Override
View Full Code Here

Examples of com.caucho.config.types.CustomBeanConfig.addField()

  public void setValue(Object bean, QName name, Object value)
    throws ConfigException
  {
    CustomBeanConfig customBean = (CustomBeanConfig) bean;

    customBean.addField((CustomBeanFieldConfig) value);
  }
 
  /**
   * Sets the value of the attribute
   */
 
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.