public class SearchQueryBinding extends DynamicQueryBinding
SearchTupleSet class from the
prefuse.data.search package can be used to control the type of
search index used.SearchTupleSetm_field, m_query, m_tuples| Constructor and Description |
|---|
SearchQueryBinding(TupleSet ts,
java.lang.String field)
Create a new SearchQueryBinding over the given set and data field.
|
SearchQueryBinding(TupleSet ts,
java.lang.String field,
SearchTupleSet set)
Create a new SearchQueryBinding over the given set and data field,
using the specified SearchTupleSet instance.
|
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
createComponent()
Create a new search text panel for searching over the data.
|
JSearchPanel |
createSearchPanel()
Create a new search text panel for searching over the data.
|
JSearchPanel |
createSearchPanel(boolean monitorKeystrokes)
Create a new search text panel for searching over the data.
|
SearchTupleSet |
getSearchSet()
Return the SearchTupleSet used for conducting searches.
|
getPredicate, setPredicatepublic SearchQueryBinding(TupleSet ts, java.lang.String field)
ts - the TupleSet to queryfield - the data field (Table column) to querypublic SearchQueryBinding(TupleSet ts, java.lang.String field, SearchTupleSet set)
ts - the TupleSet to queryfield - the data field (Table column) to queryset - the SearchTupleSet to use.public SearchTupleSet getSearchSet()
SearchTupleSet used by this
dynamic query binding.public javax.swing.JComponent createComponent()
createComponent in class DynamicQueryBindingJSearchPanel bound to this
dynamic query.DynamicQueryBinding.createComponent()public JSearchPanel createSearchPanel()
JSearchPanel bound to this
dynamic query.public JSearchPanel createSearchPanel(boolean monitorKeystrokes)
monitorKeystrokes - if true, each keystroke will cause the
search to be re-run (this is the default for prefix searches);
if false, searches will only re-run when the enter key is typed
(this is the default for the other search engine types).JSearchPanel bound to this
dynamic query.