Class AbstractFilter

    • Field Detail

      • columnName

        protected java.lang.String columnName
        The column name in which to find the date.
      • iconPath

        protected java.lang.String iconPath
        The path to the icon to be displayed. Can be null.
      • icon

        protected PathIcon icon
        The icon for this node itself
      • datasetInspected

        protected boolean datasetInspected
        Transient flag for validation attempted
      • columnIndex

        protected int columnIndex
        Transient column index number
      • isReverseSort

        protected boolean isReverseSort
    • Constructor Detail

      • AbstractFilter

        public AbstractFilter()
    • Method Detail

      • getColumnName

        public java.lang.String getColumnName()
        Description copied from interface: Filter
        Returns the name of the column that this filter looks at
        Specified by:
        getColumnName in interface Filter
      • setColumnName

        public void setColumnName​(java.lang.String columnName)
        Description copied from interface: Filter
        Sets the column that the filter looks at
        Specified by:
        setColumnName in interface Filter
      • classify

        public java.lang.Comparable classify​(Dataset data,
                                             int row)
        Description copied from interface: Filter
        Returns a classification key for the given row in the dataset. If the row can't be classified for some reason, like the classification column not exsiting, null should be returned.
        Specified by:
        classify in interface Filter
      • invalidateCache

        public void invalidateCache()
        Description copied from interface: Filter
        Called when the dataset being passed to classify has changed. This is used for Filters who do some work up front on the DataSet the first time classify is called, such as calculating the column index that they are working on.
        Specified by:
        invalidateCache in interface Filter
      • classifyObject

        public abstract java.lang.Comparable classifyObject​(java.lang.Object obj)
      • getIconPath

        public java.lang.String getIconPath()
        Specified by:
        getIconPath in interface Filter
      • setIconPath

        public void setIconPath​(java.lang.String iconPath)
        Specified by:
        setIconPath in interface Filter
      • isReverseSort

        public boolean isReverseSort()
        Specified by:
        isReverseSort in interface Filter
      • setReverseSort

        public void setReverseSort​(boolean isReverseSort)
        Specified by:
        setReverseSort in interface Filter
      • setIsReverseSort

        public void setIsReverseSort​(boolean isReverseSort)
        This was the old method signature that caused IGN-1897. Leaving it here on the off chance somebody was calling this method from scripting.