public class CaptionStringFilter extends Object implements Container.Filter
Constructor and Description |
---|
CaptionStringFilter(Object propertyId,
String filterString,
boolean ignoreCase,
boolean onlyMatchPrefix,
String itemCaptionValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesToProperty(Object propertyId) |
boolean |
equals(Object obj) |
String |
getFilterString()
Returns the filter string.
|
Object |
getPropertyId()
Returns the property identifier to which this filter applies.
|
int |
hashCode() |
boolean |
isIgnoreCase()
Returns whether the filter is case-insensitive or case-sensitive.
|
boolean |
isOnlyMatchPrefix()
Returns true if the filter only applies to the beginning of the value
string, false for any location in the value.
|
boolean |
passesFilter(Object itemId,
Item item) |
public boolean passesFilter(Object itemId, Item item)
passesFilter
in interface Container.Filter
public boolean appliesToProperty(Object propertyId)
appliesToProperty
in interface Container.Filter
public Object getPropertyId()
public String getFilterString()
public boolean isIgnoreCase()
public boolean isOnlyMatchPrefix()