com.levigo.util.base.glazedlists.matchers
Class MatcherEditor.Event<E>

java.lang.Object
  extended by java.util.EventObject
      extended by com.levigo.util.base.glazedlists.matchers.MatcherEditor.Event<E>
All Implemented Interfaces:
Serializable
Enclosing interface:
MatcherEditor<E>

public static class MatcherEditor.Event<E>
extends EventObject

A MatcherEditor event models a change in the MatcherEditor that creates a new Matcher.

The event gives access to:

The type constants are found in this event class:

See Also:
Serialized Form

Field Summary
static int CHANGED
          Indicates the associated Matcher is a complete change from the previous Matcher.
static int CONSTRAINED
          Indicates the associated Matcher is a constrained version of the previous Matcher, implying it can be expected to match at most the same values matched by the previous Matcher, and possibly fewer.
static int MATCH_ALL
          Indicates the associated Matcher will match anything.
static int MATCH_NONE
          Indicates the associated Matcher will match nothing.
static int RELAXED
          Indicates the associated Matcher is a relaxed version of the previous Matcher, implying it can be expected to match at least the same values matched by the previous Matcher, and possibly more.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MatcherEditor.Event(FilterList eventSource, int changeType, Matcher<E> matcher)
           
MatcherEditor.Event(MatcherEditor<E> matcherEditor, int changeType, Matcher<E> matcher)
           
 
Method Summary
 Matcher<E> getMatcher()
           
 MatcherEditor<E> getMatcherEditor()
          Get the MatcherEditor that originated this event, or null if this event originated directly from a FilterList in a call to FilterList.setMatcher(Matcher).
 int getType()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MATCH_ALL

public static final int MATCH_ALL
Indicates the associated Matcher will match anything.

See Also:
Constant Field Values

MATCH_NONE

public static final int MATCH_NONE
Indicates the associated Matcher will match nothing.

See Also:
Constant Field Values

CONSTRAINED

public static final int CONSTRAINED
Indicates the associated Matcher is a constrained version of the previous Matcher, implying it can be expected to match at most the same values matched by the previous Matcher, and possibly fewer.

See Also:
Constant Field Values

RELAXED

public static final int RELAXED
Indicates the associated Matcher is a relaxed version of the previous Matcher, implying it can be expected to match at least the same values matched by the previous Matcher, and possibly more.

See Also:
Constant Field Values

CHANGED

public static final int CHANGED
Indicates the associated Matcher is a complete change from the previous Matcher. No guarantees can be made for any values which were matched or unmatched by the previous Matcher.

See Also:
Constant Field Values
Constructor Detail

MatcherEditor.Event

public MatcherEditor.Event(MatcherEditor<E> matcherEditor,
                           int changeType,
                           Matcher<E> matcher)

MatcherEditor.Event

public MatcherEditor.Event(FilterList eventSource,
                           int changeType,
                           Matcher<E> matcher)
Method Detail

getMatcherEditor

public MatcherEditor<E> getMatcherEditor()
Get the MatcherEditor that originated this event, or null if this event originated directly from a FilterList in a call to FilterList.setMatcher(Matcher).


getMatcher

public Matcher<E> getMatcher()

getType

public int getType()


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.