edu.udo.cs.yale.gui.plotter.conditions
Class ColumnsPlotterCondition

java.lang.Object
  extended by edu.udo.cs.yale.gui.plotter.conditions.ColumnsPlotterCondition
All Implemented Interfaces:
PlotterCondition

public class ColumnsPlotterCondition
extends java.lang.Object
implements PlotterCondition

This condition accepts data tables with a number of columns in the specified range (including the boundaries).

Version:
$Id: ColumnsPlotterCondition.java,v 1.2 2006/08/03 14:39:36 ingomierswa Exp $
Author:
Ingo Mierswa

Field Summary
private  int maxColumns
           
private  int minColumns
           
 
Constructor Summary
ColumnsPlotterCondition(int maxColumns)
           
ColumnsPlotterCondition(int minColumns, int maxColumns)
           
 
Method Summary
 boolean acceptDataTable(DataTable dataTable)
           
 java.lang.String getRejectionReason(DataTable dataTable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minColumns

private int minColumns

maxColumns

private int maxColumns
Constructor Detail

ColumnsPlotterCondition

public ColumnsPlotterCondition(int maxColumns)

ColumnsPlotterCondition

public ColumnsPlotterCondition(int minColumns,
                               int maxColumns)
Method Detail

acceptDataTable

public boolean acceptDataTable(DataTable dataTable)
Specified by:
acceptDataTable in interface PlotterCondition

getRejectionReason

public java.lang.String getRejectionReason(DataTable dataTable)
Specified by:
getRejectionReason in interface PlotterCondition


Copyright © 2001-2006