public class MessageRowFilter extends javax.swing.RowFilter<MessageModel,java.lang.Integer> implements FastRowFilter<MessageModel>
Constructor and Description |
---|
MessageRowFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
include(MessageModel model,
int index)
Returns true if the specified entry should be shown;
returns false if the entry should be hidden.
|
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.
|
public boolean include(javax.swing.RowFilter.Entry<? extends MessageModel,? extends java.lang.Integer> entry)
The entry
argument is valid only for the duration of
the invocation. Using entry
after the call returns
results in undefined behavior.
include
in class javax.swing.RowFilter<MessageModel,java.lang.Integer>
entry
- a non-null
object that wraps the underlying
object from the modelpublic boolean include(MessageModel model, int index)
include
in interface FastRowFilter<MessageModel>
model
- the model object containing all the data to be filteredindex
- the int index into the model specifying which record should be tested