|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.dataselectors.filters.DefaultFilterableItem
@SASScope(value="ALL") 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 item
public 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 item
public 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 expression
public 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 model
public DefaultFilterableItem(java.lang.Object filterableItem,
AdvancedFilterModelInterface filterModel)
filterableItem - the filterable item in the native modelfilterModel - the filter model for the filterable item| Method Detail |
|---|
public java.lang.String getLabel()
getLabel in interface FilterableItemInterfaceFilterableItemInterface.getLabel()public void setLabel(java.lang.String value)
value - the new labelpublic java.lang.String getDescription()
getDescription in interface FilterableItemInterfaceFilterableItemInterface.getDescription()public void setDescription(java.lang.String value)
value - the new descriptionpublic java.lang.String getExpressionText()
getExpressionText in interface FilterableItemInterfaceFilterableItemInterface.getDescription()public void setExpressionText(java.lang.String value)
value - the new expression textpublic AdvancedFilterModelInterface getFilterModel()
getFilterModel in interface FilterableItemInterfaceFilterableItemInterface.getFilterModel()public void setFilterModel(AdvancedFilterModelInterface model)
model - the new filter model for this itempublic java.lang.Object getFilterableItem()
getFilterableItem in interface FilterableItemInterfaceFilterableItemInterface.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 | |||||||||||||