|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FilterConfig
Filter config object for GridFilters
| Method Summary | |
|---|---|
java.lang.String |
getComparison()
Returns the comparison value. |
java.lang.String |
getField()
Returns the model property name. |
java.lang.String |
getType()
|
java.lang.Object |
getValue()
Returns the filter value. |
boolean |
isFiltered(ModelData model,
java.lang.Object test,
java.lang.String compariosn,
java.lang.Object value)
Determines if the model will be filtered by the given filter. |
void |
setComparison(java.lang.String comparison)
Sets the comparison value. |
void |
setField(java.lang.String field)
Sets the model property name the filter is bound to. |
void |
setType(java.lang.String type)
Sets the type of filter ('string', 'numeric', 'date', 'boolean', 'list'). |
void |
setValue(java.lang.Object value)
Sets the value. |
| Method Detail |
|---|
java.lang.String getComparison()
java.lang.String getField()
java.lang.String getType()
java.lang.Object getValue()
boolean isFiltered(ModelData model,
java.lang.Object test,
java.lang.String compariosn,
java.lang.Object value)
model - the modeltest - the filter config valuevalue -
void setComparison(java.lang.String comparison)
comparison - the comparisonvoid setField(java.lang.String field)
field - the property namevoid setType(java.lang.String type)
type - the filter typevoid setValue(java.lang.Object value)
value - the value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||