|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.filters.DefaultFilterableItem
public class DefaultFilterableItem
The default implementation of the FilterableItemInterface simply acts as a container for several key pieces of data.
Field Summary | |
---|---|
protected java.lang.String |
_description
An optional description for this filterable item. |
protected java.lang.String |
_exprText
The text representation of the expression defined by the filter given by the filter model. |
protected AdvancedFilterModelInterface |
_filterModel
The filter model associated with this filterable item. |
protected java.lang.Object |
_item
The actual filterable item in its native form. |
protected java.lang.String |
_label
The label for this filterable item. |
Constructor Summary | |
---|---|
DefaultFilterableItem()
Constructs an empty DefaultFilterableItem. |
|
DefaultFilterableItem(java.lang.Object filterableItem)
Constructs a new filter item with the specified properties. |
|
DefaultFilterableItem(java.lang.Object filterableItem,
AdvancedFilterModelInterface filterModel)
Constructs a new filter item with the specified properties. |
|
DefaultFilterableItem(java.lang.String label,
java.lang.String description)
Constructs a new filter item with the specified properties. |
|
DefaultFilterableItem(java.lang.String label,
java.lang.String description,
java.lang.Object filterableItem,
AdvancedFilterModelInterface filterModel)
Constructs a new filter item with the specified properties. |
|
DefaultFilterableItem(java.lang.String label,
java.lang.String description,
java.lang.String expressionText)
Constructs a new filter item with the specified properties. |
|
DefaultFilterableItem(java.lang.String label,
java.lang.String description,
java.lang.String expressionText,
java.lang.Object filterableItem,
AdvancedFilterModelInterface filterModel)
Constructs a new filter item with the specified properties. |
Method Summary | |
---|---|
void |
clearFilter()
Clears the filter on this item's filter model. |
java.lang.String |
getDescription()
Returns the description for this filterable item. |
java.lang.String |
getExpressionText()
Returns the text representation of the expression for the filter. |
java.lang.Object |
getFilterableItem()
Returns the filterable native model object for this item. |
AdvancedFilterModelInterface |
getFilterModel()
Returns the filter model for this filterable item. |
java.lang.String |
getLabel()
Returns the label for this filterable item. |
void |
setDescription(java.lang.String value)
Sets the description for this item. |
void |
setExpressionText(java.lang.String value)
Sets the text representation of the expression for the filter for this item. |
void |
setFilterableItem(java.lang.Object value)
Sets the filterable native model object for this item. |
void |
setFilterModel(AdvancedFilterModelInterface model)
Sets the filter model for this filterable item. |
void |
setLabel(java.lang.String value)
Sets the label for this item. |
Field Detail |
---|
protected java.lang.String _label
protected java.lang.String _description
protected AdvancedFilterModelInterface _filterModel
protected java.lang.Object _item
protected java.lang.String _exprText
Constructor Detail |
---|
public DefaultFilterableItem()
public DefaultFilterableItem(java.lang.String label, java.lang.String description, java.lang.String expressionText, java.lang.Object filterableItem, AdvancedFilterModelInterface filterModel)
label
- the label for the itemdescription
- the description for the itemexpressionText
- the text representation of the native filter expressionfilterableItem
- the filterable item in the native modelfilterModel
- the filter model for the filterable itempublic DefaultFilterableItem(java.lang.String label, java.lang.String description, java.lang.Object filterableItem, AdvancedFilterModelInterface filterModel)
label
- the label for the itemdescription
- the description for the itemfilterableItem
- the filterable item in the native modelfilterModel
- the filter model for the filterable itempublic DefaultFilterableItem(java.lang.String label, java.lang.String description, java.lang.String expressionText)
label
- the label for the itemdescription
- the description for the itemexpressionText
- the text representation of the native filter expressionpublic DefaultFilterableItem(java.lang.String label, java.lang.String description)
label
- the label for the itemdescription
- the description for the itempublic DefaultFilterableItem(java.lang.Object filterableItem)
filterableItem
- the filterable item in the native modelpublic DefaultFilterableItem(java.lang.Object filterableItem, AdvancedFilterModelInterface filterModel)
filterableItem
- the filterable item in the native modelfilterModel
- the filter model for the filterable itemMethod Detail |
---|
public java.lang.String getLabel()
getLabel
in interface FilterableItemInterface
FilterableItemInterface.getLabel()
public void setLabel(java.lang.String value)
value
- the new labelpublic java.lang.String getDescription()
getDescription
in interface FilterableItemInterface
FilterableItemInterface.getDescription()
public void setDescription(java.lang.String value)
value
- the new descriptionpublic java.lang.String getExpressionText()
getExpressionText
in interface FilterableItemInterface
FilterableItemInterface.getDescription()
public void setExpressionText(java.lang.String value)
value
- the new expression textpublic AdvancedFilterModelInterface getFilterModel()
getFilterModel
in interface FilterableItemInterface
FilterableItemInterface.getFilterModel()
public void setFilterModel(AdvancedFilterModelInterface model)
model
- the new filter model for this itempublic java.lang.Object getFilterableItem()
getFilterableItem
in interface FilterableItemInterface
FilterableItemInterface.getFilterableItem()
public void setFilterableItem(java.lang.Object value)
value
- the native model object for this itempublic void clearFilter()
clearFilter
in interface FilterableItemInterface
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |