de.erichseifert.gral.data.filters
Enum Filter.Mode

java.lang.Object
  extended by java.lang.Enum<Filter.Mode>
      extended by de.erichseifert.gral.data.filters.Filter.Mode
All Implemented Interfaces:
Serializable, Comparable<Filter.Mode>
Enclosing class:
Filter

public static enum Filter.Mode
extends Enum<Filter.Mode>

Behavior when engaging the borders of a column, so that the filter would need more data values than available.


Enum Constant Summary
CIRCULAR
          Repeats the data.
MIRROR
          Mirrors values at the last value.
OMIT
          Ignores missing values.
REPEAT
          Repeats the last value.
ZERO
          Treats missing values as zero.
 
Method Summary
static Filter.Mode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Filter.Mode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OMIT

public static final Filter.Mode OMIT
Ignores missing values.


ZERO

public static final Filter.Mode ZERO
Treats missing values as zero.


REPEAT

public static final Filter.Mode REPEAT
Repeats the last value.


MIRROR

public static final Filter.Mode MIRROR
Mirrors values at the last value.


CIRCULAR

public static final Filter.Mode CIRCULAR
Repeats the data.

Method Detail

values

public static Filter.Mode[] 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 (Filter.Mode c : Filter.Mode.values())
    System.out.println(c);

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

valueOf

public static Filter.Mode 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


Copyright © 2009-2010. All Rights Reserved.