org.knime.core.node.util
Class ColumnFilterPanel.ValueClassFilter
java.lang.Object
org.knime.core.node.util.ColumnFilterPanel.ValueClassFilter
- All Implemented Interfaces:
- ColumnFilter
- Enclosing class:
- ColumnFilterPanel
public static class ColumnFilterPanel.ValueClassFilter
- extends Object
- implements ColumnFilter
Class that filters all columns based on a given set of compatible
DataValue
classes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnFilterPanel.ValueClassFilter
public ColumnFilterPanel.ValueClassFilter(Class<? extends DataValue>... filterValueClasses)
- Creates a new value class filter.
- Parameters:
filterValueClasses
- all classes that are compatible with
the type allowed in includeColumn(DataColumnSpec)
includeColumn
public final boolean includeColumn(DataColumnSpec cspec)
- Checks if the given column type is included in the list of allowed
types. If the list is empty, all types are valid.
- Specified by:
includeColumn
in interface ColumnFilter
- Parameters:
cspec
- ColumnFilterPanel
checked
- Returns:
- true, if given column should be visible in column filter
allFilteredMsg
public String allFilteredMsg()
-
- Specified by:
allFilteredMsg
in interface ColumnFilter
- Returns:
- the message to display if all columns are 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.