Package com.tagtraum.beatunes.filter
Class SubstringRowFilter
- java.lang.Object
-
- javax.swing.RowFilter<AbstractSongTableModel,Integer>
-
- com.tagtraum.beatunes.filter.SubstringRowFilter
-
public class SubstringRowFilter extends RowFilter<AbstractSongTableModel,Integer>
Immutable substring filter suitable for bothTableModelSorter
andPlayListSorter
.- Author:
- Hendrik Schreiber
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.RowFilter
RowFilter.ComparisonType, RowFilter.Entry<M extends Object,I extends Object>
-
-
Constructor Summary
Constructors Constructor Description SubstringRowFilter(PlayList.SubstringFilterProperty substringFilterProperty, String substring)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getSubstring()
PlayList.SubstringFilterProperty
getSubstringFilterProperty()
int
hashCode()
boolean
include(RowFilter.Entry<? extends AbstractSongTableModel,? extends Integer> entry)
protected boolean
match(AudioSong object)
String
toString()
-
Methods inherited from class javax.swing.RowFilter
andFilter, dateFilter, notFilter, numberFilter, orFilter, regexFilter
-
-
-
-
Constructor Detail
-
SubstringRowFilter
public SubstringRowFilter(PlayList.SubstringFilterProperty substringFilterProperty, String substring)
-
-
Method Detail
-
getSubstring
public String getSubstring()
-
getSubstringFilterProperty
public PlayList.SubstringFilterProperty getSubstringFilterProperty()
-
include
public boolean include(RowFilter.Entry<? extends AbstractSongTableModel,? extends Integer> entry)
- Specified by:
include
in classRowFilter<AbstractSongTableModel,Integer>
-
match
protected boolean match(AudioSong object)
-
-