Examples of ComboBoxField


Examples of at.riemers.zero.widgets.form.ComboBoxField

                filter = new FormWidget("ROLELIST_FILTER", getLocale(request));
                filter.setColumnCount(2);
                filter.setShowLabelAtTop(true);
                filter.addField(new StringField("name", "base.user.table.name", ""));
               
                ComboBoxField groupField = new ComboBoxField("userGroup", "base.user.label.usergroupkey", "");

                groupField.addOption("", "*");
                for (UserGroup userGroup : getUserGroups()) {
                    groupField.addOption(userGroup.getId(), userGroup.getGroupKey());
                }

                filter.addField(groupField);
                filter.setForm("RoleFilterForm");
                getWidgetManager(session).register(filter);
View Full Code Here

Examples of at.riemers.zero.widgets.form.ComboBoxField

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

            filter.addField(groupField);

            ComboBoxField deletedField = new ComboBoxField("deleted", "base.user.label.deleted", "");

            deletedField.addOption("", "NOT DELETED");
            deletedField.addOption("D", "DELETED");
            deletedField.addOption("A", "ALL");


            filter.addField(deletedField);

            filter.setForm("UserFilterForm");
View Full Code Here

Examples of melnorme.util.swt.components.fields.ComboBoxField

    final String[] INDENT_MODE__VALUES = array(
      CodeFormatterConstants.TAB,
      CodeFormatterConstants.SPACES
    );
   
    final ComboBoxField indentModeField = new ComboBoxField(
      FormatterMessages.IndentationGroup_tab_policy,
      INDENT_MODE__LABELS,
      INDENT_MODE__VALUES);
    createCheckboxField(generalGroup,
      CodeFormatterConstants.FORMATTER_INDENT_MODE.key,
      indentModeField
    );
   
    createStringField(generalGroup,
      CodeFormatterConstants.FORMATTER_TAB_SIZE.key,
      createNumberField(FormatterMessages.IndentationGroup_tab_size, 2)
    );
   
    final NumberField indentationSizeField = createNumberField(
      FormatterMessages.IndentationGroup_indent_size, 2);
    createStringField(generalGroup,
      CodeFormatterConstants.FORMATTER_INDENTATION_SPACES_SIZE.key,
      indentationSizeField
    );
    IFieldValueListener indentModeValueListener = new IFieldValueListener() {
      @Override
      public void fieldValueChanged() {
        boolean enabled = !areEqual(indentModeField.getFieldValue(), CodeFormatterConstants.TAB);
        indentationSizeField.setEnabled(enabled);
      }
    };
    indentModeField.addValueChangedListener(indentModeValueListener);
    indentModeValueListener.fieldValueChanged();
  }
View Full Code Here

Examples of org.encog.workbench.dialogs.common.ComboBoxField

    this.setSize(640, 200);
    this.setTitle("Convert Encog Binary Training to Other Format File");
   
    addProperty(this.binaryFile = new FileField("source file","Source Encog Binary File(*.egb)",true,false,EncogDocumentFrame.ENCOG_BINARY));
    addProperty(this.externalFile = new FileField("target file","Target File",true,true,null));
    addProperty(this.fileType = new ComboBoxField("type type", "Export File Type",true,list));
    render();
  }
View Full Code Here

Examples of org.encog.workbench.dialogs.common.ComboBoxField

    this.setSize(640, 200);
    this.setTitle("Convert Other Format File to Encog Binary Training");

    addProperty(this.externalFile = new FileField("source file","Source File",true,false,EncogDocumentFrame.CSV_FILTER));
    addProperty(this.binaryFile = new FileField("target file","Target Encog Binary File(*.egb)",true,true,EncogDocumentFrame.ENCOG_BINARY));
    addProperty(this.fileType = new ComboBoxField("type type", "Export File Type",true,list));
    addProperty(this.inputCount = new IntegerField("input count","Input Count",true,1,10000));
    addProperty(this.idealCount = new IntegerField("ideal count","Ideal Count",true,0,10000));
    addProperty(this.containsSignificance = new CheckField("contains significance column","Significance Column Present"));

    render();
View Full Code Here

Examples of org.encog.workbench.dialogs.common.ComboBoxField

    this.setSize(640, 330);
    this.setTitle("Setup Encog Analyst Wizard");
   
    beginTab("General");
    addProperty(this.rawFile = new FileField("source file","Source CSV File(*.csv)",true,false,EncogDocumentFrame.CSV_FILTER));
    addProperty(this.format = new ComboBoxField("format", "File Format", true, csvFormat));
    addProperty(this.method = new ComboBoxField("method", "Machine Learning", true, methods));
    addProperty(this.goal = new ComboBoxField("goal", "Goal", true, goalList));
    addProperty(this.targetField = new TextField("target field", "Target Field(blank for auto)", false));
    addProperty(this.headers = new CheckField("headers","CSV File Headers"));
    addProperty(this.range = new ComboBoxField("normalization range", "Normalization Range", true, rangeList));
    addProperty(this.missing = new ComboBoxField("missing values", "Missing Values", true, missingList));
    beginTab("Time Series");
    addProperty(this.lagCount = new IntegerField("lag count","Lag Count",true,0,1000));
    addProperty(this.leadCount = new IntegerField("lead count","Lead Count",true,0,1000));
    addProperty(this.includeTarget = new CheckField("include target","Include Target in Input"));
    beginTab("Tasks");
View Full Code Here

Examples of org.encog.workbench.dialogs.common.ComboBoxField

    setLocation(200, 200);
    addProperty(this.inputCount = new IntegerField("input-count",
        "Input Count", true, 1, 100000));
    addProperty(this.outputCount = new IntegerField("output-count",
        "Output Count", true, 1, 100000));
    addProperty(this.svmType = new ComboBoxField("SVM type", "SVM Type",
        true, svmTypeNames));
    addProperty(this.kernelType = new ComboBoxField("Kernel type",
        "Kernel Type", true, kernelTypeNames));

    render();
  }
View Full Code Here

Examples of org.encog.workbench.dialogs.common.ComboBoxField

      if( !field.isIgnored() && field.isOutput() ) {
        this.classNames.add(field.getName());
      }
    }
   
    addProperty(this.comboClass = new ComboBoxField("training set","Training Set",true,this.classNames));
   
    for(AnalystField field: analyst.getScript().getNormalize().getNormalizedFields() ) {
      if( !field.isIgnored() && field.isInput() ) {
        CheckField cf = new CheckField(field.getName(),field.getName());
        addProperty(cf);
View Full Code Here

Examples of org.encog.workbench.dialogs.common.ComboBoxField

    errorMethods.add("Mean Square Error");
    setTitle("Encog Configuration");
    setSize(500,300);
    beginTab("Training");
    addProperty(this.defaultError = new DoubleField("default error","Default Error Percent",true,0,100));
    addProperty(this.errorCalculation = new ComboBoxField("error calculation", "Error Calculation", true, errorMethods));
    addProperty(this.threadCount = new IntegerField("thread count","Thread Count (0=auto)",true,0,10000));
    addProperty(this.useOpenCL = new CheckField("use opencl","Use Graphics Card(GPU)"));
    render();
  }
View Full Code Here

Examples of org.encog.workbench.dialogs.common.ComboBoxField

    setTitle("Create Network from Training");
    setSize(600, 400);
    setLocation(200, 200);
    findData();

    addProperty(this.comboTraining = new ComboBoxField("training set",
        "Training Set", true, this.trainingSets));
    addProperty(this.hidden = new BuildingListField("hidden neurons",
        "Hidden Layer Counts"));
    addProperty(this.activationField = new PopupField("activation",
        "Activation Function", true));
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.