Package com.jidesoft.swing
Interface SearchableProvider
-
- All Known Implementing Classes:
SearchableBar
public interface SearchableProviderSearchableProvideris an interface that works withSearchableto provide different way to supply the searching text.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetSearchingText()Gets the searching text.booleanisPassive()Returns true if the SearchableProvider doesn't accept keyboard input directly.voidprocessKeyEvent(java.awt.event.KeyEvent e)
-
-
-
Method Detail
-
getSearchingText
java.lang.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
void processKeyEvent(java.awt.event.KeyEvent e)
-
-