public class Filter
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Filter(java.lang.String id,
java.lang.String label,
java.lang.String callback)
Constructs an instance of the Filter.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCallback()
Retrieves the javascript callback function when the filter is selected.
|
java.lang.String |
getId()
Retrieves the id for this filter.
|
java.lang.String |
getLabel()
Retrieves the display label for this filter.
|
public Filter(java.lang.String id,
java.lang.String label,
java.lang.String callback)
id - The id of the data filter.label - The label to display for this filter in the filter combo box.callback - optional javascript callback method that would be invoked when the
filter is selected.public java.lang.String getId()
public java.lang.String getLabel()
public java.lang.String getCallback()