Package org.ka2ddo.yaac.gui
Class HealthMonitorGui.RowFilterByMonitorType<M extends HealthMonitorGui.MonitoredStationGettingModel>
java.lang.Object
javax.swing.RowFilter<M,Integer>
org.ka2ddo.yaac.gui.HealthMonitorGui.RowFilterByMonitorType<M>
- Type Parameters:
M
- specific subclass of AbstractTableModel implementing the interface
- Enclosing class:
- HealthMonitorGui
public static class HealthMonitorGui.RowFilterByMonitorType<M extends HealthMonitorGui.MonitoredStationGettingModel>
extends RowFilter<M,Integer>
Generic table RowFilter used to allow only stations matching a particular
functional category to be visible in the JTable, even though all types
exist in the underlying MonitoredStationList.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.RowFilter
RowFilter.ComparisonType, RowFilter.Entry<M extends Object,
I extends Object> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
include
(RowFilter.Entry<? extends M, ? extends 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
-
Constructor Details
-
RowFilterByMonitorType
-
-
Method Details
-
include
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. Usingentry
after the call returns results in undefined behavior.- Specified by:
include
in classRowFilter<M extends HealthMonitorGui.MonitoredStationGettingModel,
Integer> - Parameters:
entry
- a non-null
object that wraps the underlying object from the model- Returns:
- true if the entry should be shown
-