M - specific subclass of AbstractTableModel implementing the interfacepublic static class HealthMonitorGui.RowFilterByMonitorType<M extends HealthMonitorGui.MonitoredStationGettingModel>
extends javax.swing.RowFilter<M,java.lang.Integer>
MonitoredStationList| Constructor and Description |
|---|
RowFilterByMonitorType(MonitorType... matchingType)
Create a RowFilter that only passes
MonitoredStations of one of the specified types |
| Modifier and Type | Method and Description |
|---|---|
boolean |
include(javax.swing.RowFilter.Entry<? extends M,? extends java.lang.Integer> entry)
Returns true if the specified entry should be shown;
returns false if the entry should be hidden.
|
public RowFilterByMonitorType(MonitorType... matchingType)
MonitoredStations of one of the specified typesmatchingType - one or more values of the MonitorType enum that a MonitoredStation must matchpublic boolean include(javax.swing.RowFilter.Entry<? extends M,? 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<M extends HealthMonitorGui.MonitoredStationGettingModel,java.lang.Integer>entry - a non-null object that wraps the underlying
object from the model