|
JIDE 3.3.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.filter.AbstractFilter<T>
com.jidesoft.grid.AbstractFilter<T>
com.jidesoft.grid.AbstractTableFilter<T>
com.jidesoft.grid.SingleValueFilter<T>
public class SingleValueFilter<T>
A Filter that uses filters away all values except the specified value.
| Field Summary |
|---|
| Fields inherited from interface com.jidesoft.filter.Filter |
|---|
ALL, CUSTOM, NULL |
| Constructor Summary | |
|---|---|
SingleValueFilter(String name,
T value)
Creates SingleValueFilter. |
|
SingleValueFilter(T value)
Creates SingleValueFilter. |
|
| Method Summary | |
|---|---|
String |
getName()
Gets the name of the filter. |
ObjectGrouper |
getObjectGrouper()
|
String |
getOperator()
|
T |
getValue()
Gets the only allowed value. |
boolean |
isValueFiltered(T value)
Checks if the value is allowed. |
void |
setObjectGrouper(ObjectGrouper objectGrouper)
|
void |
setValue(T value)
Sets the only allowed value. |
boolean |
stricterThan(Filter inputFilter)
Check if this filter is stricter than the input filter while the two filters are with the same class. |
| Methods inherited from class com.jidesoft.grid.AbstractTableFilter |
|---|
getColumnIndex, getRowIndex, setColumnIndex, setRowIndex |
| Methods inherited from class com.jidesoft.filter.AbstractFilter |
|---|
addFilterListener, clone, fireFilterChanged, fireFilterContentChanged, fireFilterDisabled, fireFilterEnabled, fireFilterNameChanged, getConditionString, getFilterFactory, getFilterFactoryName, getFilterListeners, isEnabled, removeFilterListener, setEnabled, setFilterFactory, setFilterFactoryName, setName |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jidesoft.filter.Filter |
|---|
addFilterListener, clone, getFilterFactory, getFilterFactoryName, isEnabled, removeFilterListener, setEnabled, setFilterFactory, setFilterFactoryName, setName |
| Constructor Detail |
|---|
public SingleValueFilter(T value)
value - the value that will not be filtered
public SingleValueFilter(String name,
T value)
name - name of the filtervalue - the value that will not be filtered| Method Detail |
|---|
public boolean isValueFiltered(T value)
isValueFiltered in interface Filter<T>value - the value to check.
public ObjectGrouper getObjectGrouper()
public void setObjectGrouper(ObjectGrouper objectGrouper)
public T getValue()
public void setValue(T value)
value - the value.public String getName()
Filter
getName in interface Filter<T>getName in class AbstractFilter<T>public boolean stricterThan(Filter inputFilter)
stricterThan in interface Filter<T>stricterThan in class AbstractFilter<T>inputFilter - the input filter
public String getOperator()
getOperator in interface SqlFilterSupport
|
JIDE 3.3.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||