|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sciapp.filter.VisualFilter
com.sciapp.filter.StringVisualFilter
public class StringVisualFilter
A VisualFilter for String values.
| Field Summary | |
|---|---|
protected JCheckBox |
caseSensitive
a checkbox used to denote case(in)sensitivity. |
protected JTextField |
expression
a textfield used to input the string expression. |
protected JComboBox |
fieldBoxOptions
a combobox containing the filter options. |
protected JLabel |
filterLabel
the label between the filter options combo box and the expression |
protected StringFilter |
stringFilter
a string filter object used to filter Strings. |
| Fields inherited from class com.sciapp.filter.VisualFilter |
|---|
anyKey, filterModel |
| Constructor Summary | |
|---|---|
StringVisualFilter()
Constructs a StringVisualFilter. |
|
| Method Summary | |
|---|---|
Filter |
getFilter()
Returns the filter object that this component uses to filter the values. |
JPanel |
getPanel()
Returns the panel containing the controls used to manipulate the filter. |
TableFilter |
getTableFilter()
Returns a table filter object corresponding to the visual controls of the filter. |
void |
setTableFilter(TableFilter tf)
This method should modify the visual control's values to those corresponding to the supplied TableFilter object. |
boolean |
shouldApplyFilter()
Returns true if the current filter should be applied, false otherwise. |
| Methods inherited from class com.sciapp.filter.VisualFilter |
|---|
fireFilter, getFilterModel, getFilterOnKey, setFilterOnKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JCheckBox caseSensitive
protected JComboBox fieldBoxOptions
protected StringFilter stringFilter
protected JTextField expression
protected JLabel filterLabel
| Constructor Detail |
|---|
public StringVisualFilter()
| Method Detail |
|---|
public Filter getFilter()
getFilter in class VisualFilterpublic JPanel getPanel()
getPanel in class VisualFilterpublic TableFilter getTableFilter()
getTableFilter in class VisualFilterpublic void setTableFilter(TableFilter tf)
setTableFilter in class VisualFiltertf - the TableFilter to set.public boolean shouldApplyFilter()
shouldApplyFilter in class VisualFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||