org.ka2ddo.yaac.gui
Class MessageRowFilter

java.lang.Object
  extended by javax.swing.RowFilter<MessageModel,java.lang.Integer>
      extended by org.ka2ddo.yaac.gui.MessageRowFilter

public class MessageRowFilter
extends javax.swing.RowFilter<MessageModel,java.lang.Integer>

This class provides the filtering of raw SnifferTableModel data based on the current settings of the filters.


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.RowFilter
javax.swing.RowFilter.ComparisonType, javax.swing.RowFilter.Entry<M,I>
 
Constructor Summary
MessageRowFilter()
           
 
Method Summary
 boolean include(javax.swing.RowFilter.Entry<? extends MessageModel,? extends java.lang.Integer> entry)
          Returns true if the specified entry should be shown; returns false if the entry should be hidden.
 
Methods inherited from class javax.swing.RowFilter
andFilter, dateFilter, notFilter, numberFilter, orFilter, regexFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageRowFilter

public MessageRowFilter()
Method Detail

include

public boolean include(javax.swing.RowFilter.Entry<? extends MessageModel,? extends java.lang.Integer> entry)
Returns true if the specified entry should be shown; returns false if the entry should be hidden.

The entry argument is valid only for the duration of the invocation. Using entry after the call returns results in undefined behavior.

Specified by:
include in class javax.swing.RowFilter<MessageModel,java.lang.Integer>
Parameters:
entry - a non-null object that wraps the underlying object from the model
Returns:
true if the entry should be shown