ca.odell.glazedlists.matchers
Enum SetMatcherEditor.Mode

java.lang.Object
  extended by java.lang.Enum<SetMatcherEditor.Mode>
      extended by ca.odell.glazedlists.matchers.SetMatcherEditor.Mode
All Implemented Interfaces:
Serializable, Comparable<SetMatcherEditor.Mode>
Enclosing class:
SetMatcherEditor<E,O>

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

Supported modes of operation for the MatcherEditor.


Enum Constant Summary
BLACKLIST
          the match set specifies the elements to be filtered out.
WHITELIST_EMPTY_MATCH_ALL
          the match set specifies the elements to be matched.
WHITELIST_EMPTY_MATCH_NONE
          the match set specifies the elements to be matched.
 
Method Summary
static SetMatcherEditor.Mode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SetMatcherEditor.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
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

BLACKLIST

public static final SetMatcherEditor.Mode BLACKLIST
the match set specifies the elements to be filtered out.


WHITELIST_EMPTY_MATCH_NONE

public static final SetMatcherEditor.Mode WHITELIST_EMPTY_MATCH_NONE
the match set specifies the elements to be matched. The empty match set matches none.


WHITELIST_EMPTY_MATCH_ALL

public static final SetMatcherEditor.Mode WHITELIST_EMPTY_MATCH_ALL
the match set specifies the elements to be matched. The empty match set matches all.

Method Detail

values

public static SetMatcherEditor.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 (SetMatcherEditor.Mode c : SetMatcherEditor.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 SetMatcherEditor.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


Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by hbrands at 2017-03-13 22:58