|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprefuse.data.query.DynamicQueryBinding
prefuse.data.query.SearchQueryBinding
public class SearchQueryBinding
DynamicQueryBinding supporting text search over data values. Implementations
of the SearchTupleSet class from the
prefuse.data.search package can be used to control the type of
search index used.
SearchTupleSet| Field Summary |
|---|
| Fields inherited from class prefuse.data.query.DynamicQueryBinding |
|---|
m_field, m_query, m_tuples |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class prefuse.data.query.DynamicQueryBinding |
|---|
getPredicate, setPredicate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchQueryBinding(TupleSet ts,
java.lang.String field)
ts - the TupleSet to queryfield - the data field (Table column) to query
public 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.| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||