infovis.column.filter
Class NotStringOrNumberFilter

java.lang.Object
  extended by infovis.column.filter.NotStringOrNumberFilter
All Implemented Interfaces:
ColumnFilter

public class NotStringOrNumberFilter
extends Object
implements ColumnFilter

Filter out non StringColumns. Used in ScatterPlotVisualization based on infovis.column.filter.NotNumberFilter by

Version:
$Revision: 1.4 $
Author:
Naomi Dushay
See Also:
NotNumberFilter

Constructor Summary
NotStringOrNumberFilter()
           
 
Method Summary
 boolean filter(Column c)
          Returns true if the Column should be filtered out.
static NotStringOrNumberFilter sharedInstance()
          Avoid creating several instances since we need only one.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotStringOrNumberFilter

public NotStringOrNumberFilter()
Method Detail

sharedInstance

public static NotStringOrNumberFilter sharedInstance()
Avoid creating several instances since we need only one.

Returns:
the shared instance.

filter

public boolean filter(Column c)
Description copied from interface: ColumnFilter
Returns true if the Column should be filtered out.

Specified by:
filter in interface ColumnFilter
Parameters:
c - the column
Returns:
true if the Column should be filtered out.
See Also:
ColumnFilter.filter(Column)


Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.