com.anthonyeden.lib.util
Class ListMatchFilter

java.lang.Object
  extended byjavax.swing.AbstractListModel
      extended bycom.anthonyeden.lib.util.ListMap
          extended bycom.anthonyeden.lib.util.ListFilter
              extended bycom.anthonyeden.lib.util.ListMatchFilter
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ListDataListener, javax.swing.ListModel, java.io.Serializable

public class ListMatchFilter
extends ListFilter

Implementation of the ListFilter abstract class which filters out exact matches.

Author:
Anthony Eden
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.anthonyeden.lib.util.ListFilter
indexes, tempIndexes, values
 
Fields inherited from class com.anthonyeden.lib.util.ListMap
model
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
ListMatchFilter()
          Construct a ListMatchFilter with no ListModel.
ListMatchFilter(javax.swing.ListModel model)
          Construct a ListMatchFilter for the given model.
 
Method Summary
 void filter()
          Filter the list.
 
Methods inherited from class com.anthonyeden.lib.util.ListFilter
contentsChanged, filter, filter, filter, getElementAt, getSize, getValues, intervalAdded, intervalRemoved, setListModel
 
Methods inherited from class com.anthonyeden.lib.util.ListMap
getModel, setModel
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListMatchFilter

public ListMatchFilter()
Construct a ListMatchFilter with no ListModel.


ListMatchFilter

public ListMatchFilter(javax.swing.ListModel model)
Construct a ListMatchFilter for the given model.

Parameters:
model - The ListModel
Method Detail

filter

public void filter()
Filter the list.

Specified by:
filter in class ListFilter


Copyright (c) 2000-2003 Anthony Eden. All Rights Reserved.