Uses of Interface
ca.odell.glazedlists.matchers.Matcher

Packages that use Matcher
ca.odell.glazedlists   
ca.odell.glazedlists.calculation   
ca.odell.glazedlists.matchers Implementations and classes useful for creating implementations of MatcherEditor/Matchers for use with FilterLists
ca.odell.glazedlists.swing   
 

Uses of Matcher in ca.odell.glazedlists
 

Methods in ca.odell.glazedlists that return Matcher
static
<E> Matcher<E>
GlazedLists.beanPropertyMatcher(Class<E> beanClass, String propertyName, Object value)
          Deprecated. as of 3/3/2006 - this method has been replaced by Matchers.beanPropertyMatcher(java.lang.Class, java.lang.String, java.lang.Object). Matchers is now the permanent factory class which creates all basic Matcher implementations.
 

Methods in ca.odell.glazedlists with parameters of type Matcher
 void ListSelection.addValidSelectionMatcher(Matcher<E> validSelectionMatcher)
          Add a matcher which decides when source elements are valid for selection.
static
<E> ObservableElementList.Connector<E>
GlazedLists.beanConnector(Class<E> beanClass, Matcher<PropertyChangeEvent> eventMatcher)
          Create a new Connector for the ObservableElementList that works with JavaBeans' PropertyChangeListener.
static
<E> ObservableElementList.Connector<E>
GlazedLists.beanConnector(Class<E> beanClass, String addListener, String removeListener, Matcher<PropertyChangeEvent> eventMatcher)
          Create a new Connector for the ObservableElementList that works with JavaBeans' PropertyChangeListener.
static
<E> MatcherEditor<E>
GlazedLists.fixedMatcherEditor(Matcher<E> matcher)
          Get a MatcherEditor that is fixed on the specified Matcher.
 void ListSelection.removeValidSelectionMatcher(Matcher<E> validSelectionMatcher)
          Remove a matcher which decides when source elements are valid for selection.
 void FilterList.setMatcher(Matcher<? super E> matcher)
          Set the Matcher which specifies which elements shall be filtered.
 

Constructors in ca.odell.glazedlists with parameters of type Matcher
FilterList(EventList<E> source, Matcher<? super E> matcher)
          Convenience constructor for creating a FilterList and setting its Matcher.
 

Uses of Matcher in ca.odell.glazedlists.calculation
 

Methods in ca.odell.glazedlists.calculation with parameters of type Matcher
static
<E> Calculation<Integer>
Calculations.count(EventList<E> elements, Matcher<E> matcher)
          A Calculation that reports the number of elements that satisfy the given matcher as an Integer.
 

Uses of Matcher in ca.odell.glazedlists.matchers
 

Methods in ca.odell.glazedlists.matchers that return Matcher
static
<E> Matcher<E>
Matchers.and(Matcher<? super E>... matchers)
          Returns a Matcher which returns a match when all of the given matchers report a match.
static
<E> Matcher<E>
Matchers.beanPropertyMatcher(Class<E> beanClass, String propertyName, Object expectedValue)
          Creates a Matcher that uses Reflection to compare the expectedValue of the specified property of an object to the expectedValue.
static
<E> Matcher<E>
Matchers.falseMatcher()
          Get a Matcher that always returns false, therefore matching nothing..
 Matcher<E> ThreadedMatcherEditor.getMatcher()
          Returns the current Matcher specified by the source MatcherEditor.
 Matcher<E> MatcherEditor.getMatcher()
          Return the current Matcher specified by this MatcherEditor.
 Matcher<E> MatcherEditor.Event.getMatcher()
           
 Matcher<E> AbstractMatcherEditor.getMatcher()
          Return the current Matcher specified by this MatcherEditor.
static
<E> Matcher<E>
Matchers.invert(Matcher<E> original)
          Get a Matcher that returns the opposite of the specified Matcher.
static
<E> Matcher<E>
Matchers.isNotNull()
          Get a Matcher that returns returns true iff it is given a null object.
static
<E> Matcher<E>
Matchers.isNull()
          Get a Matcher that returns returns true iff it is given a non-null object.
static Matcher<String> Matchers.nonNullAndNonEmptyString()
          Get a Matcher that returns true iff it is given a non-null and non-empty String.
static
<E> Matcher<E>
Matchers.or(Matcher<? super E>... matchers)
          Returns a Matcher which returns a match when any of the given matchers reports a match.
static Matcher<PropertyChangeEvent> Matchers.propertyEventNameMatcher(boolean matchPropertyNames, String... propertyNames)
          Create a Matcher that uses the given propertyNames to match PropertyChangeEvents by their property name.
static
<D extends Comparable,E>
Matcher<E>
Matchers.rangeMatcher(D start, D end)
          Creates a Matcher that matches Comparable objects for containment within the range between the given start and end.
static
<D extends Comparable,E>
Matcher<E>
Matchers.rangeMatcher(D start, D end, Filterator<D,E> filterator)
          Creates a Matcher that uses the given filterator to extract Comparable objects from filtered objects and compares those Comparables against the range between the given start and end.
static
<E> Matcher<E>
Matchers.trueMatcher()
          Get a Matcher that always returns true, therefore matching everything.
static
<E> Matcher<E>
Matchers.types(Class... classes)
          Returns a Matcher which reports a match when the given object to match is not null and reports on of the given classes as its type.
 

Methods in ca.odell.glazedlists.matchers with parameters of type Matcher
static
<E> Matcher<E>
Matchers.and(Matcher<? super E>... matchers)
          Returns a Matcher which returns a match when all of the given matchers report a match.
static
<E> boolean
Matchers.contains(Collection<E> collection, Matcher<? super E> matcher)
          Returns true if the given collection contains an element that satisfies the given matcher; false otherise.
static
<E> int
Matchers.count(Collection<E> collection, Matcher<? super E> matcher)
          Iterate through the specified collection and count all elements that match the specified matcher.
protected  MatcherEditor.Event<E> AbstractMatcherEditorListenerSupport.createChangedEvent(Matcher<E> matcher)
          creates a changed event.
protected  MatcherEditor.Event<E> AbstractMatcherEditorListenerSupport.createConstrainedEvent(Matcher<E> matcher)
          creates a constrained event.
protected  MatcherEditor.Event<E> AbstractMatcherEditorListenerSupport.createMatchAllEvent(Matcher<E> matcher)
          creates a match all event.
protected  MatcherEditor.Event<E> AbstractMatcherEditorListenerSupport.createMatchNoneEvent(Matcher<E> matcher)
          creates a match none event.
protected  MatcherEditor.Event<E> AbstractMatcherEditorListenerSupport.createRelaxedEvent(Matcher<E> matcher)
          creates a relaxed event.
static
<E> boolean
Matchers.filter(Collection<E> collection, Matcher<? super E> matcher)
          Iterate through the specified collection and remove all elements that don't match the specified matcher.
protected  void AbstractMatcherEditor.fireChanged(Matcher<E> matcher)
          Indicates that the filter has changed in an indeterminate way.
protected  void AbstractMatcherEditor.fireConstrained(Matcher<E> matcher)
          Indicates that the filter has changed to be more restrictive.
protected  void AbstractMatcherEditor.fireRelaxed(Matcher<E> matcher)
          Indicates that the filter has changed to be less restrictive.
static
<E> int
Matchers.indexOf(List<E> list, Matcher<? super E> matcher)
          Returns the index of the first element from the given list that satisfies the matcher or -1 if no such element exists.
static
<E> Matcher<E>
Matchers.invert(Matcher<E> original)
          Get a Matcher that returns the opposite of the specified Matcher.
static
<E> Matcher<E>
Matchers.or(Matcher<? super E>... matchers)
          Returns a Matcher which returns a match when any of the given matchers reports a match.
static
<E> Collection<? super E>
Matchers.select(Collection<E> collection, Matcher<? super E> matcher)
          Add all elements from the given collection that satisfy the matcher to a new ArrayList.
static
<E> Collection<? super E>
Matchers.select(Collection<E> collection, Matcher<? super E> matcher, Collection<? super E> results)
          Add all elements from the given collection that satisfy the matcher to the given results Collection.
static
<E> E[]
Matchers.select(E[] items, Matcher<? super E> matcher)
          Return a new array containing only the items that satisfy the matcher.
 

Constructors in ca.odell.glazedlists.matchers with parameters of type Matcher
MatcherEditor.Event(FilterList eventSource, int changeType, Matcher<E> matcher)
           
MatcherEditor.Event(MatcherEditor<E> matcherEditor, int changeType, Matcher<E> matcher)
           
 

Uses of Matcher in ca.odell.glazedlists.swing
 

Methods in ca.odell.glazedlists.swing with parameters of type Matcher
 void EventSelectionModel.addValidSelectionMatcher(Matcher<E> validSelectionMatcher)
          Deprecated. Add a matcher which decides when source elements are valid for selection.
 void DefaultEventSelectionModel.addValidSelectionMatcher(Matcher<E> validSelectionMatcher)
          Add a matcher which decides when source elements are valid for selection.
 void AdvancedListSelectionModel.addValidSelectionMatcher(Matcher<E> validSelectionMatcher)
          Add a matcher which decides when source elements are valid for selection.
 void EventSelectionModel.removeValidSelectionMatcher(Matcher<E> validSelectionMatcher)
          Deprecated. Remove a matcher which decides when source elements are valid for selection.
 void DefaultEventSelectionModel.removeValidSelectionMatcher(Matcher<E> validSelectionMatcher)
          Remove a matcher which decides when source elements are valid for selection.
 void AdvancedListSelectionModel.removeValidSelectionMatcher(Matcher<E> validSelectionMatcher)
          Remove a matcher which decides when source elements are valid for selection.
 



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