|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.filter.VisualFilter
com.citra.filter.BooleanVisualFilter
public class BooleanVisualFilter
A VisualFilter for Boolean values.
Field Summary | |
---|---|
protected BooleanFilter |
booleanFilter
a boolean filter object used to filter Boolean values. |
protected JComboBox |
fieldBoxOptions
a combobox containing the filter options. |
Fields inherited from class com.citra.filter.VisualFilter |
---|
anyKey, filterModel |
Constructor Summary | |
---|---|
BooleanVisualFilter()
Constructs a BooleanVisualFilter. |
Method Summary | |
---|---|
JComboBox |
getFieldBoxOptions()
Returns a combobox containing the filter options. |
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 |
setFilter(Filter filter)
Assigns a filter object that this component uses to filter the values. |
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.citra.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 JComboBox fieldBoxOptions
protected BooleanFilter booleanFilter
Constructor Detail |
---|
public BooleanVisualFilter()
Method Detail |
---|
public JComboBox getFieldBoxOptions()
public Filter getFilter()
getFilter
in class VisualFilter
public JPanel getPanel()
getPanel
in class VisualFilter
public TableFilter getTableFilter()
getTableFilter
in class VisualFilter
public void setTableFilter(TableFilter tf)
setTableFilter
in class VisualFilter
tf
- the TableFilter to set.public boolean shouldApplyFilter()
shouldApplyFilter
in class VisualFilter
public void setFilter(Filter filter)
setFilter
in class VisualFilter
filter
- the filter to assign
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |