org.knime.core.node.tableview
Enum TableContentModel.TableContentFilter

java.lang.Object
  extended by java.lang.Enum<TableContentModel.TableContentFilter>
      extended by org.knime.core.node.tableview.TableContentModel.TableContentFilter
All Implemented Interfaces:
Serializable, Comparable<TableContentModel.TableContentFilter>
Enclosing class:
TableContentModel

public static enum TableContentModel.TableContentFilter
extends Enum<TableContentModel.TableContentFilter>

Possible hilite filter incarnations.


Enum Constant Summary
All
          Show all available rows (default).
HiliteOnly
          Show only rows, which are currently hilited.
UnHiliteOnly
          Show only rows, which are currently not hilited.
 
Method Summary
 boolean matches(boolean isHilit)
           
 boolean performsFiltering()
           
static TableContentModel.TableContentFilter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TableContentModel.TableContentFilter[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

All

public static final TableContentModel.TableContentFilter All
Show all available rows (default).


HiliteOnly

public static final TableContentModel.TableContentFilter HiliteOnly
Show only rows, which are currently hilited.


UnHiliteOnly

public static final TableContentModel.TableContentFilter UnHiliteOnly
Show only rows, which are currently not hilited.

Method Detail

values

public static TableContentModel.TableContentFilter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TableContentModel.TableContentFilter c : TableContentModel.TableContentFilter.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TableContentModel.TableContentFilter valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

matches

public boolean matches(boolean isHilit)
Parameters:
isHilit - If row is hilit.
Returns:
whether the row with the given hilite status is to be filtered out.

performsFiltering

public boolean performsFiltering()
Returns:
Whether filter is limiting the scope.


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.