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