• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java DialogComponentNumber类的典型用法和代码示例

java 2次浏览

本文整理汇总了Java中org.knime.core.node.defaultnodesettings.DialogComponentNumber的典型用法代码示例。如果您正苦于以下问题:Java DialogComponentNumber类的具体用法?Java DialogComponentNumber怎么用?Java DialogComponentNumber使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

DialogComponentNumber类属于org.knime.core.node.defaultnodesettings包,在下文中一共展示了DialogComponentNumber类的36个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: createNodeDialogPane

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@SuppressWarnings("unchecked")
@Override
public NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            // nr of elements control element
            addDialogComponent(new DialogComponentNumber(
                    ElementSelectorSettingsModels.createNumElementsModel(),
                    "Number of elements:", /* step */1));

            addDialogComponent(new DialogComponentButtonGroup(
                    ElementSelectorSettingsModels
                            .createElementSelectionStrategyModel(),
                    false, "Selection Strategy",
                    EnumUtils.getStringListFromToString(
                            ElementSelectionStrategy.values())));
            // column to use
            addDialogComponent(new DialogComponentColumnNameSelection(
                    ElementSelectorSettingsModels.createColumnModel(),
                    "Column to use", 0, DoubleValue.class));
        }
    };
}
 

开发者ID:knime,
项目名称:knime-activelearning,
代码行数:27,
代码来源:ElementSelectorNodeFactory.java

示例2: createNodeDialogPane

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@SuppressWarnings("unchecked")
@Override
protected NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            addDialogComponent(new DialogComponentColumnNameSelection(
                    DBGActiveLearnLoopEndNodeModel
                            .createGroundTruthClassColumnModel(),
                    "Ground Truth Class Column",
                    DBGActiveLearnLoopEndNodeModel.LABELED_PORT,
                    StringValue.class));

            addDialogComponent(new DialogComponentNumber(
                    DBGActiveLearnLoopEndNodeModel
                            .createMaxIterationsModel(),
                    "Number of Iterations", 1));
        }
    };
}
 

开发者ID:knime,
项目名称:knime-activelearning,
代码行数:23,
代码来源:DBGActiveLearnLoopEndNodeFactory.java

示例3: createNodeDialogPane

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@SuppressWarnings("unchecked")
@Override
protected NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            addDialogComponent(new DialogComponentNumber(
                    PBACScorerNodeModel.createExploitationModel(),
                    "Exploitation Factor", 0.1));

            addDialogComponent(new DialogComponentNumber(
                    PBACScorerNodeModel.createConstRAlphaModel(),
                    "Radius Alpha Model", 0.1));

            addDialogComponent(new DialogComponentNumber(
                    PBACScorerNodeModel.createSMNumNeighbors(),
                    "Number of Neighbors", 0.1));

            addDialogComponent(new DialogComponentColumnNameSelection(
                    PBACScorerNodeModel.createClassColModel(),
                    "Class Column (Port 1)", 1, StringValue.class));
        }
    };
}
 

开发者ID:knime,
项目名称:knime-activelearning,
代码行数:27,
代码来源:PBACScorerNodeFactory.java

示例4: createNodeDialogPane

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@SuppressWarnings("unchecked")
@Override
protected NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            addDialogComponent(new DialogComponentColumnNameSelection(
                    UncertaintyDistributionScorerNodeModel
                            .createExploitationColumnModel(),
                    "Exploitation Score Column", 0, true,
                    DoubleValue.class));

            addDialogComponent(new DialogComponentColumnNameSelection(
                    UncertaintyDistributionScorerNodeModel
                            .createExplorationColumnModel(),
                    "Exploration Score Column", 0, true,
                    DoubleValue.class));

            addDialogComponent(new DialogComponentNumber(
                    UncertaintyDistributionScorerNodeModel
                            .createExploitationFactorModel(),
                    "Exploitation Factor", 0.1));
        }
    };
}
 

开发者ID:knime,
项目名称:knime-activelearning,
代码行数:28,
代码来源:UncertaintyDistributionScorerNodeFactory.java

示例5: createNodeDialogPane

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            createNewGroup("Scoring Settings");
            setHorizontalPlacement(true);
            addDialogComponent(new DialogComponentNumber(
                    GraphDensityScorerNodeModel.createNumNeighborsModel(),
                    "Number of Neighbors", 5));

            addDialogComponent(new DialogComponentNumber(
                    GraphDensityScorerNodeModel.createSigmaModel(), "Sigma",
                    1));

            setHorizontalPlacement(false);

            createNewGroup("Column Selection");
            addDialogComponent(new DialogComponentColumnFilter2(
                    GraphDensityScorerNodeModel.createColumnFilterModel(),
                    0));
        }
    };
}
 

开发者ID:knime,
项目名称:knime-activelearning,
代码行数:27,
代码来源:GraphDensityScorerNodeFactory.java

示例6: createNodeDialogPane

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            createNewGroup("Scoring Settings");
            addDialogComponent(new DialogComponentNumber(
                    NodePotentialScorerNodeModel.createConstRAlphaModel(),
                    "Radius Alpha", 0.1));

            createNewGroup("Column Selection");
            addDialogComponent(new DialogComponentColumnFilter2(
                    NodePotentialScorerNodeModel.createColumnFilterModel(),
                    0));
        }
    };
}
 

开发者ID:knime,
项目名称:knime-activelearning,
代码行数:20,
代码来源:NodePotentialScorerNodeFactory.java

示例7: TakeSampleNodeDialog

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
 * New pane for configuring TakeSample node dialog. Number of elements to
 * take with or without replacement. A random number generator seed is
 * optional.
 */
protected TakeSampleNodeDialog() {
	super();

	// replacement
	addDialogComponent(new DialogComponentBoolean(new SettingsModelBoolean(
			TakeSampleNodeModel.CFGKEY_REPLACEMENT,
			TakeSampleNodeModel.DEFAULT_REPLACEMENT),
			TakeSampleNodeModel.CFGKEY_REPLACEMENT));

	// count
	addDialogComponent(new DialogComponentNumber(
			new SettingsModelIntegerBounded(
					TakeSampleNodeModel.CFGKEY_COUNT,
					TakeSampleNodeModel.DEFAULT_COUNT, 0, Integer.MAX_VALUE),
			TakeSampleNodeModel.CFGKEY_COUNT, 1, 5));

	// seed
	addDialogComponent(new DialogComponentNumber(
			new SettingsModelIntegerBounded(
					TakeSampleNodeModel.CFGKEY_SEED,
					TakeSampleNodeModel.DEFAULT_SEED, Integer.MIN_VALUE,
					Integer.MAX_VALUE), TakeSampleNodeModel.CFGKEY_SEED, 1,
			5));

}
 

开发者ID:pavloff-de,
项目名称:spark4knime,
代码行数:31,
代码来源:TakeSampleNodeDialog.java

示例8: SampleNodeDialog

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
 * New pane for configuring Sample node dialog. Fraction of elements to take
 * with or without replacement. A random number generator seed is optional.
 */
protected SampleNodeDialog() {
	super();

	// replacement
	addDialogComponent(new DialogComponentBoolean(new SettingsModelBoolean(
			SampleNodeModel.CFGKEY_REPLACEMENT,
			SampleNodeModel.DEFAULT_REPLACEMENT),
			SampleNodeModel.CFGKEY_REPLACEMENT));

	// fraction
	addDialogComponent(new DialogComponentNumber(
			new SettingsModelIntegerBounded(
					SampleNodeModel.CFGKEY_FRACTION,
					SampleNodeModel.DEFAULT_FRACTION, 0, 100),
			SampleNodeModel.CFGKEY_FRACTION, 1, 5));

	// seed
	addDialogComponent(new DialogComponentNumber(
			new SettingsModelIntegerBounded(SampleNodeModel.CFGKEY_SEED,
					SampleNodeModel.DEFAULT_SEED, Integer.MIN_VALUE,
					Integer.MAX_VALUE), SampleNodeModel.CFGKEY_SEED, 1, 5));
}
 

开发者ID:pavloff-de,
项目名称:spark4knime,
代码行数:27,
代码来源:SampleNodeDialog.java

示例9: ESearchNodeDialog

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected ESearchNodeDialog()
{
addDialogComponent(new DialogComponentMultiLineString(
           new SettingsModelString( ESearchNodeModel.NCBI_QUERY_PROPERTY, ESearchNodeModel.NCBI_QUERY_DEFAULT)
               ,"Entrez Query:",false,80,25));

addDialogComponent(new DialogComponentStringSelection(
		new SettingsModelString(ESearchNodeModel.DB_IN_PROPERTY, ESearchNodeModel.DB_IN_DEFAULT),
		"Database Input",
		EInfo.getDatabases()
		));

    

addDialogComponent(new DialogComponentNumber(
		new SettingsModelInteger(ESearchNodeModel.LIMIT_PROPERTY, ESearchNodeModel.LIMIT_DEFAULT),
		"Limit",1,10
		));
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:20,
代码来源:ESearchNodeDialog.java

示例10: ELinkNodeDialog

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected ELinkNodeDialog()
{
addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName( ELinkNodeModel.NCBI_ID_COL_PROPERTY, ELinkNodeModel.NCBI_ID_COL_DEFAULT),
              "Column for EntrezID",
              0,
              new DataTypeColumnFilter(IntCell.TYPE)
  			));

addDialogComponent(new DialogComponentStringSelection(
		new SettingsModelString(ELinkNodeModel.DB_IN_PROPERTY, ELinkNodeModel.DB_IN_DEFAULT),
		"Database Type Input",
		EInfo.getDatabases()
		));

addDialogComponent(new DialogComponentStringSelection(
		new SettingsModelString(ELinkNodeModel.DB_OUT_PROPERTY, ELinkNodeModel.DB_OUT_DEFAULT),
		"Database Type Output",
		EInfo.getDatabases()
		));

addDialogComponent(new DialogComponentNumber(
		new SettingsModelInteger(ELinkNodeModel.LIMIT_PROPERTY, ELinkNodeModel.LIMIT_DEFAULT),
		"Limit",1,10
		));
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:27,
代码来源:ELinkNodeDialog.java

示例11: IGVNodeDialog

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
public IGVNodeDialog()
{
addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           		IGVNodeModel.CHROM_COL_PROPERTY, IGVNodeModel.CHROM_COL_DEFAULT),
               "Chrom:",0,new DataTypeColumnFilter(StringCell.TYPE)));

addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           		IGVNodeModel.POS_COL_PROPERTY, IGVNodeModel.POS_COL_DEFAULT),
               "Pos:",0,new DataTypeColumnFilter(IntCell.TYPE)));

addDialogComponent(new DialogComponentString(
           new SettingsModelString( IGVNodeModel.IGV_HOST_PROPERTY, IGVNodeModel.IGV_HOST_DEFAULT),
               "IGV Host:",true,20));
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger( IGVNodeModel.IGV_PORT_PROPERTY, IGVNodeModel.IGV_PORT_DEFAULT),
               "IGV Port:",10));
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:20,
代码来源:IGVNodeDialog.java

示例12: ReadOneVCFNodeDialog

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
public ReadOneVCFNodeDialog()
  	{
  	//qual
  	addDialogComponent(new DialogComponentNumber(
              new SettingsModelInteger(
              	ReadOneVCFNodeModel.MIN_QUAL_PROPERTY, ReadOneVCFNodeModel.DEFAULT_MIN_QUAL),
                  "Minimum Qual",1));
  	
  	//vcf path
addDialogComponent(new DialogComponentFileChooser(
   		new SettingsModelString(ReadOneVCFNodeModel.VCF_COL_PROPERTY,ReadOneVCFNodeModel.VCF_COL_DEFAULT),
   		"my.simple.vcf.read.HistoryID",
   		JFileChooser.OPEN_DIALOG,
   		".vcf",".VCF",
   		".vcf.gz",".VCF.gz",
   		".vcf.bgz",".VCF.bgz"
   		));

//sample name
addDialogComponent(new DialogComponentString(
   		new SettingsModelString(ReadOneVCFNodeModel.SAMPLE_COL_PROPERTY,ReadOneVCFNodeModel.SAMPLE_COL_DEFAULT),
   		"Sample Name (optional)",false,30
   		));
  	
  	}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:26,
代码来源:ReadOneVCFNodeDialog.java

示例13: VCFLoaderNodeDialog

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
   * New pane for configuring VCFLoader node dialog.
   * This is just a suggestion to demonstrate possible default dialog
   * components.
   */
  protected VCFLoaderNodeDialog()
  	{
  	//depth
  	addDialogComponent(new DialogComponentNumber(
              new SettingsModelInteger(
              	VCFLoaderNodeModel.MIN_DEPTH_PROPERTY, VCFLoaderNodeModel.DEFAULT_MIN_DEPTH),
                  "Minimum Depth",1));
  	addDialogComponent(new DialogComponentNumber(
              new SettingsModelInteger(
              	VCFLoaderNodeModel.MAX_DEPTH_PROPERTY, VCFLoaderNodeModel.DEFAULT_MAX_DEPTH),
                  "Maximum Depth",1));
  	
  	//column name
addDialogComponent(new DialogComponentColumnNameSelection(
   		new SettingsModelColumnName(VCFLoaderNodeModel.SAMPLE_COL_PROPERTY,VCFLoaderNodeModel.SAMPLE_COL_DEFAULT),
   		"Sample name",0, new DataTypeColumnFilter(StringCell.TYPE) ));

//column vcf
addDialogComponent(new DialogComponentColumnNameSelection(
   		new SettingsModelColumnName(VCFLoaderNodeModel.VCF_COL_PROPERTY,VCFLoaderNodeModel.VCF_COL_DEFAULT),
   		"VCF URL",0, new DataTypeColumnFilter(StringCell.TYPE) ));
  	
  	}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:29,
代码来源:VCFLoaderNodeDialog.java

示例14: ReadVCFNodeDialog

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
   * New pane for configuring VCFLoader node dialog.
   * This is just a suggestion to demonstrate possible default dialog
   * components.
   */
  protected ReadVCFNodeDialog()
  	{
  	//qual
  	addDialogComponent(new DialogComponentNumber(
              new SettingsModelInteger(
              	ReadVCFNodeModel.MIN_QUAL_PROPERTY, ReadVCFNodeModel.DEFAULT_MIN_QUAL),
                  "Minimum Qual",1));
  	
  	//column name
addDialogComponent(new DialogComponentColumnNameSelection(
   		new SettingsModelColumnName(ReadVCFNodeModel.SAMPLE_COL_PROPERTY,ReadVCFNodeModel.SAMPLE_COL_DEFAULT),
   		"Sample name",0, new DataTypeColumnFilter(StringCell.TYPE) ));

//column vcf
addDialogComponent(new DialogComponentColumnNameSelection(
   		new SettingsModelColumnName(ReadVCFNodeModel.VCF_COL_PROPERTY,ReadVCFNodeModel.VCF_COL_DEFAULT),
   		"VCF URL",0, new DataTypeColumnFilter(StringCell.TYPE) ));
  	
  	}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:25,
代码来源:ReadVCFNodeDialog.java

示例15: ReadMultiVCFNodeDialog

点赞 3

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
public ReadMultiVCFNodeDialog()
  	{
  	//qual
  	addDialogComponent(new DialogComponentNumber(
              new SettingsModelInteger(
              	ReadMultiVCFNodeModel.MIN_QUAL_PROPERTY, ReadMultiVCFNodeModel.DEFAULT_MIN_QUAL),
                  "Minimum Qual",1));
  	
  	//vcf path
addDialogComponent(new DialogComponentFileChooser(
   		new SettingsModelString(ReadMultiVCFNodeModel.VCF_COL_PROPERTY,ReadMultiVCFNodeModel.VCF_COL_DEFAULT),
   		"my.simple.vcf.read.HistoryID",
   		JFileChooser.OPEN_DIALOG,
   		".vcf",".VCF",
   		".vcf.gz",".VCF.gz",
   		".vcf.bgz",".VCF.bgz"
   		));    	
  	}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:19,
代码来源:ReadMultiVCFNodeDialog.java

示例16: MyExampleNodeNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
 * New pane for configuring MyExampleNode node dialog.
 * This is just a suggestion to demonstrate possible default dialog
 * components.
 */
protected MyExampleNodeNodeDialog() {
    super();
    
    addDialogComponent(new DialogComponentNumber(
            new SettingsModelIntegerBounded(
                MyExampleNodeNodeModel.CFGKEY_COUNT,
                MyExampleNodeNodeModel.DEFAULT_COUNT,
                Integer.MIN_VALUE, Integer.MAX_VALUE),
                "Counter:", /*step*/ 1, /*componentwidth*/ 5));
                
}
 

开发者ID:knime,
项目名称:knime-sdk-setup,
代码行数:17,
代码来源:MyExampleNodeNodeDialog.java

示例17: TakeNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
 * New pane for configuring Take node dialog. Number of elements to take.
 */
protected TakeNodeDialog() {
	super();

	// count
	addDialogComponent(new DialogComponentNumber(
			new SettingsModelIntegerBounded(TakeNodeModel.CFGKEY_COUNT,
					TakeNodeModel.DEFAULT_COUNT, 1, Integer.MAX_VALUE),
			TakeNodeModel.CFGKEY_COUNT, 1, 5));

}
 

开发者ID:pavloff-de,
项目名称:spark4knime,
代码行数:14,
代码来源:TakeNodeDialog.java

示例18: BIDENodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
    * New pane for configuring CMSPAM node dialog.
    * This is just a suggestion to demonstrate possible default dialog
    * components.
    */
   @SuppressWarnings("unchecked")
protected BIDENodeDialog() {
       super();
       
       
       addDialogComponent(new DialogComponentNumber(
               new SettingsModelDoubleBounded(
                   BIDENodeModel.CFGKEY_MINSUP,
                   BIDENodeModel.DEFAULT_MINSUP,
                   0.01, 1),
                   "Minsup:", /*step*/ 0.01, /*componentwidth*/ 5));
       
       
       
       addDialogComponent(new DialogComponentColumnNameSelection(
       		new SettingsModelColumnName(
       				BIDENodeModel.CFGKEY_COLSEL,
       				BIDENodeModel.DEFAULT_COLSEL),
       				"Sequence column:",
       				0 ,
       				true,
       				StringValue.class));

       
       addDialogComponent(new DialogComponentBoolean(
       		new SettingsModelBoolean(
       				BIDENodeModel.CFGKEY_SHOWSEQUENCE,
       				BIDENodeModel.DEFAULT_SHOWSEQUENCE),
       				"Show Sequence ids"));
       


                   
   }
 

开发者ID:DeOlSo,
项目名称:ADC2015_De,
代码行数:40,
代码来源:BIDENodeDialog.java

示例19: CMRulesNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
 * New pane for configuring CMRules node dialog.
 * This is just a suggestion to demonstrate possible default dialog
 * components.
 */
protected CMRulesNodeDialog() {
    super();
    
    
    addDialogComponent(new DialogComponentNumber(
            new SettingsModelDoubleBounded(
                CMRulesNodeModel.CFGKEY_MINSUP,
                CMRulesNodeModel.DEFAULT_MINSUP,
                0.01, 1),
                "Minsup:", /*step*/ 0.01, /*componentwidth*/ 5));
    
    
    addDialogComponent(new DialogComponentNumber(
            new SettingsModelDoubleBounded(
                CMRulesNodeModel.CFGKEY_MINCONF,
                CMRulesNodeModel.DEFAULT_MINCONF,
                0.01, 1),
                "Minconf:", /*step*/ 0.01, /*componentwidth*/ 5));
    
    
    
    
    addDialogComponent(new DialogComponentColumnNameSelection(
    		new SettingsModelColumnName(
    				CMRulesNodeModel.CFGKEY_COLSEL,
    				CMRulesNodeModel.DEFAULT_COLSEL),
    				"Sequence column:",
    				0 ,
    				true,
    				StringValue.class));

   
                
}
 

开发者ID:DeOlSo,
项目名称:ADC2015_De,
代码行数:40,
代码来源:CMRulesNodeDialog.java

示例20: CMDeoNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
 * New pane for configuring CMDeo node dialog.
 * This is just a suggestion to demonstrate possible default dialog
 * components.
 */
protected CMDeoNodeDialog() {
    super();
    
    addDialogComponent(new DialogComponentNumber(
            new SettingsModelDoubleBounded(
                CMDeoNodeModel.CFGKEY_MINSUP,
                CMDeoNodeModel.DEFAULT_MINSUP,
                0.01, 1),
                "Minsup:", /*step*/ 0.01, /*componentwidth*/ 5));
    
    
    addDialogComponent(new DialogComponentNumber(
            new SettingsModelDoubleBounded(
            	CMDeoNodeModel.CFGKEY_MINCONF,
            	CMDeoNodeModel.DEFAULT_MINCONF,
                0.01, 1),
                "Minconf:", /*step*/ 0.01, /*componentwidth*/ 5));
    
    
    
    
    addDialogComponent(new DialogComponentColumnNameSelection(
    		new SettingsModelColumnName(
    				CMDeoNodeModel.CFGKEY_COLSEL,
    				CMDeoNodeModel.DEFAULT_COLSEL),
    				"Sequence column:",
    				0 ,
    				true,
    				StringValue.class));
                
}
 

开发者ID:DeOlSo,
项目名称:ADC2015_De,
代码行数:37,
代码来源:CMDeoNodeDialog.java

示例21: NcbiSequenceNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected NcbiSequenceNodeDialog()
{

addDialogComponent(new DialogComponentNumber(
		new SettingsModelInteger(AbstractNcbiSeqNodeModel.LIMIT_SIZE_PROPERTY, AbstractNcbiSeqNodeModel.LIMIT_SIZE_DEFAULT),
		"Trim Sequence length to:",1,10
		));
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:9,
代码来源:NcbiSequenceNodeDialog.java

示例22: DefaultNcbiEUtilsNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
public DefaultNcbiEUtilsNodeDialog()
{
addDialogComponent(new DialogComponentMultiLineString(
           new SettingsModelString( AbstractNcbiEUtilsNodeModel.TERM_PROPERTY, "")
               ,"NCBI Query",true,40,20));
addDialogComponent(new DialogComponentNumber(new SettingsModelIntegerBounded(AbstractNcbiEUtilsNodeModel.LIMIT_PROPERTY, AbstractNcbiEUtilsNodeModel.LIMIT_DEFAULT, 1, 10000), "Limit", 1));
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:8,
代码来源:DefaultNcbiEUtilsNodeDialog.java

示例23: StringEmblNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected StringEmblNodeDialog()
{
addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           		StringEmblNodeModel.GENE_COL_PROPERTY, StringEmblNodeModel.GENE_COL_DEFAULT),
               "Gene:",0,new DataTypeColumnFilter(StringCell.TYPE)));
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger(
           		StringEmblNodeModel.SCORE_PROPERTY, StringEmblNodeModel.DEFAULT_SCORE),
               "Score:",1,10));
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger(
           		StringEmblNodeModel.TAXON_PROPERTY, StringEmblNodeModel.DEFAULT_TAXON),
               "NCBI Taxon Id:",1,10));
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:16,
代码来源:StringEmblNodeDialog.java

示例24: DasFeaturesNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected DasFeaturesNodeDialog()
{
addDialogComponent(new DialogComponentString(
           new SettingsModelString(
           		DasFeaturesNodeModel.DAS_URI_PROPERTY, DasFeaturesNodeModel.DEFAULT_DAS_URI),
               "Das Fatures URI :",true,50));

addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           		DasFeaturesNodeModel.CHROM_COL_PROPERTY, DasFeaturesNodeModel.CHROM_COL_DEFAULT),
               "Chrom:",0,new DataTypeColumnFilter(StringCell.TYPE)));

addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           		DasFeaturesNodeModel.POS_COL_PROPERTY, DasFeaturesNodeModel.POS_COL_DEFAULT),
               "Pos:",0,new DataTypeColumnFilter(IntCell.TYPE)));
		

addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger(
           		DasFeaturesNodeModel.MAX_RECORD_PROPERTY, DasFeaturesNodeModel.MAX_RECORD_DEF),
               "Max hits per row:",1,50));




}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:28,
代码来源:DasFeaturesNodeDialog.java

示例25: DasContextNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected DasContextNodeDialog()
{
addDialogComponent(new DialogComponentString(
           new SettingsModelString(
           		DasContextNodeModel.DAS_URI_PROPERTY, DasContextNodeModel.DEFAULT_DAS_URI),
               "Das URI:",true,100));

addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           		DasContextNodeModel.CHROM_COL_PROPERTY, DasContextNodeModel.CHROM_COL_DEFAULT),
               "Chrom:",0,new DataTypeColumnFilter(StringCell.TYPE)));

addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           		DasContextNodeModel.POS_COL_PROPERTY, DasContextNodeModel.POS_COL_DEFAULT),
               "Pos:",0,new DataTypeColumnFilter(IntCell.TYPE)));
		

addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger(
           		DasContextNodeModel.EXTEND_PROPERTY, DasContextNodeModel.DEFAULT_EXTEND),
               "Extend:",1,100));




}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:28,
代码来源:DasContextNodeDialog.java

示例26: GoNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected GoNodeDialog()
{
addDialogComponent(new DialogComponentString(
           new SettingsModelString( GoNodeModel.GENONTOLOGY_PROPERTY, GoNodeModel.GENONTOLOGY_DEFAULT),
               "GeneOntology Term",true,20));
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger( GoNodeModel.TAXON_PROPERTY, GoNodeModel.TAXON_DEFAULT),
              "Taxon",
              1
  			));
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:12,
代码来源:GoNodeDialog.java

示例27: CutRegionNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
public CutRegionNodeDialog()
{
addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           		CutRegionNodeModel.CHROM_COL_PROPERTY, CutRegionNodeModel.CHROM_COL_DEFAULT),
               "Chrom:",0,new DataTypeColumnFilter(StringCell.TYPE)));

addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           		CutRegionNodeModel.POS_COL_PROPERTY, CutRegionNodeModel.POS_COL_DEFAULT),
               "Pos:",0,new DataTypeColumnFilter(IntCell.TYPE)));

addDialogComponent(new DialogComponentString(
           new SettingsModelString( CutRegionNodeModel.SELECT_CHROM_PROPERTY, CutRegionNodeModel.SELECT_CHROM_DEFAULT),
              "Chromosome",
              true,50
  			));
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger( CutRegionNodeModel.SELECT_START_PROPERTY, CutRegionNodeModel.SELECT_START_DEFAULT),
              "Start Region",
              1
  			));
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger( CutRegionNodeModel.SELECT_END_PROPERTY, CutRegionNodeModel.SELECT_END_DEFAULT),
              "End Region",
              1
  			));
addDialogComponent(new DialogComponentBoolean(
           new SettingsModelBoolean( CutRegionNodeModel.INVERT_PROPERTY, CutRegionNodeModel.INVERT_DEFAULT),
              "Invert"
  			));
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:33,
代码来源:CutRegionNodeDialog.java

示例28: RsFilterNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected RsFilterNodeDialog()
{
addDialogComponent(new DialogComponentBoolean(
           new SettingsModelBoolean(
               RsFilterNodeModel.CFGKEY_CONSIDER_HETEROZYGOSITY, false),
               "Consider Min. Heterozygosity"));

   addDialogComponent(new DialogComponentNumber(
           new SettingsModelDoubleBounded(
               RsFilterNodeModel.CFGKEY_MIN_HETEROZYGOSITY, 0,0,0.5),
               "Min Heterozygosity", /*step*/ 0.01, /*componentwidth*/ 5));
   
             
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:15,
代码来源:RsFilterNodeDialog.java

示例29: HomoPolymerNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected HomoPolymerNodeDialog()
{
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger(
           	HomoPolymerNodeModel.MAX_REPEAT_PROPERTY, HomoPolymerNodeModel.DEFAULT_MAX_REPEAT),
               "Num Repeats:",1));
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:8,
代码来源:HomoPolymerNodeDialog.java

示例30: HeadNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected HeadNodeDialog()
{
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger( HeadNodeModel.ROW_PROPERTY, HeadNodeModel.DEFAULT_ROW)
               ,"Rows",1));
			
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:8,
代码来源:HeadNodeDialog.java

示例31: TailNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected TailNodeDialog()
{
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger( TailNodeModel.ROW_PROPERTY, TailNodeModel.DEFAULT_ROW)
               ,"Rows",1));
			
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:8,
代码来源:TailNodeDialog.java

示例32: CMSPAMNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
/**
    * New pane for configuring CMSPAM node dialog.
    * This is just a suggestion to demonstrate possible default dialog
    * components.
    */
   @SuppressWarnings("unchecked")
protected CMSPAMNodeDialog() {
       super();
       
       setDefaultTabTitle("Standard Options");
       
       addDialogComponent(new DialogComponentNumber(
               new SettingsModelDoubleBounded(
                   CMSPAMNodeModel.CFGKEY_MINSUP,
                   CMSPAMNodeModel.DEFAULT_MINSUP,
                   0.01, 1),
                   "Minsup:", /*step*/ 0.01, /*componentwidth*/ 5));
       
       
       
       addDialogComponent(new DialogComponentColumnNameSelection(
       		new SettingsModelColumnName(
       				CMSPAMNodeModel.CFGKEY_COLSEL,
       				CMSPAMNodeModel.DEFAULT_COLSEL),
       				"Sequence column:",
       				0 ,
       				true,
       				StringValue.class));
       
       
       
      createNewTab("Advanced Options");
       
       
       addDialogComponent(new DialogComponentNumber(
               new SettingsModelIntegerBounded(
                   CMSPAMNodeModel.CFGKEY_MINPATTERN,
                   CMSPAMNodeModel.DEFAULT_MINPATTERN,
                   1, Integer.MAX_VALUE),
                   "Min. pattern length:", /*step*/ 1, /*componentwidth*/ 5));
       
       addDialogComponent(new DialogComponentNumber(
               new SettingsModelIntegerBounded(
                   CMSPAMNodeModel.CFGKEY_MAXPATTERN,
                   CMSPAMNodeModel.DEFAULT_MAXPATTERN,
                   0, Integer.MAX_VALUE),
                   "Max. pattern length: (0 for infinite)", /*step*/ 1, /*componentwidth*/ 5));
       
       
       addDialogComponent(new DialogComponentString(
       		new SettingsModelString(
       				CMSPAMNodeModel.CFGKEY_REQUIREDITEMS,
       				CMSPAMNodeModel.DEFAULT_REQUIREDITEMS),
       				"Required items (e.g. 1,2,3)"));
       
       
       addDialogComponent(new DialogComponentNumber(
               new SettingsModelIntegerBounded(
                   CMSPAMNodeModel.CFGKEY_MAXGAP,
                   CMSPAMNodeModel.DEFAULT_MAXGAP,
                   0, Integer.MAX_VALUE),
                   "Max. gap: (0 for infinite)", /*step*/ 1, /*componentwidth*/ 5));
       
       addDialogComponent(new DialogComponentBoolean(
       		new SettingsModelBoolean(
       				CMSPAMNodeModel.CFGKEY_SHOWSEQUENCE,
       				CMSPAMNodeModel.DEFAULT_SHOWSEQUENCE),
       				"Show Sequence ids"));
       


                   
   }
 

开发者ID:DeOlSo,
项目名称:ADC2015_De,
代码行数:74,
代码来源:CMSPAMNodeDialog.java

示例33: QualNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected QualNodeDialog()
{
addDialogComponent(new DialogComponentNumber(
           new SettingsModelDouble( QualNodeModel.MIN_QUAL_PROPERTY, QualNodeModel.DEFAULT_MIN_QUAL),
               "Minimum Quality",1));
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:7,
代码来源:QualNodeDialog.java

示例34: VCFNumericSplitNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected VCFNumericSplitNodeDialog()
{

addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           	VCFNumericSplitNodeModel.CHROM_COL_PROPERTY, VCFNumericSplitNodeModel.CHROM_COL_DEFAULT),
               "Chrom:",0,new DataTypeColumnFilter(StringCell.TYPE)));

addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           	VCFNumericSplitNodeModel.POS_COL_PROPERTY, VCFNumericSplitNodeModel.POS_COL_DEFAULT),
               "Pos:",0,new DataTypeColumnFilter(IntCell.TYPE)));
addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           	VCFNumericSplitNodeModel.REF_COL_PROPERTY, VCFNumericSplitNodeModel.REF_COL_DEFAULT),
               "Ref:",0,new DataTypeColumnFilter(StringCell.TYPE)));
addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           	VCFNumericSplitNodeModel.ALT_COL_PROPERTY, VCFNumericSplitNodeModel.ALT_COL_DEFAULT),
               "Alt:",0,new DataTypeColumnFilter(StringCell.TYPE)));

   	
addDialogComponent(new DialogComponentBoolean(
           new SettingsModelBoolean( VCFNumericSplitNodeModel.USE_REF_ALT_PROPERTY, VCFNumericSplitNodeModel.DEFAULT_USE_REF_ALT),
              "Use Ref/Alt"
  			));



addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           	VCFNumericSplitNodeModel.VALUE_COL_PROPERTY, VCFNumericSplitNodeModel.VALUE_COL_DEFAULT),
               "Observed Column:",0,new DataTypeColumnFilter(IntCell.TYPE,DoubleCell.TYPE)));
    
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger(
           		VCFNumericSplitNodeModel.MIN_QUAL_PROPERTY, VCFNumericSplitNodeModel.DEFAULT_MIN_QUAL),
               "Minimum Value (inclusive=",1));
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger(
           		VCFNumericSplitNodeModel.MAX_QUAL_PROPERTY, VCFNumericSplitNodeModel.DEFAULT_MAX_QUAL),
               "Maximum Value (inclusive)",1));
 	

addDialogComponent(new DialogComponentBoolean(
           new SettingsModelBoolean( VCFNumericSplitNodeModel.INVERT_PROPERTY, VCFNumericSplitNodeModel.DEFAULT_INVERT),
              "Invert"
  			));
 	
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:51,
代码来源:VCFNumericSplitNodeDialog.java

示例35: AggregationNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
public AggregationNodeDialog()
{
addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           		AggregationNodeModel.CHROM_COL_PROPERTY, AggregationNodeModel.CHROM_COL_DEFAULT),
               "Chrom:",0,new DataTypeColumnFilter(StringCell.TYPE)));

addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           		AggregationNodeModel.POS_COL_PROPERTY, AggregationNodeModel.POS_COL_DEFAULT),
               "Pos:",0,new DataTypeColumnFilter(IntCell.TYPE)));

addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName(
           		AggregationNodeModel.VALUE_COL_PROPERTY, AggregationNodeModel.VALUE_COL_DEFAULT),
               "Value:",0,new ColumnFilter()
           		{
	@Override
	public boolean includeColumn(DataColumnSpec colSpec)
		{
		DataType t=colSpec.getType();
		if(t.equals(IntCell.TYPE)) return true;
		if(t.equals(LongCell.TYPE)) return true;
		if(t.equals(BooleanCell.TYPE)) return true;
		if(t.equals(DoubleCell.TYPE)) return true;
		return false;
		}
	
	@Override
	public String allFilteredMsg() {
		return "Cannot find a numeric Column";
	}
}));


addDialogComponent(new DialogComponentNumber(
           new SettingsModelDouble( AggregationNodeModel.THRESHOLD_PROPERTY, AggregationNodeModel.THRESHOLD_DEFAULT),
              "Treshold",
              0.0001
  			));

addDialogComponent(new DialogComponentString(
           new SettingsModelString( AggregationNodeModel.PREFIX_PROPERTY, AggregationNodeModel.PREFIX_DEFAULT),
              "new Columns Prefix",
              true,50
  			));



}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:51,
代码来源:AggregationNodeDialog.java

示例36: BedFileNodeDialog

点赞 2

import org.knime.core.node.defaultnodesettings.DialogComponentNumber; //导入依赖的package包/类
protected BedFileNodeDialog()
{
addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName( BedFileNodeModel.CHROM1_COL_PROPERTY, BedFileNodeModel.DEFAULT_CHROM1_COL),
              "CHROM",
              0,
              new DataTypeColumnFilter(StringCell.TYPE)
  			));
addDialogComponent(new DialogComponentColumnNameSelection(
           new SettingsModelColumnName( BedFileNodeModel.POS_COL_PROPERTY, BedFileNodeModel.DEFAULT_POS_COL),
              "POS",
              0,
              new DataTypeColumnFilter(IntCell.TYPE)
  			));


addDialogComponent(new DialogComponentString(
           new SettingsModelString( BedFileNodeModel.FILENAME_URI_PROPERTY, BedFileNodeModel.DEFAULT_FILENAME_URI),
              "File URI",
              true,50
  			));

addDialogComponent(new DialogComponentNumber(
        new SettingsModelInteger( BedFileNodeModel.CHROM2_COL_PROPERTY, BedFileNodeModel.DEFAULT_CHROM2_COL),
           "Chromosome",
           1
		));
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger( BedFileNodeModel.START_COL_PROPERTY, BedFileNodeModel.DEFAULT_START_COL),
              "ChromStart",
              1
  			));
addDialogComponent(new DialogComponentNumber(
           new SettingsModelInteger( BedFileNodeModel.END_COL_PROPERTY, BedFileNodeModel.DEFAULT_END_COL),
              "ChromEnd",
              1
  			));

addDialogComponent(new DialogComponentString(
           new SettingsModelString( BedFileNodeModel.FILE_IGNORE_PROPERTY, BedFileNodeModel.DEFAULT_FILE_IGNORE),
              "Ignore lines starting with",
              true,50
  			));

addDialogComponent(new DialogComponentString(
           new SettingsModelString( BedFileNodeModel.FILE_DELIM_PROPERTY, BedFileNodeModel.DEFAULT_FILE_DELIM),
              "Regex delimiter",
              true,5
  			));

addDialogComponent(new DialogComponentString(
           new SettingsModelString( BedFileNodeModel.COL_PREFIX_PROPERTY, BedFileNodeModel.DEFAULT_ICOL_PREFIX),
              "Column prefix",
              true,10
  			));
addDialogComponent(new DialogComponentBoolean(
           new SettingsModelBoolean( BedFileNodeModel.STOP_FIRST_PROPERTY, BedFileNodeModel.STOP_FIRST_DEF),
              "Stop after first hit"
  			));
}
 

开发者ID:lindenb,
项目名称:knime4bio,
代码行数:61,
代码来源:BedFileNodeDialog.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)