Class 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.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.RowFilter

        javax.swing.RowFilter.ComparisonType, javax.swing.RowFilter.Entry<M extends java.lang.Object,​I extends java.lang.Object>
    • 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)  
      • 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
    • Field Detail

      • columns

        private int[] columns
    • Constructor Detail

      • GeneralFilter

        protected GeneralFilter​(int... columns)
    • Method Detail

      • include

        public boolean include​(javax.swing.RowFilter.Entry<? extends java.lang.Object,​? extends java.lang.Object> value)
        Specified by:
        include in class javax.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.