Package com.jidesoft.swing
Interface SearchableProvider
- All Known Implementing Classes:
SearchableBar
public interface SearchableProvider
SearchableProvider
is an interface that works with Searchable
to provide
different way to supply the searching text.-
Method Summary
Modifier and TypeMethodDescriptionGets the searching text.boolean
Returns true if the SearchableProvider doesn't accept keyboard input directly.void
-
Method Details
-
getSearchingText
String getSearchingText()Gets the searching text.- Returns:
- the searching text.
-
isPassive
boolean isPassive()Returns true if the SearchableProvider doesn't accept keyboard input directly. In this case, the Searchable component (such as JTextComponent, JTable, JList or JComboBox) will accept the keys so it returns true. However in SearchableBar case, the text field on SearchableBar will accept the keys so it returns false.- Returns:
- true or false.
-
processKeyEvent
-