org.knime.base.node.viz.histogram.util
Class NoDomainColumnFilter

java.lang.Object
  extended by org.knime.base.node.viz.histogram.util.NoDomainColumnFilter
All Implemented Interfaces:
ColumnFilter

public final class NoDomainColumnFilter
extends Object
implements ColumnFilter

This ColumnFilter implementation filters all columns which have no DataColumnDomain information.

Author:
Tobias Koetter, University of Konstanz

Method Summary
 String allFilteredMsg()
          
static NoDomainColumnFilter getInstance()
           
 boolean includeColumn(DataColumnSpec colSpec)
          Checks if the column with the given DataColumnSpec should be included or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static NoDomainColumnFilter getInstance()
Returns:
the single instance of this class

allFilteredMsg

public String allFilteredMsg()

Specified by:
allFilteredMsg in interface ColumnFilter
Returns:
the message to display if all columns are filtered

includeColumn

public boolean includeColumn(DataColumnSpec colSpec)
Checks if the column with the given DataColumnSpec should be included or not.

Specified by:
includeColumn in interface ColumnFilter
Parameters:
colSpec - the column specification of the column to check
Returns:
true if the column should be included or false if the column is filtered.


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.