-
public interface ItemFilter
A filter interface that is to be used to support filtering in SelectableItemLists.- Since:
- 2.7
- Author:
- René Mach
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
accept(java.lang.Object o)
Gets if the filter accepts the given Object.default void
setChangeListener(javax.swing.event.ChangeListener listener)
-
-
-
Method Detail
-
accept
boolean accept(java.lang.Object o)
Gets if the filter accepts the given Object.- Parameters:
o
- The Object to check.- Returns:
True
if the filter accepts the Object,false
otherwise.
-
setChangeListener
default void setChangeListener(javax.swing.event.ChangeListener listener)
- Parameters:
listener
- The change listener to set for the component that should trigger updates.- Since:
- 4.2.2
-
-