|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.palo.api.subsets.filter.settings.AbstractFilterSettings
org.palo.api.subsets.filter.settings.TextFilterSetting
public class TextFilterSetting
TextFilterSetting
Manages the settings for the TextFilter
.
Constructor Summary | |
---|---|
TextFilterSetting()
Creates a new TextFilterSetting instance. |
Method Summary | |
---|---|
void |
adapt(FilterSetting from)
Adapt the filter setting from the given filter setting. |
void |
addExpression(java.lang.String expr)
Adds the given expression to the list of all expressions used for textual filter |
void |
bind(Subset2 subset)
Binds this filter settings instance to the given Subset2
NOTE: PLEASE DON'T USE! |
ObjectParameter |
getExpressions()
Returns the expression parameter which contains all added expressions. |
BooleanParameter |
getExtended()
Checks if the expressions should be handled as regular expressions. |
void |
removeExpression(java.lang.String expr)
Removes the given expression from the list of all expression used for textual filter |
void |
reset()
Resets the filter setting to its defaults. |
void |
setExpressions(ObjectParameter expressions)
Sets the new expression parameter. |
void |
setExtended(boolean extended)
Determines if the expressions should be handled as regular expressions. |
void |
setExtended(BooleanParameter extended)
Sets the extended flag. |
void |
unbind()
Releases this filter settings instance from a previously binded Subset2
NOTE: PLEASE DON'T USE! |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextFilterSetting()
TextFilterSetting
instance.
Method Detail |
---|
public final void addExpression(java.lang.String expr)
expr
- the expression to addpublic final void removeExpression(java.lang.String expr)
expr
- the expression to removepublic final void setExpressions(ObjectParameter expressions)
HashSet
, otherwise calling this method has no effect.
The HashSet
should contain the String
expressions to use for filtering.
expressions
- the expression parameterpublic final ObjectParameter getExpressions()
public final BooleanParameter getExtended()
true
if the expressions should be handled as
regulars expressions, false
otherwisepublic final void setExtended(boolean extended)
extended
- specify true
if the expressions should be
handled as regular expressions, false
otherwisepublic final void setExtended(BooleanParameter extended)
extended
- the new BooleanParameter
to use for the
extended flagpublic final void reset()
FilterSetting
public final void adapt(FilterSetting from)
FilterSetting
from
- the filter setting to adapt frompublic final void bind(Subset2 subset)
FilterSetting
Binds this filter settings instance to the given Subset2
bind
in interface FilterSetting
bind
in class AbstractFilterSettings
public final void unbind()
FilterSetting
Releases this filter settings instance from a previously binded
Subset2
unbind
in interface FilterSetting
unbind
in class AbstractFilterSettings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |