com.jidesoft.swing.SearchableProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jide-oss Show documentation
Show all versions of jide-oss Show documentation
JIDE Common Layer (Professional Swing Components)
/*
* @(#)SearchableProvider.java 10/11/2005
*
* Copyright 2002 - 2005 JIDE Software Inc. All rights reserved.
*/
package com.jidesoft.swing;
import java.awt.event.KeyEvent;
/**
* SearchableProvider
is an interface that works with {@link Searchable} to provide
* different way to supply the searching text.
*/
public interface SearchableProvider {
/**
* Gets the searching text.
*
* @return the searching text.
*/
String getSearchingText();
/**
* 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.
*
* @return true or false.
*/
boolean isPassive();
void processKeyEvent(KeyEvent e);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy