public class ListQueryBinding extends DynamicQueryBinding
m_field, m_query, m_tuples
Constructor and Description |
---|
ListQueryBinding(TupleSet ts,
java.lang.String field)
Create a new ListQueryBinding over the given set and data field.
|
ListQueryBinding(TupleSet ts,
java.lang.String field,
boolean includeAllOption)
Create a new ListQueryBinding over the given set and data field.
|
Modifier and Type | Method and Description |
---|---|
JToggleGroup |
createCheckboxGroup()
Creates a new group of check boxes for interacting with the query.
|
javax.swing.JComboBox |
createComboBox()
Create a new drop-down combo box for interacting with the query.
|
javax.swing.JComponent |
createComponent()
Creates a new group of check boxes for interacting with the query.
|
javax.swing.JList |
createList()
Create a new interactive list for interacting with the query.
|
JToggleGroup |
createRadioGroup()
Creates a new group of radio buttons for interacting with the query.
|
ListModel |
getListModel()
Returns a list model for creating custom dynamic query widgets.
|
getPredicate, setPredicate
public ListQueryBinding(TupleSet ts, java.lang.String field)
ts
- the TupleSet to queryfield
- the data field (Table column) to querypublic ListQueryBinding(TupleSet ts, java.lang.String field, boolean includeAllOption)
ts
- the TupleSet to queryfield
- the data field (Table column) to queryincludeAllOption
- indicates if the dynamic queries should
include an "All" option for including all data valuespublic ListModel getListModel()
public javax.swing.JComponent createComponent()
createComponent
in class DynamicQueryBinding
JToggleGroup
of check boxes bound to
this dynamic query.DynamicQueryBinding.createComponent()
public javax.swing.JList createList()
JList
bound to this dynamic query.public javax.swing.JComboBox createComboBox()
JComboBox
bound to this dynamic query.public JToggleGroup createCheckboxGroup()
JToggleGroup
of check boxes bound to
this dynamic query.public JToggleGroup createRadioGroup()
JToggleGroup
of radio buttons bound to
this dynamic query.Copyright ? 2013 Regents of the University of California