Package org.jdesktop.swingx.sort
Class RowFilters.GeneralFilter
- java.lang.Object
-
- javax.swing.RowFilter<java.lang.Object,java.lang.Object>
-
- org.jdesktop.swingx.sort.RowFilters.GeneralFilter
-
- Direct Known Subclasses:
RowFilters.RegexFilter
- Enclosing class:
- RowFilters
public abstract static class RowFilters.GeneralFilter extends javax.swing.RowFilter<java.lang.Object,java.lang.Object>
C&P from core Swing to allow subclassing.
-
-
Field Summary
Fields Modifier and Type Field Description private int[]
columns
-
Constructor Summary
Constructors Modifier Constructor Description protected
GeneralFilter(int... columns)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
checkIndices(int[] columns)
Throws an IllegalArgumentException if any of the values in columns are < 0.boolean
include(javax.swing.RowFilter.Entry<? extends java.lang.Object,? extends java.lang.Object> value)
protected abstract boolean
include(javax.swing.RowFilter.Entry<? extends java.lang.Object,? extends java.lang.Object> value, int index)
-
-
-
Method Detail
-
include
public boolean include(javax.swing.RowFilter.Entry<? extends java.lang.Object,? extends java.lang.Object> value)
- Specified by:
include
in classjavax.swing.RowFilter<java.lang.Object,java.lang.Object>
-
include
protected abstract boolean include(javax.swing.RowFilter.Entry<? extends java.lang.Object,? extends java.lang.Object> value, int index)
-
checkIndices
protected void checkIndices(int[] columns)
Throws an IllegalArgumentException if any of the values in columns are < 0.
-
-